Changeset 5a3d67c


Ignore:
Timestamp:
Mar 4, 2020, 3:31:39 PM (4 years ago)
Author:
Andrew Beach <ajbeach@…>
Branches:
ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
f9723e8
Parents:
48779a6
Message:

Cleaned up AB M template some more and add the Makefile.

Location:
doc/theses/andrew_beach_MMath
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • doc/theses/andrew_beach_MMath/.gitignore

    r48779a6 r5a3d67c  
    44# Final Files:
    55thesis.pdf
     6
     7# The Makefile here is not generated.
     8!Makefile
  • doc/theses/andrew_beach_MMath/thesis-frontpgs.tex

    r48779a6 r5a3d67c  
    1 % T I T L E   P A G E
    2 % -------------------
    31% Last updated June 14, 2017, by Stephen Carr, IST-Client Services
    42% The title page is counted as page `i' but we need to suppress the
    53% page number. Also, we don't want any headers or footers.
     4%----------------------------------------------------------------------
     5% TITLE PAGE
     6%----------------------------------------------------------------------
     7
    68\pagestyle{empty}
    79\pagenumbering{roman}
     
    4749\end{titlepage}
    4850
    49 % The rest of the front pages should contain no headers and be numbered using Roman numerals starting with `ii'
     51% The rest of the front pages should contain no headers
     52% and be numbered using Roman numerals starting with `ii'.
    5053\pagestyle{plain}
    5154\setcounter{page}{2}
    5255
    53 \cleardoublepage % Ends the current page and causes all figures and tables that have so far appeared in the input to be printed.
    54 % In a two-sided printing style, it also makes the next page a right-hand (odd-numbered) page, producing a blank page if necessary.
     56% Ends the current page and causes all figures and tables that have so far
     57% appeared in the input to be printed. In a two-sided printing style, it also
     58% makes the next page a right-hand (odd-numbered) page, producing a blank page
     59% if necessary.
     60\cleardoublepage
    5561
    5662 
    57 % E X A M I N I N G   C O M M I T T E E (Required for Ph.D. theses only)
     63%----------------------------------------------------------------------
     64% EXAMINING COMMITTEE (Required for Ph.D. theses only)
     65%----------------------------------------------------------------------
    5866% Remove or comment out the lines below to remove this page
    5967\begin{center}\textbf{Examining Committee Membership}\end{center}
     
    105113\cleardoublepage
    106114
    107 % D E C L A R A T I O N   P A G E
    108 % -------------------------------
     115%----------------------------------------------------------------------
     116% DECLARATION PAGE
     117%----------------------------------------------------------------------
    109118  % The following is a sample Delaration Page as provided by the GSO
    110119  % December 13th, 2006.  It is designed for an electronic thesis.
     
    119128\cleardoublepage
    120129
    121 % A B S T R A C T
    122 % ---------------
     130%----------------------------------------------------------------------
     131% ABSTRACT
     132%----------------------------------------------------------------------
    123133
    124134\begin{center}\textbf{Abstract}\end{center}
     
    142152\cleardoublepage
    143153
    144 % A C K N O W L E D G E M E N T S
    145 % -------------------------------
     154%----------------------------------------------------------------------
     155% ACKNOWLEDGEMENTS
     156%----------------------------------------------------------------------
    146157
    147158\begin{center}\textbf{Acknowledgements}\end{center}
     
    150161\cleardoublepage
    151162
    152 % D E D I C A T I O N
    153 % -------------------
    154 
     163%----------------------------------------------------------------------
     164% DEDICATION
     165%----------------------------------------------------------------------
    155166\begin{center}\textbf{Dedication}\end{center}
    156167
     
    158169\cleardoublepage
    159170
    160 % T A B L E   O F   C O N T E N T S
    161 % ---------------------------------
     171%----------------------------------------------------------------------
     172% TABLE OF CONTENTS
     173%----------------------------------------------------------------------
    162174\renewcommand\contentsname{Table of Contents}
    163175\tableofcontents
     
    165177\phantomsection    % allows hyperref to link to the correct page
    166178
    167 % L I S T   O F   T A B L E S
    168 % ---------------------------
     179%----------------------------------------------------------------------
     180% LIST OF TABLES
     181%----------------------------------------------------------------------
    169182\addcontentsline{toc}{chapter}{List of Tables}
    170183\listoftables
     
    172185\phantomsection         % allows hyperref to link to the correct page
    173186
    174 % L I S T   O F   F I G U R E S
    175 % -----------------------------
     187%----------------------------------------------------------------------
     188% LIST OF FIGURES
     189%----------------------------------------------------------------------
    176190\addcontentsline{toc}{chapter}{List of Figures}
    177191\listoffigures
     
    179193\phantomsection         % allows hyperref to link to the correct page
    180194
    181 % GLOSSARIES (Lists of definitions, abbreviations, symbols, etc. provided by the glossaries-extra package)
    182 % -----------------------------
     195%----------------------------------------------------------------------
     196% GLOSSARIES (Provided by the glossaries-extra package)
     197%----------------------------------------------------------------------
    183198\printglossaries
    184199\cleardoublepage
  • doc/theses/andrew_beach_MMath/thesis.tex

    r48779a6 r5a3d67c  
    88
    99% DON'T FORGET TO ADD YOUR OWN NAME AND TITLE in the "hyperref" package
    10 % configuration below. THIS INFORMATION GETS EMBEDDED IN THE PDF FINAL PDF DOCUMENT.
     10% configuration. THIS INFORMATION GETS EMBEDDED IN THE FINAL PDF DOCUMENT.
    1111% You can view the information if you view Properties of the PDF document.
    1212
    1313% Many faculties/departments also require one or more printed
    1414% copies. This template attempts to satisfy both types of output.
    15 % It is based on the standard "book" document class which provides all necessary
    16 % sectioning structures and allows multi-part theses.
     15% It is based on the standard "book" document class which provides all
     16% necessary sectioning structures and allows multi-part theses.
    1717
    1818% DISCLAIMER
    19 % To the best of our knowledge, this template satisfies the current uWaterloo requirements.
    20 % However, it is your responsibility to assure that you have met all
    21 % requirements of the University and your particular department.
    22 % Many thanks for the feedback from many graduates that assisted the development of this template.
     19% To the best of our knowledge, this template satisfies the current uWaterloo
     20% requirements. However, it is your responsibility to assure that you have met
     21% all  requirements of the University and your particular department.
     22% Many thanks for the feedback from many graduates that assisted the
     23% development of this template.
    2324
    2425% -----------------------------------------------------------------------
     
    3334% bibtex mythesis       -- generates bibliography from .bib data file(s)
    3435% makeindex         -- should be run only if an index is used
    35 % pdflatex mythesis     -- fixes numbering in cross-references, bibliographic references, glossaries, index, etc.
    36 % pdflatex mythesis     -- fixes numbering in cross-references, bibliographic references, glossaries, index, etc.
    37 
    38 % If you use the recommended LaTeX editor, Texmaker, you would open the mythesis.tex
    39 % file, then click the PDFLaTeX button. Then run BibTeX (under the Tools menu).
    40 % Then click the PDFLaTeX button two more times. If you have an index as well,
    41 % you'll need to run MakeIndex from the Tools menu as well, before running pdflatex
    42 % the last two times.
     36% pdflatex mythesis     -- fixes numbering in cross-references,
     37% pdflatex mythesis --   bibliographic references, glossaries, index, etc.
    4338
    4439% N.B. The "pdftex" program allows graphics in the following formats to be
     
    6560\documentclass[letterpaper,12pt,titlepage,oneside,final]{book}
    6661 
    67 % For PDF, suitable for double-sided printing, change the PrintVersion variable below
    68 % to "true" and use this \documentclass line instead of the one above:
     62% For PDF, suitable for double-sided printing, change the PrintVersion
     63% variable below to "true" and use this \documentclass line instead of the one
     64% above:
    6965%\documentclass[letterpaper,12pt,titlepage,openright,twoside,final]{book}
    7066
     
    7571\newcommand{\cmmd}[1]{\textbackslash\texttt{#1}} % command name in tt font
    7672\newcommand{\href}[1]{#1} % does nothing, but defines the command so the
    77     % print-optimized version will ignore \href tags (redefined by hyperref pkg).
     73  % print-optimized version will ignore \href tags (redefined by hyperref pkg).
    7874%\newcommand{\texorpdfstring}[2]{#1} % does nothing, but defines the command
    7975% Anything defined here may be redefined by packages added below...
     
    8379\newboolean{PrintVersion}
    8480\setboolean{PrintVersion}{false}
    85 % CHANGE THIS VALUE TO "true" as necessary, to improve printed results for hard copies
    86 % by overriding some options of the hyperref package below.
    87 
    88 %\usepackage{nomencl} % For a nomenclature (optional; available from ctan.org)
    89 \usepackage{amsmath,amssymb,amstext} % Lots of math symbols and environments
    90 \usepackage[pdftex]{graphicx} % For including graphics N.B. pdftex graphics driver
     81% CHANGE THIS VALUE TO "true" as necessary, to improve printed results for
     82% hard copies by overriding some options of the hyperref package below.
     83
     84% For a nomenclature (optional; available from ctan.org)
     85%\usepackage{nomencl}
     86% Lots of math symbols and environments
     87\usepackage{amsmath,amssymb,amstext}
     88% For including graphics N.B. pdftex graphics driver
     89\usepackage[pdftex]{graphicx}
     90
     91% I believe the general index function is covered by the glossaries.
     92% \usepackage{makeidx}
     93% \makeindex
    9194
    9295% Hyperlinks make it very easy to navigate an electronic document.
     
    9598% Use the "hyperref" package
    9699% N.B. HYPERREF MUST BE THE LAST PACKAGE LOADED; ADD ADDITIONAL PKGS ABOVE
     100% N.B. pagebackref=true provides links back from the References to the body
     101% text. This can cause trouble for printing.
    97102\usepackage[pdftex,pagebackref=false]{hyperref} % with basic options
    98                 % N.B. pagebackref=true provides links back from the References to the body text. This can cause trouble for printing.
    99103\hypersetup{
    100104    plainpages=false,       % needed if Roman numbers in frontpages
     
    115119    urlcolor=cyan           % color of external links
    116120}
    117 \ifthenelse{\boolean{PrintVersion}}{   % for improved print quality, change some hyperref options
    118 \hypersetup{    % override some previously defined hyperref options
     121\ifthenelse{\boolean{PrintVersion}}{
     122  % for improved print quality, override some hyperref options
     123\hypersetup{
    119124%    colorlinks,%
    120125    citecolor=black,%
     
    124129}{} % end of ifthenelse (no else)
    125130
    126 \usepackage[automake,toc,abbreviations]{glossaries-extra} % Exception to the rule of hyperref being the last add-on package
    127 % If glossaries-extra is not in your LaTeX distribution, get it from CTAN (http://ctan.org/pkg/glossaries-extra),
    128 % although it's supposed to be in both the TeX Live and MikTeX distributions. There are also documentation and
    129 % installation instructions there.
     131\usepackage[toc,abbreviations]{glossaries-extra} % Exception to the
     132% rule of hyperref being the last add-on package. If glossaries-extra is not
     133% in your LaTeX distribution, get it from CTAN
     134% (http://ctan.org/pkg/glossaries-extra).
    130135
    131136% Setting up the page margins...
    132 % uWaterloo thesis requirements specify a minimum of 1 inch (72pt) margin at the
    133 % top, bottom, and outside page edges and a 1.125 in. (81pt) gutter
     137% uWaterloo thesis requirements specify a minimum of 1 inch (72pt) margin at
     138% the top, bottom, and outside page edges and a 1.125 in. (81pt) gutter
    134139% margin (on binding side). While this is not an issue for electronic
    135140% viewing, a PDF may be printed, and so we have the same page layout for
     
    140145% and \marginparsep so that the space left between the margin notes and page
    141146% edge is less than 15 mm (0.6 in.)
    142 \setlength{\marginparsep}{0pt} % width of space between body text and margin notes
     147% Width of space between body text and margin notes.
     148\setlength{\marginparsep}{0pt}
    143149\setlength{\evensidemargin}{0.125in} % Adds 1/8 in. to binding side of all
    144150% even-numbered pages when the "twoside" printing option is selected
     
    146152% when "oneside" printing is selected, and to the left of all odd-numbered
    147153% pages when "twoside" printing is selected
    148 \setlength{\textwidth}{6.375in} % assuming US letter paper (8.5 in. x 11 in.) and
    149 % side margins as above
     154% Assuming US letter paper (8.5 in. x 11 in.) and side margins as above.
     155\setlength{\textwidth}{6.375in}
    150156\raggedbottom
    151157
    152 % The following statement specifies the amount of space between
    153 % paragraphs. Other reasonable specifications are \bigskipamount and \smallskipamount.
     158% The following statement specifies the amount of space between paragraphs.
     159% Other reasonable specifications are \bigskipamount and \smallskipamount.
    154160\setlength{\parskip}{\medskipamount}
    155161
     
    171177\let\cleardoublepage\clearemptydoublepage
    172178
    173 % Define Glossary terms (This is properly done here, in the preamble. Could be \input{} from a file...)
     179% Define Glossary terms (This is properly done here, in the preamble.
     180% Could be \input{} from a file...)
    174181% Main glossary entries -- definitions of relevant terminology
    175182\newglossaryentry{computer}
     
    190197}
    191198
    192 % List of Abbreviations (abbreviations type is built in to the glossaries-extra package)
     199% List of Abbreviations (abbreviations are from the glossaries-extra package)
    193200\newabbreviation{aaaaz}{AAAAZ}{American Association of Amature Astronomers and Zoologists}
    194201
     
    215222% declaration, borrowers' page, abstract, acknowledgements,
    216223% dedication, table of contents, list of tables, list of figures,
    217 % nomenclature) are contained within the file "uw-ethesis-frontpgs.tex" which is
    218 % included into the document by the following statement.
     224% nomenclature) are contained within the file "uw-ethesis-frontpgs.tex" which
     225% is included into the document by the following statement.
    219226%----------------------------------------------------------------------
    220227% FRONT MATERIAL
     
    228235% needed for this template, the chapters are not separate
    229236% documents as suggested above, but you get the idea. If they were
    230 % separate documents, they would each start with the \chapter command, i.e,
    231 % do not contain \documentclass or \begin{document} and \end{document} commands.
     237% separate documents, they would each start with the \chapter command, i.e, do
     238% not contain \documentclass or \begin{document} and \end{document} commands.
    232239%======================================================================
    233240\chapter{Introduction}
     
    238245   e^{\pi i} + 1 = 0  \label{eqn_pi}
    239246\end{equation}
    240 A \gls{computer} could compute $\pi$ all day long. In fact, subsets of digits of $\pi$'s decimal approximation would make a good source for psuedo-random vectors, \gls{rvec} .
     247A \gls{computer} could compute $\pi$ all day long. In fact, subsets of digits
     248of $\pi$'s decimal approximation would make a good source for psuedo-random
     249vectors, \gls{rvec} .
    241250
    242251%----------------------------------------------------------------------
     
    284293create a PS file, then convert that to EPS (encapsulated PS, which has a
    285294bounding box to describe its exact size rather than a whole page).
    286 Programs such as GSView (a Ghostscript GUI) can create both EPS and PDF from PS files.
    287 Appendix~\ref{AppendixA} shows how to generate properly sized Matlab plots and save them as PDF.
     295Programs such as GSView (a Ghostscript GUI) can create both EPS and PDF from
     296PS files. Appendix~\ref{AppendixA} shows how to generate properly sized Matlab
     297plots and save them as PDF.
    288298\item It's important to crop your photos and draw your figures to the size that
    289299you want to appear in your thesis. Scaling photos with the
     
    292302\end{itemize}
    293303 
    294 For more information on \LaTeX\, see the uWaterloo Skills for the Academic Workplace  \href{https://uwaterloo.ca/information-systems-technology/services/electronic-thesis-preparation-and-submission-support/ethesis-guide/creating-pdf-version-your-thesis/creating-pdf-files-using-latex/latex-ethesis-and-large-documents}{course notes}.
     304For more information on \LaTeX\, see the uWaterloo Skills for the
     305Academic Workplace \href{https://uwaterloo.ca/information-systems-technology/services/electronic-thesis-preparation-and-submission-support/ethesis-guide/creating-pdf-version-your-thesis/creating-pdf-files-using-latex/latex-ethesis-and-large-documents}{course notes}.
    295306\footnote{
    296307Note that while it is possible to include hyperlinks to external documents,
     
    301312as for the print-optimized option in this thesis template, any \cmmd{href}
    302313commands in your logical document are no longer defined.
    303 A work-around employed by this thesis template is to define a dummy \cmmd{href}
    304 command (which does nothing) in the preamble of the document,
     314A work-around employed by this thesis template is to define a dummy
     315\cmmd{href} command (which does nothing) in the preamble of the document,
    305316before the \package{hyperref} package is included.
    306317The dummy definition is then redifined by the
     
    308319}
    309320
    310 The classic book by Leslie Lamport \cite{lamport.book}, author of \LaTeX , is worth a look too, and the many available add-on packages are described by
     321The classic book by Leslie Lamport \cite{lamport.book}, author of \LaTeX , is
     322worth a look too, and the many available add-on packages are described by
    311323Goossens \textit{et al} \cite{goossens.book}.
    312324
     
    318330% -----------------------
    319331
    320 % The following statement selects the style to use for references.  It controls the sort order of the entries in the bibliography and also the formatting for the in-text labels.
     332% The following statement selects the style to use for references. It controls
     333% the sort order of the entries in the bibliography and also the formatting
     334% for the in-text labels.
    321335\bibliographystyle{plain}
    322 % This specifies the location of the file containing the bibliographic information. 
    323 % It assumes you're using BibTeX (if not, why not?).
    324 \cleardoublepage % This is needed if the book class is used, to place the anchor in the correct page,
    325                  % because the bibliography will start on its own page.
    326                  % Use \clearpage instead if the document class uses the "oneside" argument
    327 \phantomsection  % With hyperref package, enables hyperlinking from the table of contents to bibliography             
    328 % The following statement causes the title "References" to be used for the bibliography section:
     336% This specifies the location of the file containing the bibliographic
     337% information. It assumes you're using BibTeX (if not, why not?).
     338
     339% This is needed if the book class is used, to place the anchor in the correct
     340% page, because the bibliography will start on its own page.
     341% Use \clearpage instead if the document class uses the "oneside" argument.
     342\cleardoublepage
     343% With hyperref package, enables hyperlinking from the table of contents to
     344% bibliography
     345\phantomsection
     346
     347% The following statement causes the title "References" to be used for the
     348% bibliography section:
    329349\renewcommand*{\bibname}{References}
    330350
     
    332352\addcontentsline{toc}{chapter}{\textbf{References}}
    333353
     354% Tip 5: You can create multiple .bib files to organize your references. Just
     355% list them all in the \bibliogaphy command, separated by commas (no spaces).
    334356\bibliography{thesis}
    335 % Tip 5: You can create multiple .bib files to organize your references.
    336 % Just list them all in the \bibliogaphy command, separated by commas (no spaces).
    337 
    338 % The following statement causes the specified references to be added to the bibliography% even if they were not
    339 % cited in the text. The asterisk is a wildcard that causes all entries in the bibliographic database to be included (optional).
     357
     358% The following statement causes the specified references to be added to the
     359% bibliography even if they were not cited in the text. The asterisk is a
     360% wildcard that causes all entries in the bibliographic database to be
     361% included (optional).
    340362\nocite{*}
    341363
     
    348370\chapter[PDF Plots From Matlab]{Matlab Code for Making a PDF Plot}
    349371\label{AppendixA}
    350 % Tip 4: Example of how to get a shorter chapter title for the Table of Contents
     372% Tip 4: Example of how to get a short chapter title for the Table of Contents
    351373%======================================================================
    352374\section{Using the GUI}
    353 Properties of Matab plots can be adjusted from the plot window via a graphical interface. Under the Desktop menu in the Figure window, select the Property Editor. You may also want to check the Plot Browser and Figure Palette for more tools. To adjust properties of the axes, look under the Edit menu and select Axes Properties.
    354 
    355 To set the figure size and to save as PDF or other file formats, click the Export Setup button in the figure Property Editor.
     375Properties of Matab plots can be adjusted from the plot window via a graphical
     376interface. Under the Desktop menu in the Figure window, select the Property
     377Editor. You may also want to check the Plot Browser and Figure Palette for
     378more tools. To adjust properties of the axes, look under the Edit menu and
     379select Axes Properties.
     380
     381To set the figure size and to save as PDF or other file formats, click the
     382Export Setup button in the figure Property Editor.
    356383
    357384\section{From the Command Line}
    358 All figure properties can also be manipulated from the command line. Here's an example:
     385All figure properties can also be manipulated from the command line. Here's an
     386example:
    359387\begin{verbatim}
    360388x=[0:0.1:pi];
Note: See TracChangeset for help on using the changeset viewer.