Fixed frontmatter extra "List of" formatting

This commit is contained in:
2024-01-24 11:58:46 +00:00
parent 71f6b2c3a9
commit a3cb8579f7
2 changed files with 21 additions and 11 deletions

View File

@@ -54,8 +54,9 @@
\begin{document} \begin{document}
%% TODO: get the official cover graphic and have the system fill in the fields for you %% TODO: get the official cover graphic and have the system fill in the fields for you
\maketitle{} \maketitle{}
\disableindents{}%frontmatter material mostly doesn't need indents
\copyrightpage{} \copyrightpage{}
\clearpage{}
% If this is a PhD, register for an ISSN and ISBN, then: % If this is a PhD, register for an ISSN and ISBN, then:
% \copyrightpage{ISSN xxxx-yyyy\\ISBN 978-xxxxxxxxxx\\\url{http://hdl.handle.net/1946/xxxx}\\} % \copyrightpage{ISSN xxxx-yyyy\\ISBN 978-xxxxxxxxxx\\\url{http://hdl.handle.net/1946/xxxx}\\}
%\signaturepage{} %Generally only for Print copies %\signaturepage{} %Generally only for Print copies
@@ -64,24 +65,24 @@
% I dedicate this to my spouse/child/pet/power animal. % I dedicate this to my spouse/child/pet/power animal.
%\end{dedications} %\end{dedications}
\enableindents{}% turn on/off paragraph indents
% RUM: "Acknowledgements (optional)"%start numbering % RUM: "Acknowledgements (optional)"%start numbering
\tableofcontents{} \tableofcontents{}
\listoffigures{} \listoffigures{}
\listoftables{} \listoftables{}
%% A list of abbreviations is an example of a special list %% A list of abbreviations is an example of a special list
%% Other lists may be added, such as lists of algorithms, symbols, theorems, etc. %% Other lists may be added, such as lists of algorithms, symbols, theorems, etc.
%% IN CS PhD, this is sometimes centered. %% IN CS PhD, this is sometimes centered.
\chapter*{List of Symbols}%%RUM: Not mentioned \frontmatterhead{List of Symbols}%%RUM: Not mentioned
%% This list demonstrates the "siunitx" package capabilities %% This list demonstrates the "siunitx" package capabilities
\begin{tabular}{lll} \begin{tabular}{lll}\toprule
Symbol &Description &Value/Units\\ Symbol &Description &Value/Units\\\midrule
$E$ &Energy &\si{\joule}\\ %New function: \unit{} in Livetex 2021 $E$ &Energy &\si{\joule}\\ %New function: \unit{} in Livetex 2021
$m$ &Mass &\si{\gram}\\ %New function: \unit{} in Livetex 2021 $m$ &Mass &\si{\gram}\\ %New function: \unit{} in Livetex 2021
$c$ &Speed of Light &\SI{2.99E9}{\meter\per\square\second}\\ %New function: \qty{} in Livetex 2021 $c$ &Speed of Light &\SI{2.99E9}{\meter\per\square\second}\\\bottomrule
% New function: \qty{} in Livetex 2021
\end{tabular} \end{tabular}
\enableindents{}% turn on/off paragraph indents
\newpage \newpage
\begin{abstract} \begin{abstract}
The goal of this template is to produce electronic output to be uploaded to Skemman that can be later printed out and bound into a professional looking textbook that fits on standard library shelves. The goal of this template is to produce electronic output to be uploaded to Skemman that can be later printed out and bound into a professional looking textbook that fits on standard library shelves.

View File

@@ -185,6 +185,7 @@
protective laws and regulations and therefore free for general use. protective laws and regulations and therefore free for general use.
\end{vplace} \end{vplace}
\end{coverleft} \end{coverleft}
\clearpage
} }
%% ---------- Page Styles -------------------------------------------------------------- %% ---------- Page Styles --------------------------------------------------------------
@@ -268,8 +269,16 @@
\makeoddfoot{cover}{}{}{} \makeoddfoot{cover}{}{}{}
\makeevenfoot{cover}{}{}{} \makeevenfoot{cover}{}{}{}
\newcommand{\coverchapter}[1]{\clearforchapter\pagestyle{cover}\chapter{#1}\thispagestyle{cover}} \newcommand{\frontmatterhead}[1]{{%based upon \chapterhead from memman.pdf p.84
% \clearpage% move to correct page
\disableindents%
\thispagestyle{chapter} % set the page style
\insertchapterspace% space between previous and the title
\chapterheadstart%\beforchapskip space before heading
\printchaptertitle{#1}% title
\addcontentsline{toc}{chapter}{#1}
\afterchaptertitle% \afterchapskip space after title
}}
%%% Section numbering and the Table of Contents %%% Section numbering and the Table of Contents
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%55 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%55