\documentclass[twoside]{book}

%\usepackage{showframe}
%\renewcommand*\ShowFrameColor{\color{red}}

\usepackage[
	letterpaper,
	bindingoffset=15mm,
	textheight=250mm,
	textwidth=175mm,
	top=14mm,
	footskip=5mm,
	marginparwidth=0mm,
	marginparsep=0mm
	]{geometry}

% Prettier fonts
\usepackage[nott]{kpfonts}

% Adjusting things
% \usepackage{microtype}

% Two-columns in introduction
\usepackage{multicol}
\setlength{\columnsep}{8mm}

% Use tab stops when we need to
\usepackage{tabto}

% Use a better tabular system (2022.12.26 - currently on "Habits" pages)
\usepackage{tabularray}
\usepackage{ninecolors}

\author{Kenneth John Odle}

% Put page numbers in bottom center
\pagestyle{plain}

% Add our copyright image
% Rotate text in cells
\usepackage{graphicx}
\graphicspath{ {./images/} }

% https://texfaq.org/FAQ-repeat-num
% https://ctan.org/pkg/forloop
% Output a variable value: https://sodocumentation.net/latex/topic/9224/counters--if-statements-and-loops-with-latex
\usepackage{forloop}

% Draw circles, but redefine the command first
\usepackage{wasysym}
\newcommand\kcir{{\large \Circle ~}}

% Let's make macros for the days of the week
\newcommand{\kmon}{~ \textbf{Monday} \hspace{10mm} \CIRCLE\Circle\Circle\Circle\Circle\Circle\Circle ~}

\newcommand{\ktue}{~ \textbf{Tuesday} \hspace{10mm} \CIRCLE\CIRCLE\Circle\Circle\Circle\Circle\Circle ~}

\newcommand{\kwed}{~ \textbf{Wednesday} \hspace{10mm} \CIRCLE\CIRCLE\CIRCLE\Circle\Circle\Circle\Circle ~}

\newcommand{\kthu}{~ \textbf{Thursday} \hspace{10mm} \CIRCLE\CIRCLE\CIRCLE\CIRCLE\Circle\Circle\Circle ~}

\newcommand{\kfri}{~ \textbf{Friday} \hspace{10mm} \CIRCLE\CIRCLE\CIRCLE\CIRCLE\CIRCLE\Circle\Circle ~}

\newcommand{\ksat}{~ \textbf{Saturday} \hspace{10mm} \CIRCLE\CIRCLE\CIRCLE\CIRCLE\CIRCLE\CIRCLE\Circle ~}

\newcommand{\ksun}{~ \textbf{Sunday} \hspace{10mm} \CIRCLE\CIRCLE\CIRCLE\CIRCLE\CIRCLE\CIRCLE\CIRCLE ~}

% Draw squares on Finances column
\newcommand{\kfin}{\texttt{\hfill {\Large $\Box$}\,AP {\Large $\Box$}\,Pd {\Large $\Box$}\,X}}

% Week at top of each page
\def\kyear{2024}
\newcounter{ct}
\newcommand{\kweek}{
\begin{tblr}{
	width=175mm,
	colspec={ X[1,c] X[1,c] X[7,c] },
	vlines = {0.5pt,solid},
	hlines = {0.5pt,solid},
	rows={5mm, m, rowsep=1.5pt},
	}
	\textbf{Week \thect} & \kyear & Jan\hphantom{wi}Feb\hphantom{wi}Mar\hphantom{wi}Apr\hphantom{wi}May\hphantom{wi}Jun\hphantom{wi}Jul\hphantom{wi}Aug\hphantom{wi}Sep\hphantom{wi}Oct\hphantom{wi}Nov\hphantom{wi}Dec
\end{tblr}
\vspace{3mm}
}

\usepackage{verbatim}

\raggedbottom

\begin{document}

\chapter*{}

\thispagestyle{empty}
% \pagenumbering{gobble}
% Eliminates page number on reverse side; see https://texfaq.org/FAQ-nopageno


\begin{center}
{\Huge Planning Notebook}
\medskip

