summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/ucalgmthesis/ucalgmthesis.cls
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2023-03-20 03:05:55 +0000
committerNorbert Preining <norbert@preining.info>2023-03-20 03:05:55 +0000
commitde9a0afa47c2ee09e1d4704821cad2b231d36b3f (patch)
treeb801b9d4383cb773b7d1321a4b4a5d80fc26682f /macros/latex/contrib/ucalgmthesis/ucalgmthesis.cls
parent41b65de3ca404c665b94ea7716f036ce4f024619 (diff)
CTAN sync 202303200305
Diffstat (limited to 'macros/latex/contrib/ucalgmthesis/ucalgmthesis.cls')
-rw-r--r--macros/latex/contrib/ucalgmthesis/ucalgmthesis.cls31
1 files changed, 16 insertions, 15 deletions
diff --git a/macros/latex/contrib/ucalgmthesis/ucalgmthesis.cls b/macros/latex/contrib/ucalgmthesis/ucalgmthesis.cls
index 3e2c691def..ca28a23fde 100644
--- a/macros/latex/contrib/ucalgmthesis/ucalgmthesis.cls
+++ b/macros/latex/contrib/ucalgmthesis/ucalgmthesis.cls
@@ -11,7 +11,7 @@
% Distributed under the terms of the MIT License
% https://opensource.org/licenses/MIT
-\ProvidesClass{ucalgmthesis}[2019/10/24
+\ProvidesClass{ucalgmthesis}[2023/03/18
University of Calgary Memoir Thesis Class]
\NeedsTeXFormat{LaTeX2e}[1994/06/01]
@@ -41,18 +41,19 @@
\usepackage{newtxtext,newtxmath}}}
\DeclareOption{garamond}
{\AtEndOfClass{\usepackage[T1]{fontenc}
- \usepackage[garamond]{mathdesign}
- \usepackage[osf]{garamondx}
- \fixmdhrulefill}}
+ \usepackage{amsthm} % load amsthm before newtxmath
+ \usepackage{garamondx}
+ \usepackage[garamondx,cmbraces]{newtxmath}}}
\DeclareOption{utopia}
{\AtEndOfClass{\usepackage[T1]{fontenc}
- \usepackage[utopia]{mathdesign}
- \fixmdhrulefill}}
+ \usepackage{amsthm} % load amsthm before newtxmath
+ \usepackage{erewhon}
+ \usepackage[utopia,vvarbb]{newtxmath}}}
\DeclareOption{libertine}
{\AtEndOfClass{\usepackage[T1]{fontenc}
- \usepackage{amsthm} % load amsthm before newtxmath
- \usepackage{libertine}
- \usepackage[libertine]{newtxmath}}}
+ \usepackage{amsthm} % load amsthm before newtxmath
+ \usepackage{libertine}
+ \usepackage[libertine]{newtxmath}}}
% options for headings
@@ -147,13 +148,13 @@
\vfill
{A \@thesis} \par
SUBMITTED TO THE FACULTY OF GRADUATE STUDIES \par
- IN PARTIAL FULFILLMENT OF THE REQUIREMENTS FOR THE \par
+ IN PARTIAL FULFILMENT OF THE REQUIREMENTS FOR THE \par
{DEGREE OF \@degree}
\vfill
\@dept \par
\vfill
{CALGARY, ALBERTA \par}
- {{\@monthname}, {\@gradyear} \par}
+ {\MakeUppercase{\@monthname}, {\@gradyear} \par}
\vfill
{\copyright\ {\@author}~{\@gradyear} \par}
\end{DoubleSpace}\end{center}
@@ -201,8 +202,8 @@
\renewcommand{\cftchapterleader}{\normalfont\cftdotfill{\cftsectiondotsep}}
\renewcommand{\contentsname}{Table of Contents}
-% we need toc, lof, lot to begin on a new page
+% We need toc, lof, lot to begin on a new page
-\def\tocheadstart{\clearpage}
-\def\lofheadstart{\clearpage}
-\def\lotheadstart{\clearpage}
+\addtodef{\tableofcontents}{\clearpage}{}
+\addtodef{\listoffigures}{\clearpage}{}
+\addtodef{\listoftables}{\clearpage}{}