diff options
| -rw-r--r-- | src/_preamble.tex | 41 | ||||
| -rw-r--r-- | src/index.tex | 13 |
2 files changed, 53 insertions, 1 deletions
diff --git a/src/_preamble.tex b/src/_preamble.tex index fb4b0ac..013cdf4 100644 --- a/src/_preamble.tex +++ b/src/_preamble.tex @@ -56,6 +56,47 @@ \newcommand{\hmwkClassInstructor}{Professor Jessica Scott} \newcommand{\hmwkAuthorName}{\textbf{Zoltan Szabatin}} +% https://tex.stackexchange.com/a/561151 +\renewcommand\allcapsspacing[1]{{\addfontfeature{LetterSpace=15}#1}} +\renewcommand\smallcapsspacing[1]{{\addfontfeature{LetterSpace=10}#1}} + +\makeatletter +\newcommand{\plainsubtitle}{}% plain-text-only subtitle +\newcommand{\subtitle}[1]{% + \gdef\@subtitle{#1}% + \renewcommand{\plainsubtitle}{#1}% use provided plain-text title + \ifthenelse{\isundefined{\hypersetup}}% + {}% hyperref is not loaded; do nothing + {\hypersetup{pdftitle={\plaintitle: \plainsubtitle{}}}}% set the PDF metadata title +} +\renewcommand{\maketitlepage}[0]{% + \cleardoublepage% + {% + \sffamily% + \begin{fullwidth}% + \fontsize{18}{20}\selectfont\par\noindent\textcolor{darkgray}{\allcaps{\thanklessauthor}}% + \vspace{11.5pc}% + \fontsize{36}{40}\selectfont\par\noindent\textcolor{darkgray}{\allcaps{\thanklesstitle}}% + \vspace{2.5pc} % 5 + \fontsize{24}{28}\selectfont\par\noindent\textcolor{darkgray}{\allcaps{\plainsubtitle}}% + \vfill% + \fontsize{14}{16}\selectfont\par\noindent\allcaps{\thanklesspublisher}% + \end{fullwidth}% + } + \thispagestyle{empty}% + \clearpage% +} +\makeatother + +\font\myfont = cmr10 at 25pt +\title{\myfont Documentation Log Assignment} +\subtitle{Documentation Development} +\author{Zoltan Szabatin} +\publisher{Professor Jessica Edwards, PhD Winter 2023} + +\fancyhead[LE]{\thepage\quad\smallcaps{\newlinetospace{\leftmark}}} +\fancyhead[RO]{\smallcaps{\newlinetospace{\rightmark}}\quad\thepage} + \newread\mysource \begin{document}
\ No newline at end of file diff --git a/src/index.tex b/src/index.tex index 117f87c..02b007b 100644 --- a/src/index.tex +++ b/src/index.tex @@ -1,6 +1,17 @@ +\maketitle + +\newcounter{firstOfTheMonth} + \foreach\Year in {2023,...,2023}{ - \foreach\Month in {January,February,March,April,May}{ + \foreach\Month in {January,February,March}{ + \setcounter{firstOfTheMonth}{0} + \foreach\Day in {1,...,31}{ + \ifnum \value{firstOfTheMonth}=0 + \chapter{\Month} + \setcounter{firstOfTheMonth}{1} + \else \fi + \IfFileExists{\Year/\Month/\Day}{ \openin\mysource=\Year/\Month/\Day.tex |