summaryrefslogtreecommitdiff
path: root/src/_preamble.tex
diff options
context:
space:
mode:
Diffstat (limited to 'src/_preamble.tex')
-rw-r--r--src/_preamble.tex41
1 files changed, 41 insertions, 0 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