planner-in-latex/lefttable-top-sa.tex

83 lines
3.2 KiB
TeX

\documentclass[border=0,crop]{standalone}
\usepackage{kpfonts}
% Colored lines in table, see
% https://ctan.math.illinois.edu/macros/latex/contrib/colortbl/colortbl.pdf
\usepackage{colortbl}
% Columns spanning multiple rows
\usepackage{multirow}
\begin{document}
% Remove cell padding from tabular environment
\renewcommand{\arraystretch}{0}
% Add padding into the header row
% See https://tex.stackexchange.com/questions/126539/padding-at-the-top-of-a-table-cell-in-latex
\newcommand\Tstrut{\rule{0pt}{2.2ex}} % "top" strut
\newcommand\Bstrut{\rule[-0.9ex]{0pt}{0pt}} % "bottom" strut
\newcommand{\TBstrut}{\Tstrut\Bstrut} % top&bottom struts
\begin{tabular}
% Column and vertical rules definitions
{
@{}
!{\color{black}\vline}
p{8mm}
!{\color{black}\vline}
p{50mm}
!{\color{black}\vline}
p{50mm}
!{\color{black}\vline}
p{50mm}
!{\color{black}\vline}
}
\multicolumn{4}{l}{\hspace{-2mm}Month and Year:} \vspace{4pt}\\
\hline
% Table Header
\textbf{Day} & \textbf{Tasks Today} & \textbf{Tasks This Week} & \textbf{Goal Steps} \TBstrut \\ \hline
% Monday
\multirow{5}{8mm}{\begin{center}\vspace{5.5mm}\textbf{Mon}\end{center}} & & & \\ [5.1mm] \arrayrulecolor[gray]{0.6}\cline{2-4}
& & & \\ [5.1mm] \arrayrulecolor[gray]{0.6}\cline{2-4}
& & & \\ [5.1mm] \cline{2-4}
& & & \\ [5.1mm] \cline{2-4}
& & & \\ [5.1mm] \arrayrulecolor{black}\hline
% Tuesday
\multirow{5}{8mm}{\begin{center}\vspace{5.5mm}\textbf{Tue}\end{center}} & & & \\ [5.1mm] \arrayrulecolor[gray]{0.6}\cline{2-4}
& & & \\ [5.1mm] \arrayrulecolor[gray]{0.6}\cline{2-4}
& & & \\ [5.1mm] \cline{2-4}
& & & \\ [5.1mm] \cline{2-4}
& & & \\ [5.1mm] \arrayrulecolor{black}\hline
% Wednesday
\multirow{5}{8mm}{\begin{center}\vspace{5.5mm}\textbf{Wed}\end{center}} & & & \\ [5.1mm] \arrayrulecolor[gray]{0.6}\cline{2-4}
& & & \\ [5.1mm] \arrayrulecolor[gray]{0.6}\cline{2-4}
& & & \\ [5.1mm] \cline{2-4}
& & & \\ [5.1mm] \cline{2-4}
& & & \\ [5.1mm] \arrayrulecolor{black}\hline
% Thursday
\multirow{5}{8mm}{\begin{center}\vspace{5.5mm}\textbf{Thu}\end{center}} & & & \\ [5.1mm] \arrayrulecolor[gray]{0.6}\cline{2-4}
& & & \\ [5.1mm] \arrayrulecolor[gray]{0.6}\cline{2-4}
& & & \\ [5.1mm] \cline{2-4}
& & & \\ [5.1mm] \cline{2-4}
& & & \\ [5.1mm] \arrayrulecolor{black}\hline
% Friday
\multirow{5}{8mm}{\begin{center}\vspace{5.5mm}\textbf{Fri}\end{center}} & & & \\ [5.1mm] \arrayrulecolor[gray]{0.6}\cline{2-4}
& & & \\ [5.1mm] \arrayrulecolor[gray]{0.6}\cline{2-4}
& & & \\ [5.1mm] \cline{2-4}
& & & \\ [5.1mm] \cline{2-4}
& & & \\ [5.1mm] \arrayrulecolor{black}\hline
% Saturday
\multirow{5}{8mm}{\begin{center}\vspace{5.5mm}\textbf{Sat}\end{center}} & & & \\ [5.1mm] \arrayrulecolor[gray]{0.6}\cline{2-4}
& & & \\ [5.1mm] \arrayrulecolor[gray]{0.6}\cline{2-4}
& & & \\ [5.1mm] \cline{2-4}
& & & \\ [5.1mm] \cline{2-4}
& & & \\ [5.1mm] \arrayrulecolor{black}\hline
% Sunday
\multirow{5}{8mm}{\begin{center}\vspace{5.5mm}\textbf{Sun}\end{center}} & & & \\ [5.1mm] \arrayrulecolor[gray]{0.6}\cline{2-4}
& & & \\ [5.1mm] \arrayrulecolor[gray]{0.6}\cline{2-4}
& & & \\ [5.1mm] \cline{2-4}
& & & \\ [5.1mm] \cline{2-4}
& & & \\ [5.1mm] \arrayrulecolor{black}\hline
\end{tabular}
\end{document}