by Kenneth John Odle
\medskip

v. 4.0.0 \\ 2024 Version
\medskip

\today{}

\vspace*{10cm}

\includegraphics[scale=0.5]{ccancs4}
\bigskip

\begin{minipage}{14cm}
\begin{flushleft}
This work is provided under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
\end{flushleft}
This means:

\begin{itemize}
 \itemsep-0.30em
	\item You are free to share this work. 
	\item You are free to adapt this work.
	\item You are free to share your adaptation(s) of this work.
	\item You are not allowed to sell this work or your adaptation(s) of this work.
	\item You must attribute it to the author by providing the following link:
\end{itemize}

\texttt{https://git.kjodle.net/kjodle/planner-in-latex}

\end{minipage}
\end{center}

\chapter*{Introduction}

\begin{multicols}{2}

This document is part of a never-ending search for the perfect planner. 

My goal was to create a planner where I can plan my days, weeks, and entire year ahead of time as much as possible. In addition to a regular planner where I can make note of everyday life events (i.e., medical appointments), I also wanted a way to incorporate annual goals into my weekly plans. I believe the reason so many new year's resolutions fail is that we simply forget about them. If you want to achieve something, you have to keep that goal in front of you. I also wanted a place to reflect on my progress on those goals, both on a monthly and on an annual basis.

Prior to this year, this was contained in a single document. Several notable changes have led this to being version 2.0.0, most notably: 

\begin{itemize}
	\item The research on goals and habits has been moved to a separate document (``Notes'').
	\item The annual and monthly goals and reflection pages have been moved to a separate document (``Annual Goals''). This makes it easier to refer to them when planning your weeks.
	\item Tables have been reconstructed entirely using the \texttt{tabularray} package for greater consistency.
\end{itemize}

You are welcome to download the pdf of this planner and use it. You can also customize it by forking or downloading the package and making whatever changes you may want. All of these documents have been written in \LaTeX{}; only the most basic working knowledge of that language should be required to make basic changes.

If you choose to fork this work, please note that it is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License and your work, should you choose to release it (and I encourage you to) is required to be released under the same license.

\end{multicols}

%\newpage
%\thispagestyle{plain} % empty
%\mbox{}
% 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 (i.e., even-numbered) page.

%%%%%%%%%%%%%%%%%%%%%
% Begin a new week

% Don't indent our tables from this point forward
\raggedright

\forloop{ct}{1}{\value{ct}<2}{
%%%%%%%%%%%%%%%%%%%%%
% Begin a new week

% First Left Page
\newpage

% Monday	
\kweek
\begin{tblr}{
	width=175mm, 
	colspec={ |[0.75pt] X[34,l] |[0.75pt] X[33,l] |[0.75pt] X[33,l] |[0.75pt] },
	column{1} = {font = \fontsize{5pt}{-4pt}\selectfont}, 
	rowspec= {
		|[0.75pt]Q |[0.25pt]Q |[0.25pt]Q 
		},
	rows={5.3mm, m, rowsep=1.3pt},
	row{1,2} = {font = \fontsize{10pt}{8pt}\selectfont}, 
	hlines,
	}
	
	% Header
	\SetCell[c=3]{c} \kmon & & \\ 
	\textbf{\textit{Schedule}} & \textbf{\textit{Log}} & \textbf{\textit{Agenda}} \\
	 & & \centering \textbf{Health} \\
	 & & \makebox[16mm][r]{{\tiny Sleep Length \& Score}} \\  
	 & & \makebox[16mm][r]{{\tiny Sleep Time}} \\  
	 & & \makebox[16mm][r]{{\tiny Exercise Duration}} \\  
	 & & \makebox[16mm][r]{{\tiny Number of Steps}} \\  
	6:00 & & \\  
	6:30 & & \centering \textbf{Finances:} \\  
	7:00 & & \kfin \\  
	7:30 & & \kfin \\  
	8:00 & & \kfin \\  
	8:30 & & \kfin \\  
	9:00 & & Balance: \\  
	9:30 & & \centering \textbf{Household:} \\  
	10:00 & & \kcir \\ 
	10:30 & & \kcir \\  
	11:00 & & \kcir \\  
	11:30 & & \kcir \\  
	12:00 & & \kcir \\  
	12:30 & & \centering \textbf{Habits:} \\  
	13:00 & & \kcir Read \\  
	13:30 & & \kcir \kcir Exercise \\  
	14:00 & & \kcir \kcir Creativity \\  
	14:30 & & \kcir \\  
	15:00 & & \kcir \\  
	15:30 & & \centering \textbf{To-Do:} \\  
	16:00 & & \kcir \\  
	16:30 & & \kcir \\  
	17:00 & & \kcir \\  
	17:30 & & \kcir \\  
	18:00 & & \kcir \\  
	18:30 & & \kcir \\  
	19:00 & & \kcir \\  
	19:30 & & \kcir \\  
	20:00 & & \kcir \\  
	20:30 & & \kcir \\  
\end{tblr}

% Tuesday
\kweek
\begin{tblr}{
	width=175mm, 
	colspec={ |[0.75pt] X[34,l] |[0.75pt] X[33,l] |[0.75pt] X[33,l] |[0.75pt] },
	column{1} = {font = \fontsize{5pt}{-4pt}\selectfont}, 
	rowspec= {
		|[0.75pt]Q |[0.25pt]Q |[0.25pt]Q 
		},
	rows={5.3mm, m, rowsep=1.3pt},
	row{1,2} = {font = \fontsize{10pt}{8pt}\selectfont}, 
	hlines,
	}
	
	% Header
	\SetCell[c=3]{c} \ktue & & \\ 
	\textbf{\textit{Schedule}} & \textbf{\textit{Log}} & \textbf{\textit{Agenda}} \\
	 & & \centering \textbf{Health} \\
	 & & \makebox[16mm][r]{{\tiny Sleep Length \& Score}} \\  
	 & & \makebox[16mm][r]{{\tiny Sleep Time}} \\  
	 & & \makebox[16mm][r]{{\tiny Exercise Duration}} \\  
	 & & \makebox[16mm][r]{{\tiny Number of Steps}} \\  
	6:00 & & \\  
	6:30 & & \centering \textbf{Finances:} \\  
	7:00 & & \kfin \\  
	7:30 & & \kfin \\  
	8:00 & & \kfin \\  
	8:30 & & \kfin \\  
	9:00 & & Balance: \\  
	9:30 & & \centering \textbf{Household:} \\  
	10:00 & & \kcir Clean bathroom sinks \\ 
	10:30 & & \kcir Clean toilets \\  
	11:00 & & \kcir \\  
	11:30 & & \kcir \\  
	12:00 & & \kcir \\  
	12:30 & & \centering \textbf{Habits:} \\  
	13:00 & & \kcir Read \\  
	13:30 & & \kcir \kcir Exercise \\  
	14:00 & & \kcir \kcir Creativity \\  
	14:30 & & \kcir \\  
	15:00 & & \kcir \\  
	15:30 & & \centering \textbf{To-Do:} \\  
	16:00 & & \kcir \\  
	16:30 & & \kcir \\  
	17:00 & & \kcir \\  
	17:30 & & \kcir \\  
	18:00 & & \kcir \\  
	18:30 & & \kcir \\  
	19:00 & & \kcir \\  
	19:30 & & \kcir \\  
	20:00 & & \kcir \\  
	20:30 & & \kcir \\  
\end{tblr}

% Wednesday 
\kweek
\begin{tblr}{
	width=175mm, 
	colspec={ |[0.75pt] X[34,l] |[0.75pt] X[33,l] |[0.75pt] X[33,l] |[0.75pt] },
	column{1} = {font = \fontsize{5pt}{-4pt}\selectfont}, 
	rowspec= {
		|[0.75pt]Q |[0.25pt]Q |[0.25pt]Q 
		},
	rows={5.3mm, m, rowsep=1.3pt},
	row{1,2} = {font = \fontsize{10pt}{8pt}\selectfont}, 
	hlines,
	}
	
	% Header
	\SetCell[c=3]{c} \kwed & & \\ 
	\textbf{\textit{Schedule}} & \textbf{\textit{Log}} & \textbf{\textit{Agenda}} \\
	 & & \centering \textbf{Health} \\
	 & & \makebox[16mm][r]{{\tiny Sleep Length \& Score}} \\  
	 & & \makebox[16mm][r]{{\tiny Sleep Time}} \\  
	 & & \makebox[16mm][r]{{\tiny Exercise Duration}} \\  
	 & & \makebox[16mm][r]{{\tiny Number of Steps}} \\  
	6:00 & & \\  
	6:30 & & \centering \textbf{Finances:} \\  
	7:00 & & \kfin \\  
	7:30 & & \kfin \\  
	8:00 & & \kfin \\  
	8:30 & & \kfin \\  
	9:00 & & Balance: \\  
	9:30 & & \centering \textbf{Household:} \\  
	10:00 & & \kcir Clean bathtub \\ 
	10:30 & & \kcir Dust \\  
	11:00 & & \kcir Pick up floor \\ 
	11:30 & & \kcir \\  
	12:00 & & \kcir \\  
	12:30 & & \centering \textbf{Habits:} \\  
	13:00 & & \kcir Read \\  
	13:30 & & \kcir \kcir Exercise \\  
	14:00 & & \kcir \kcir Creativity \\  
	14:30 & & \kcir \\  
	15:00 & & \kcir \\  
	15:30 & & \centering \textbf{To-Do:} \\  
	16:00 & & \kcir \\  
	16:30 & & \kcir \\  
	17:00 & & \kcir \\  
	17:30 & & \kcir \\  
	18:00 & & \kcir \\  
	18:30 & & \kcir \\  
	19:00 & & \kcir \\  
	19:30 & & \kcir \\  
	20:00 & & \kcir \\  
	20:30 & & \kcir \\  
\end{tblr}

% Thursday
\kweek
\begin{tblr}{
	width=175mm, 
	colspec={ |[0.75pt] X[34,l] |[0.75pt] X[33,l] |[0.75pt] X[33,l] |[0.75pt] },
	column{1} = {font = \fontsize{5pt}{-4pt}\selectfont}, 
	rowspec= {
		|[0.75pt]Q |[0.25pt]Q |[0.25pt]Q 
		},
	rows={5.3mm, m, rowsep=1.3pt},
	row{1,2} = {font = \fontsize{10pt}{8pt}\selectfont}, 
	hlines,
	}
	
	% Header
	\SetCell[c=3]{c} \kthu & & \\ 
	\textbf{\textit{Schedule}} & \textbf{\textit{Log}} & \textbf{\textit{Agenda}} \\
	 & & \centering \textbf{Health} \\
	 & & \makebox[16mm][r]{{\tiny Sleep Length \& Score}} \\  
	 & & \makebox[16mm][r]{{\tiny Sleep Time}} \\  
	 & & \makebox[16mm][r]{{\tiny Exercise Duration}} \\  
	 & & \makebox[16mm][r]{{\tiny Number of Steps}} \\  
	6:00 & & \\  
	6:30 & & \centering \textbf{Finances:} \\  
	7:00 & & \kfin \\  
	7:30 & & \kfin \\  
	8:00 & & \kfin \\  
	8:30 & & \kfin \\  
	9:00 & & Balance: \\  
	9:30 & & \centering \textbf{Household:} \\  
	10:00 & & \kcir Vacuum \\ 
	10:30 & & \kcir Kitchen floor \\  
	11:00 & & \kcir \\  
	11:30 & & \kcir \\  
	12:00 & & \kcir \\  
	12:30 & & \centering \textbf{Habits:} \\  
	13:00 & & \kcir Read \\  
	13:30 & & \kcir \kcir Exercise \\  
	14:00 & & \kcir \kcir Creativity \\  
	14:30 & & \kcir \\  
	15:00 & & \kcir \\  
	15:30 & & \centering \textbf{To-Do:} \\  
	16:00 & & \kcir \\  
	16:30 & & \kcir \\  
	17:00 & & \kcir \\  
	17:30 & & \kcir \\  
	18:00 & & \kcir \\  
	18:30 & & \kcir \\  
	19:00 & & \kcir \\  
	19:30 & & \kcir \\  
	20:00 & & \kcir \\  
	20:30 & & \kcir \\  
\end{tblr}

% Friday	
\kweek
\begin{tblr}{
	width=175mm, 
	colspec={ |[0.75pt] X[34,l] |[0.75pt] X[33,l] |[0.75pt] X[33,l] |[0.75pt] },
	column{1} = {font = \fontsize{5pt}{-4pt}\selectfont}, 
	rowspec= {
		|[0.75pt]Q |[0.25pt]Q |[0.25pt]Q 
		},
	rows={5.3mm, m, rowsep=1.3pt},
	row{1,2} = {font = \fontsize{10pt}{8pt}\selectfont}, 
	hlines,
	}
	
	% Header
	\SetCell[c=3]{c} \kfri & & \\ 
	\textbf{\textit{Schedule}} & \textbf{\textit{Log}} & \textbf{\textit{Agenda}} \\
	 & & \centering \textbf{Health} \\
	 & & \makebox[16mm][r]{{\tiny Sleep Length \& Score}} \\  
	 & & \makebox[16mm][r]{{\tiny Sleep Time}} \\  
	 & & \makebox[16mm][r]{{\tiny Exercise Duration}} \\  
	 & & \makebox[16mm][r]{{\tiny Number of Steps}} \\  
	6:00 & & \\  
	6:30 & & \centering \textbf{Finances:} \\  
	7:00 & & \kfin \\  
	7:30 & & \kfin \\  
	8:00 & & \kfin \\  
	8:30 & & \kfin \\  
	9:00 & & Balance: \\  
	9:30 & & \centering \textbf{Household:} \\  
	10:00 & & \kcir Clean dining room \\ 
	10:30 & & \kcir Clean office \\  
	11:00 & & \kcir \\  
	11:30 & & \kcir \\  
	12:00 & & \kcir \\  
	12:30 & & \centering \textbf{Habits:} \\  
	13:00 & & \kcir Read \\  
	13:30 & & \kcir \kcir Exercise \\  
	14:00 & & \kcir \kcir Creativity \\  
	14:30 & & \kcir \\  
	15:00 & & \kcir \\  
	15:30 & & \centering \textbf{To-Do:} \\  
	16:00 & & \kcir \\  
	16:30 & & \kcir \\  
	17:00 & & \kcir \\  
	17:30 & & \kcir \\  
	18:00 & & \kcir \\  
	18:30 & & \kcir \\  
	19:00 & & \kcir \\  
	19:30 & & \kcir \\  
	20:00 & & \kcir \\  
	20:30 & & \kcir \\  
\end{tblr}

% Saturday	
\kweek
\begin{tblr}{
	width=175mm, 
	colspec={ |[0.75pt] X[34,l] |[0.75pt] X[33,l] |[0.75pt] X[33,l] |[0.75pt] },
	column{1} = {font = \fontsize{5pt}{-4pt}\selectfont}, 
	rowspec= {
		|[0.75pt]Q |[0.25pt]Q |[0.25pt]Q 
		},
	rows={5.3mm, m, rowsep=1.3pt},
	row{1,2} = {font = \fontsize{10pt}{8pt}\selectfont}, 
	hlines,
	}
	
	% Header
	\SetCell[c=3]{c} \ksat & & \\ 
	\textbf{\textit{Schedule}} & \textbf{\textit{Log}} & \textbf{\textit{Agenda}} \\
	 & & \centering \textbf{Health} \\
	 & & \makebox[16mm][r]{{\tiny Sleep Length \& Score}} \\  
	 & & \makebox[16mm][r]{{\tiny Sleep Time}} \\  
	 & & \makebox[16mm][r]{{\tiny Exercise Duration}} \\  
	 & & \makebox[16mm][r]{{\tiny Number of Steps}} \\  
	6:00 & & \\  
	6:30 & & \centering \textbf{Finances:} \\  
	7:00 & & \kfin \\  
	7:30 & & \kfin \\  
	8:00 & & \kfin \\  
	8:30 & & \kfin \\  
	9:00 & & Balance: \\  
	9:30 & & \centering \textbf{Household:} \\  
	10:00 & & \kcir Meal planning \\ 
	10:30 & & \kcir Grocery planning \\  
	11:00 & & \kcir \\  
	11:30 & & \kcir \\  
	12:00 & & \kcir \\  
	12:30 & & \centering \textbf{Habits:} \\  
	13:00 & & \kcir Read \\  
	13:30 & & \kcir \kcir Exercise \\  
	14:00 & & \kcir \kcir Creativity \\  
	14:30 & & \kcir \\  
	15:00 & & \kcir \\  
	15:30 & & \centering \textbf{To-Do:} \\  
	16:00 & & \kcir Mail \\  
	16:30 & & \kcir \\  
	17:00 & & \kcir \\  
	17:30 & & \kcir \\  
	18:00 & & \kcir \\  
	18:30 & & \kcir \\  
	19:00 & & \kcir \\  
	19:30 & & \kcir \\  
	20:00 & & \kcir \\  
	20:30 & & \kcir \\  
\end{tblr}

% Sunday	
\kweek
\begin{tblr}{
	width=175mm, 
	colspec={ |[0.75pt] X[34,l] |[0.75pt] X[33,l] |[0.75pt] X[33,l] |[0.75pt] },
	column{1} = {font = \fontsize{5pt}{-4pt}\selectfont}, 
	rowspec= {
		|[0.75pt]Q |[0.25pt]Q |[0.25pt]Q 
		},
	rows={5.3mm, m, rowsep=1.3pt},
	row{1,2} = {font = \fontsize{10pt}{8pt}\selectfont}, 
	hlines,
	}
	
	% Header
	\SetCell[c=3]{c} \ksun & & \\ 
	\textbf{\textit{Schedule}} & \textbf{\textit{Log}} & \textbf{\textit{Agenda}} \\
	 & & \centering \textbf{Health} \\
	 & & \makebox[16mm][r]{{\tiny Sleep Length \& Score}} \\  
	 & & \makebox[16mm][r]{{\tiny Sleep Time}} \\  
	 & & \makebox[16mm][r]{{\tiny Exercise Duration}} \\  
	 & & \makebox[16mm][r]{{\tiny Number of Steps}} \\  
	6:00 & & \\  
	6:30 & & \centering \textbf{Finances:} \\  
	7:00 & & \kfin \\  
	7:30 & & \kfin \\  
	8:00 & & \kfin \\  
	8:30 & & \kfin \\  
	9:00 & & Balance: \\  
	9:30 & & \centering \textbf{Household:} \\  
	10:00 & & \kcir Grocery shopping \\ 
	10:30 & & \kcir Meal prep\\  
	11:00 & & \kcir \\  
	11:30 & & \kcir \\  
	12:00 & & \kcir \\  
	12:30 & & \centering \textbf{Habits:} \\  
	13:00 & & \kcir Read \\  
	13:30 & & \kcir \kcir Exercise \\  
	14:00 & & \kcir \kcir Creativity \\  
	14:30 & & \kcir \\  
	15:00 & & \kcir \\  
	15:30 & & \centering \textbf{To-Do:} \\  
	16:00 & & \kcir Finances for next week \\  
	16:30 & & \kcir Goals and activities for next week \\  
	17:00 & & \kcir \\  
	17:30 & & \kcir \\  
	18:00 & & \kcir \\  
	18:30 & & \kcir \\  
	19:00 & & \kcir \\  
	19:30 & & \kcir \\  
	20:00 & & \kcir \\  
	20:30 & & \kcir \\  
\end{tblr}

} % End forloop

\end{document}