Addin annual and monthly pages through loop

This commit is contained in:
Kenneth John Odle 2022-01-05 20:22:53 -05:00
parent 559b7383d5
commit 4f4af5c5ca
4 changed files with 54 additions and 66 deletions

Binary file not shown.

Binary file not shown.

View File

@ -15,7 +15,7 @@
]{geometry}
\usepackage{graphicx}
\usepackage{array}
\usepackage{multirow}
% Use tab stops when we need to (especially in footnotes)
@ -38,8 +38,9 @@
\setlength\columnsep{0.4in}
% https://texfaq.org/FAQ-repeat-num
% https://ctan.org/pkg/multido
\usepackage{multido}
% https://ctan.org/pkg/forloop
% Output a variable value: https://sodocumentation.net/latex/topic/9224/counters--if-statements-and-loops-with-latex
\usepackage{forloop}
\usepackage[export]{adjustbox}
@ -169,9 +170,11 @@ Keep in mind that a monthly goal may take more or less than a month to achieve.
\newpage
\newcounter{yg} % Begin newcounter
\forloop{yg}{1}{\value{yg}<6}{
\begin{center}
{\Large \textbf{Goal \#1}}
{\Large \textbf{Annual Goal \#\theyg}}
\end{center}
\medskip
@ -180,7 +183,7 @@ Keep in mind that a monthly goal may take more or less than a month to achieve.
\newpage
\begin{center}
{\Large \textbf{Goal \#1}}
{\Large \textbf{Montlhy Sub-Goals for Annual Goal \#\theyg}}
\end{center}
\medskip
@ -188,59 +191,7 @@ Keep in mind that a monthly goal may take more or less than a month to achieve.
\newpage
\begin{center}
{\Large \textbf{Goal \#2}}
\end{center}
\medskip
\input{annual.tex}
\newpage
\begin{center}
{\Large \textbf{Goal \#2}}
\end{center}
\medskip
\input{monthly.tex}
\newpage
\begin{center}
{\Large \textbf{Goal \#3}}
\end{center}
\medskip
\input{annual.tex}
\newpage
\begin{center}
{\Large \textbf{Goal \#3}}
\end{center}
\medskip
\input{monthly.tex}
\newpage
\begin{center}
{\Large \textbf{Goal \#4}}
\end{center}
\medskip
\input{annual.tex}
\newpage
\begin{center}
{\Large \textbf{Goal \#4}}
\end{center}
\medskip
\input{monthly.tex}
\newpage
} % End newcounter
\chapter{Weekly Task List}
@ -294,14 +245,40 @@ I find it helpful to keep track of what household chores need to be done. That w
\mbox{}
\chapter{The Year}
The rest of this planner consists of 52 weeks of planning pages.
\begin{multicols}{2}
The rest of this planner consists of 53 weeks of planning pages.
Each week is displayed on two facing pages. On the top of the left hand page is room for you to writer the month and year. You can write the dates underneath the days of the week.
Note that weeks in this planner start on Monday. This is in keeping with how most countries have arranged their calendar, as this is standardized by ISO 8601. It also encourages you to think of your weekend as a single unit, rather than two separate days, in order to get the most out of it. \bigskip
\noindent The columns are fairly self-explanatory. \bigskip
\begin{itemize}
\itemsep-0.30em
\item Use ``Tasks/Appointments'' for things that must get done on that particular day.
\item Use ``Financial'' to record bills that are due as well as pay days (and amounts).
\item Use ``Communications'' to record any outgoing messages, emails, or phone calls you must make, or any significant items that come in.
\item Use ``Health'' to record health statistics, exercise statistics, etc.
\item The ``Tasks This Week'' column is for things that must get done \textit{this week}, but not necessarily on any particular day.
\item The ``Notes'' column is for taking notes, of course.
\end{itemize}
\noindent Special spaces:
\begin{itemize}
\itemsep-0.30em
\item At the bottom of the left-hand page is room for ``Goals for this Year'' and ``Goals for this Month''. These aren't for \textit{all} your annual goals, but rather just for the one or two you want to focus on this week. On the right-hand side is room for a corresponding monthly goal.
\item At the bottom of the right-hand page is room for ``Goals for this Week,'' which corresponds to anything you want to accomplish this week to get you closer to meeting that monthly goal, which in turns gets you closer to that annual goal.
\item At the very bottom of the left-hand page is ``Hoping for:'' where you can write something down that you are hoping to see or do this week.
\item At the very top of the right-hand page is ``Look for:'' where you can record what you are looking for this week, whether it's the first flower of spring or a few extra minutes here and there to relax.
\item At the very bottom of the right-hand page is ``Grateful for:'' where you can make a note of something you were grateful for this week.
\end{itemize}
\end{multicols}
\newpage
% Not part of the table definition; it just makes sure to get us off this introductory page
% Be sure the next page is a left page.
% Be sure the next page is a left (i.e., even-numbered) page.
%%%%%%%%%%%%%%%%%%%%%
% Begin a new week
@ -320,20 +297,31 @@ The rest of this planner consists of 52 weeks of planning pages.
footskip=0.5in
}
\multido{\i=1+1}{53}{%
\newcounter{ct}
\forloop{ct}{1}{\value{ct}<54}{
%%%%%%%%%%%%%%%%%%%%%
% Begin a new week
\newpage
\noindent \tabto{3.5mm} \textbf{Week \i} \\
\noindent \tabto{3.5mm} \textbf{Week \thect} \\
\noindent \includegraphics{build/lefttable-top-sa}
\vspace{-1.28pt}
\noindent \includegraphics{build/lefttable-bottom-sa}
\newpage
\tabto{11mm} \textbf{Week \i}\\
\tabto{11mm} \textbf{Week \thect}\\
\noindent \noindent \includegraphics[outer]{build/righttable-top-sa}
\vspace{-1.28pt}
\noindent \noindent \includegraphics[outer]{build/righttable-bottom-sa}
} % End multido
}
% End forloop