diff options
Diffstat (limited to 'macros/latex/contrib/ucalgmthesis/sample-thesis.tex')
-rw-r--r-- | macros/latex/contrib/ucalgmthesis/sample-thesis.tex | 94 |
1 files changed, 61 insertions, 33 deletions
diff --git a/macros/latex/contrib/ucalgmthesis/sample-thesis.tex b/macros/latex/contrib/ucalgmthesis/sample-thesis.tex index 96fc6b4ace..b173f2cd7a 100644 --- a/macros/latex/contrib/ucalgmthesis/sample-thesis.tex +++ b/macros/latex/contrib/ucalgmthesis/sample-thesis.tex @@ -6,60 +6,70 @@ % Graduate Studies, available here: % https://grad.ucalgary.ca/current-students/thesis-based-students/thesis/building-thesis -% To use this sample for your own thesis, rename this file, make any changes -% necessary, then add the content of your thesis t othe included files -% frontmatter.tex, chapter1.tex, etc. +% To use this sample for your own thesis, rename this file, make any +% changes necessary, then add the content of your thesis to the +% included files frontmatter.tex, chapter1.tex, etc. % First, we load the UCalgary Memoir Thesis class ucalgmthesis, % available at https://github.com/rzach/ucalgmthesis -% By default (without options), this produces a 1-1/2 spaced thesis in -% 11 point font without running heads. See the README file for a -% description of all package options. +% This class in turn loads the memoir class for book design. All its +% commands and options are available to you. See +% https://ctan.org/pkg/memoir -% In our sample we give three options: Option utopia sets the thesis in a -% nice font. Option headers produces running heads. Option manuscript -% formats the page in a way suitable for reading and commenting: 12 pt type, -% double spaced, approx. 25 lines per page, with approx. 72 characters -% per line. For filing in the Vault, remove that option to produce a -% more compact thesis with a slightly better layout. +% By default (without options), the class produces a 1-1/2 spaced +% thesis in 11 point font without running heads. See the README file +% for a description of all package options. -\documentclass[utopia,headers,manuscript]{ucalgmthesis} +% In our sample we give three options: Option "utopia" sets the thesis +% in a nice font: Utopia in this case. Other font options are "times", +% "garamond", "palatino", and "libertine". Try them out to see what +% you like best. If you do not provide a font option, the thesis is +% set in LaTeX's standard Computer Modern font. -% Using LaTeX? Then you're probably using math, and so you want to use -% the AMS math commands and define some theorem environments! But you -% can take these out or use your own favorite theorem package. +% Option "headers" produces running heads. -\usepackage{amsmath,amsthm} +% Option "manuscript" formats the page in a way suitable for reading +% and commenting: 12 pt type, double spaced, approx. 25 lines per +% page, with approx. 72 characters per line. For filing in the Vault, +% remove that option to produce a more compact thesis with a slightly +% better layout. -\newtheorem{thm}{Theorem} -\theoremstyle{definition} -\newtheorem{defn}[thm]{Definition} % please number all of them together! +\documentclass[utopia,headers,manuscript]{ucalgmthesis} + +% We'll need some colored links, so we load xcolor and hyperref. But +% you can take that out if you don't want links at all. + +\usepackage[dvipsnames]{xcolor} % microtype makes everything look better \usepackage{microtype} -% We'll need some colored links, so we load xcolor and hyperref. But -% you can take that out if you don't want links at all. +% The hyperref package produces hyperlinks in your document. -\usepackage[dvipsnames]{xcolor} +\usepackage{hyperref} % You can turn off the boxes around links made by hyperref. Then links % will appear in a different color, and per guidelines, all links must % be blue or black. For blue links say -\usepackage[colorlinks,allcolors=MidnightBlue]{hyperref} +\hypersetup{colorlinks,allcolors=MidnightBlue} + +% For black (hidden) links, replace the above with: -% For black links, -% \usepackage[hidelinks]{hyperref} +%\hypersetup{hidelinks} + +% Note that per UCalgary's thesis guidelines, links must be blue or +% black. % If you prefer hyperref's boxes around links (which don't print), you % can also change their color. With boxes around links, you probably % don't want everything in the table of contents to be a link, so we -% only make the page numbers links. -% -% \usepackage[allbordercolors=Periwinkle,linktocpage]{hyperref} +% only make the page numbers links. This is done by using the +% following command instead: + +% \hypersetup{allbordercolors=Periwinkle,linktocpage} % The table of contents in your PDF reader's sidebar is just titles by % default, but it's nice to also have chapter and section numbers for @@ -67,9 +77,19 @@ \usepackage[numbered]{bookmark} +% Using LaTeX? Then you're probably using math, and so you want to use +% the AMS math commands and define some theorem environments! But you +% can take these out or use your own favorite theorem package. + +\usepackage{amsmath,amsthm} + +\newtheorem{thm}{Theorem}[chapter] % let's number things by chapter +\theoremstyle{definition} +\newtheorem{defn}[thm]{Definition} % please number all of them together! + % For author-year references, you probably want to use natbib with a % bibliography style appropriate for your discipline; or check out -% latexbib! +% biblatex! \usepackage[round]{natbib} \bibliographystyle{plainnat} @@ -93,7 +113,10 @@ \degree{Doctor of Philosophy} -% The name of the graduate program (not the department!) +% The full name of the graduate program (not the department!). For +% interdisciplinary degrees, the home graduate program is listed +% first, followed by the word "and," then the other graduate program +% is listed \prog{Graduate Program in Philosophy} @@ -103,7 +126,7 @@ % The year -\thesisyear{2019} +\thesisyear{2023} % Tell hyperref to put author and title into the PDF metadata @@ -128,6 +151,11 @@ % and then copy the resulting PDF to a separate file. +% Memoir by default numbers document divisions from sections up. If +% you want subsections numbered as well, uncomment the following line: + +% \maxsecnumdepth{subsection} + \begin{document} \frontmatter @@ -152,7 +180,7 @@ \include{chapter2} % The back matter includes commands to produce endnotes, index, -% glossary, bibiliography, and the like. +% glossary, bibliography, and the like. \backmatter |