Changeset d987881


Ignore:
Timestamp:
Jul 31, 2023, 9:59:56 PM (10 months ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
master
Children:
b3ac8ce3
Parents:
28c2933
Message:

update empty thesis directory for Fangren

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

Legend:

Unmodified
Added
Removed
  • doc/theses/fangren_yu_MMath/performance.tex

    r28c2933 rd987881  
    11\chapter{Performance}
    22
    3 If there are any perforamnce experiments.
     3If there are any performance experiments.
  • doc/theses/fangren_yu_MMath/uw-ethesis-frontpgs.tex

    r28c2933 rd987881  
    11% T I T L E   P A G E
    22% -------------------
    3 % Last updated October 23, 2020, by Stephen Carr, IST-Client Services
     3% Last updated August 16, 2022, by IST-Client Services
    44% The title page is counted as page `i' but we need to suppress the
    55% page number. Also, we don't want any headers or footers.
     
    1313        \vspace*{1.0cm}
    1414
    15         {\Huge\bf Type Resolution in \CFA}
     15        \Huge
     16        {\bf Type Resolution in \CFA}
    1617
    1718        \vspace*{1.0cm}
    1819
     20        \normalsize
    1921        by \\
    2022
    2123        \vspace*{1.0cm}
    2224
    23         {\Large Fangren Yu} \\
     25        \Large
     26        Fangren Yu \\
    2427
    2528        \vspace*{3.0cm}
    2629
     30        \normalsize
    2731        A thesis \\
    28         presented to the University of Waterloo \\
     32        presented to the University of Waterloo \\ 
    2933        in fulfillment of the \\
    3034        thesis requirement for the degree of \\
     
    4347\end{titlepage}
    4448
    45 % The rest of the front pages should contain no headers and be numbered using
    46 % Roman numerals starting with `ii'.
     49% The rest of the front pages should contain no headers and be numbered using Roman numerals starting with `ii'
    4750\pagestyle{plain}
    4851\setcounter{page}{2}
    4952
    50 \cleardoublepage % Ends the current page and causes all figures and tables
    51 % that have so far appeared in the input to be printed. In a two-sided
    52 % printing style, it also makes the next page a right-hand (odd-numbered)
    53 % page, producing a blank page if necessary.
     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.
     55\phantomsection    % allows hyperref to link to the correct page
    5456
    5557\begin{comment}
    5658% E X A M I N I N G   C O M M I T T E E (Required for Ph.D. theses only)
    5759% Remove or comment out the lines below to remove this page
     60\addcontentsline{toc}{chapter}{Examining Committee}
    5861\begin{center}\textbf{Examining Committee Membership}\end{center}
    5962  \noindent
    60 The following served on the Examining Committee for this thesis.
    61 The decision of the Examining Committee is by majority vote.
     63The following served on the Examining Committee for this thesis. The decision of the Examining Committee is by majority vote.
    6264  \bigskip
    63 
     65 
    6466  \noindent
    6567\begin{tabbing}
    6668Internal-External Member: \=  \kill % using longest text to define tab length
    67 External Examiner: \>  Bruce Bruce \\
     69External Examiner: \>  Bruce Bruce \\ 
    6870\> Professor, Dept. of Philosophy of Zoology, University of Wallamaloo \\
    69 \end{tabbing}
     71\end{tabbing} 
    7072  \bigskip
    71 
     73 
    7274  \noindent
    7375\begin{tabbing}
     
    7981\end{tabbing}
    8082  \bigskip
    81 
     83 
    8284  \noindent
    8385  \begin{tabbing}
     
    8789\end{tabbing}
    8890  \bigskip
    89 
     91 
    9092  \noindent
    9193\begin{tabbing}
     
    9597\end{tabbing}
    9698  \bigskip
    97 
     99 
    98100  \noindent
    99101\begin{tabbing}
     
    110112  % The following is a sample Declaration Page as provided by the GSO
    111113  % December 13th, 2006.  It is designed for an electronic thesis.
     114 \addcontentsline{toc}{chapter}{Author's Declaration}
    112115 \begin{center}\textbf{Author's Declaration}\end{center}
    113 
     116 
    114117 \noindent
    115 I hereby declare that I am the sole author of this thesis. This is a true copy
    116 of the thesis, including any required final revisions, as accepted by my
    117 examiners.
     118I hereby declare that I am the sole author of this thesis. This is a true copy of the thesis, including any required final revisions, as accepted by my examiners.
    118119
    119120  \bigskip
    120 
     121 
    121122  \noindent
    122123I understand that my thesis may be made electronically available to the public.
    123124
    124125\cleardoublepage
     126\phantomsection    % allows hyperref to link to the correct page
    125127
    126128% A B S T R A C T
    127129% ---------------
    128 
     130\addcontentsline{toc}{chapter}{Abstract}
    129131\begin{center}\textbf{Abstract}\end{center}
    130132
     
    132134
    133135\cleardoublepage
     136\phantomsection    % allows hyperref to link to the correct page
    134137
    135138% A C K N O W L E D G E M E N T S
    136139% -------------------------------
     140\addcontentsline{toc}{chapter}{Acknowledgements}
     141\begin{center}\textbf{Acknowledgements}\end{center}
    137142
    138 \begin{center}
    139 \textbf{Acknowledgements}
    140 
    141 I would like to thank ...
     143I would like to thank all the little people who made this thesis possible.
    142144
    143145Finally, a special thank you to Huawei Canada for funding this work.
    144 \end{center}
     146
    145147\cleardoublepage
     148\phantomsection    % allows hyperref to link to the correct page
    146149
    147150\begin{comment}
    148151% D E D I C A T I O N
    149152% -------------------
    150 
     153\addcontentsline{toc}{chapter}{Dedication}
    151154\begin{center}\textbf{Dedication}\end{center}
    152155
     
    171174% L I S T   O F   T A B L E S
    172175% ---------------------------
    173 % \addcontentsline{toc}{chapter}{List of Tables}
    174 % \listoftables
    175 % \cleardoublepage
    176 % \phantomsection               % allows hyperref to link to the correct page
     176\addcontentsline{toc}{chapter}{List of Tables}
     177\listoftables
     178\cleardoublepage
     179\phantomsection         % allows hyperref to link to the correct page
     180
     181% L I S T   O F   A B B R E V I A T I O N S
     182% ---------------------------
     183\renewcommand*{\abbreviationsname}{List of Abbreviations}
     184\printglossary[type=abbreviations]
     185\cleardoublepage
     186\phantomsection         % allows hyperref to link to the correct page
     187
     188\begin{comment}
     189% L I S T   O F   S Y M B O L S
     190% ---------------------------
     191\printglossary[type=symbols]
     192\cleardoublepage
     193\phantomsection         % allows hyperref to link to the correct page
     194\end{comment}
    177195
    178196% Change page numbering back to Arabic numerals
  • doc/theses/fangren_yu_MMath/uw-ethesis.tex

    r28c2933 rd987881  
    11%======================================================================
    2 % University of Waterloo Thesis Template for LaTeX
    3 % Last Updated November, 2020
    4 % by Stephen Carr, IST Client Services,
     2% University of Waterloo Thesis Template for LaTeX 
     3% Last Updated August 2022
     4% by IST Client Services,
    55% University of Waterloo, 200 University Ave. W., Waterloo, Ontario, Canada
    6 % FOR ASSISTANCE, please send mail to request@uwaterloo.ca
     6% FOR ASSISTANCE, please send mail to helpdesk@uwaterloo.ca
    77
    88% DISCLAIMER
     
    2121
    2222% DON'T FORGET TO ADD YOUR OWN NAME AND TITLE in the "hyperref" package configuration below.
    23 % THIS INFORMATION GETS EMBEDDED IN THE PDF FINAL PDF DOCUMENT.
     23% Search for: PDFTITLE, PDFAUTHOR, PDFSUBJECT, and PDFKEYWORDS.
     24% THIS INFORMATION GETS EMBEDDED IN THE FINAL PDF DOCUMENT.
    2425% You can view the information if you view properties of the PDF document.
    2526
    26 % Many faculties/departments also require one or more printed copies.
    27 % This template attempts to satisfy both types of output.
     27% Many faculties/departments also require one or more printed copies. 
     28% This template attempts to satisfy both types of output. 
    2829% See additional notes below.
    2930% It is based on the standard "book" document class which provides all necessary sectioning structures and allows multi-part theses.
     
    3233
    3334% For people who prefer to install their own LaTeX distributions on their own computers, and process the source files manually, the following notes provide the sequence of tasks:
    34 
     35 
    3536% E.g. to process a thesis called "mythesis.tex" based on this template, run:
    3637
     
    5152% Tip: Photographs should be cropped and compressed so as not to be too large.
    5253
    53 % To create a PDF output that is optimized for double-sided printing:
     54% To create a PDF output that is optimized for double-sided printing: 
    5455% 1) comment-out the \documentclass statement in the preamble below, and un-comment the second \documentclass line.
    5556% 2) change the value assigned below to the boolean variable "PrintVersion" from " false" to "true".
     
    6162\documentclass[letterpaper,12pt,titlepage,oneside,final]{book}
    6263\usepackage[T1]{fontenc}        % Latin-1 => 256-bit characters, => | not dash, <> not Spanish question marks
    63 
     64 
    6465% For PDF, suitable for double-sided printing, change the PrintVersion variable below to "true" and use this \documentclass line instead of the one above:
    6566%\documentclass[letterpaper,12pt,titlepage,openright,twoside,final]{book}
     
    6869% If you have to, it's easier to make changes to nomenclature once here than in a million places throughout your thesis!
    6970\newcommand{\package}[1]{\textbf{#1}} % package names in bold text
    70 \newcommand{\cmmd}[1]{\textbackslash\texttt{#1}} % command name in tt font
     71\newcommand{\cmmd}[1]{\textbackslash\texttt{#1}} % command name in tt font 
    7172\newcommand{\href}[1]{#1} % does nothing, but defines the command so the print-optimized version will ignore \href tags (redefined by hyperref pkg).
    7273%\newcommand{\texorpdfstring}[2]{#1} % does nothing, but defines the command
     
    8182%\usepackage{nomencl} % For a nomenclature (optional; available from ctan.org)
    8283\usepackage{amsmath,amssymb,amstext} % Lots of math symbols and environments
     84\usepackage{fullpage,times,comment}
    8385\usepackage{xcolor}
    8486\usepackage{epic,eepic}
    8587\usepackage{graphicx}
    86 \usepackage{comment} % Removes large sections of the document.
    8788\usepackage{tabularx}
    88 \usepackage{subfigure}
     89\usepackage[labelformat=simple,aboveskip=0pt,farskip=0pt,font=normalsize]{subfig}
     90\renewcommand\thesubfigure{(\alph{subfigure})}
     91% cfa macros used in the document
     92\input{common}
     93%\usepackageinput{common}
     94\CFAStyle                                               % CFA code-style
     95\lstset{language=CFA}                                   % default language
     96\lstset{basicstyle=\linespread{0.9}\sf}                 % CFA typewriter font
     97\newcommand{\newtermFont}{\emph}
     98\newcommand{\Newterm}[1]{\newtermFont{#1}}
     99%\renewcommand{\newterm}[1]{\newtermFont{#1}}
     100\newcommand{\uC}{$\mu$\CC}
     101\newcommand{\PAB}[1]{{\color{red}PAB: #1}}
    89102
    90103% Hyperlinks make it very easy to navigate an electronic document.
    91104% In addition, this is where you should specify the thesis title and author as they appear in the properties of the PDF document.
    92 % Use the "hyperref" package
     105% Use the "hyperref" package 
    93106% N.B. HYPERREF MUST BE THE LAST PACKAGE LOADED; ADD ADDITIONAL PKGS ABOVE
    94107\usepackage{url}
    95108\usepackage[dvips,pagebackref=true]{hyperref} % with basic options
    96109%\usepackage[pdftex,pagebackref=true]{hyperref}
    97 % N.B. pagebackref=true provides links back from the References to the body text. This can cause trouble for printing.
     110                % N.B. pagebackref=true provides links back from the References to the body text. This can cause trouble for printing.
    98111\hypersetup{
    99112    plainpages=false,       % needed if Roman numbers in frontpages
     
    103116    pdffitwindow=false,     % window fit to page when opened
    104117    pdfstartview={FitH},    % fits the width of the page to the window
    105     pdftitle={High-Performance Concurrent Memory Allocation}, % title: CHANGE THIS TEXT!
    106     pdfauthor={Mubeen Zulfiqar},    % author: CHANGE THIS TEXT! and uncomment this line
     118    pdftitle={Type Resolution in \CFA}, % title: CHANGE THIS TEXT!
     119    pdfauthor={Fangren Yu},    % author: CHANGE THIS TEXT! and uncomment this line
    107120    pdfsubject={Cforall},  % subject: CHANGE THIS TEXT! and uncomment this line
    108     pdfkeywords={Cforall} {storage allocation} {C language}, % optional list of keywords
     121    pdfkeywords={Cforall} {type resolution} {C language}, % optional list of keywords
    109122    pdfnewwindow=true,      % links in new window
    110123    colorlinks=true,        % false: boxed links; true: colored links
    111124    linkcolor=blue,         % color of internal links
    112     citecolor=blue,        % color of links to bibliography
     125    citecolor=blue,         % color of links to bibliography
    113126    filecolor=magenta,      % color of file links
    114     urlcolor=blue,           % color of external links
     127    urlcolor=blue,          % color of external links
    115128    breaklinks=true
    116129}
    117130\ifthenelse{\boolean{PrintVersion}}{   % for improved print quality, change some hyperref options
    118131\hypersetup{    % override some previously defined hyperref options
     132%    colorlinks,%
    119133    citecolor=black,%
    120134    filecolor=black,%
    121135    linkcolor=black,%
    122     urlcolor=black
    123 }}{} % end of ifthenelse (no else)
    124 %\usepackage[dvips,plainpages=false,pdfpagelabels,pdfpagemode=UseNone,pagebackref=true,breaklinks=true,colorlinks=true,linkcolor=blue,citecolor=blue,urlcolor=blue]{hyperref}
     136    urlcolor=black}
     137}{} % end of ifthenelse (no else)
     138
    125139\usepackage{breakurl}
    126140\urlstyle{sf}
    127141
    128 %\usepackage[automake,toc,abbreviations]{glossaries-extra} % Exception to the rule of hyperref being the last add-on package
    129 % If glossaries-extra is not in your LaTeX distribution, get it from CTAN (http://ctan.org/pkg/glossaries-extra),
    130 % although it's supposed to be in both the TeX Live and MikTeX distributions. There are also documentation and
     142\usepackage[automake,toc,abbreviations]{glossaries-extra} % Exception to the rule of hyperref being the last add-on package
     143\renewcommand*{\glstextformat}[1]{\textcolor{black}{#1}}
     144% If glossaries-extra is not in your LaTeX distribution, get it from CTAN (http://ctan.org/pkg/glossaries-extra),
     145% although it's supposed to be in both the TeX Live and MikTeX distributions. There are also documentation and
    131146% installation instructions there.
    132147
    133148% Setting up the page margins...
    134 \setlength{\textheight}{9in}
    135 \setlength{\topmargin}{-0.45in}
    136 \setlength{\headsep}{0.25in}
     149%\setlength{\textheight}{9in}
     150%\setlength{\topmargin}{-0.45in}
     151%\setlength{\headsep}{0.25in}
    137152% uWaterloo thesis requirements specify a minimum of 1 inch (72pt) margin at the
    138 % top, bottom, and outside page edges and a 1.125 in. (81pt) gutter margin (on binding side).
     153% top, bottom, and outside page edges and a 1.125 in. (81pt) gutter margin (on binding side). 
    139154% While this is not an issue for electronic viewing, a PDF may be printed, and so we have the same page layout for both printed and electronic versions, we leave the gutter margin in.
    140155% Set margins to minimum permitted by uWaterloo thesis regulations:
     
    144159% edge is less than 15 mm (0.6 in.)
    145160\setlength{\marginparsep}{0pt} % width of space between body text and margin notes
    146 \setlength{\evensidemargin}{0.125in} % Adds 1/8 in. to binding side of all
     161\setlength{\evensidemargin}{0.125in} % Adds 1/8 in. to binding side of all 
    147162% even-numbered pages when the "twoside" printing option is selected
    148163\setlength{\oddsidemargin}{0.125in} % Adds 1/8 in. to the left of all pages when "oneside" printing is selected, and to the left of all odd-numbered pages when "twoside" printing is selected
     
    153168\setlength{\parskip}{\medskipamount}
    154169
    155 % The following statement controls the line spacing.
     170% The following statement controls the line spacing. 
    156171% The default spacing corresponds to good typographic conventions and only slight changes (e.g., perhaps "1.2"), if any, should be made.
    157172\renewcommand{\baselinestretch}{1} % this is the default line space setting
     
    166181\let\cleardoublepage\clearemptydoublepage
    167182
    168 % Define Glossary terms (This is properly done here, in the preamble and
    169 % could also be \input{} from a separate file...)
    170 %\input{glossaries}
    171 %\makeglossaries
    172 
    173 % cfa macros used in the document
    174 \input{common}
    175 %\usepackageinput{common}
    176 \CFAStyle                                               % CFA code-style
    177 \lstset{language=CFA}                                   % default language
    178 \lstset{basicstyle=\linespread{0.9}\sf}                 % CFA typewriter font
    179 \newcommand{\uC}{$\mu$\CC}
    180 \newcommand{\PAB}[1]{{\color{red}PAB: #1}}
     183% Define Glossary terms (This is properly done here, in the preamble and could also be \input{} from a separate file...)
     184\input{glossary}
     185\makeglossaries
    181186
    182187%======================================================================
     
    192197% dedication, table of contents, list of tables, list of figures, nomenclature, etc.
    193198%----------------------------------------------------------------------
    194 \input{uw-ethesis-frontpgs}
     199\input{uw-ethesis-frontpgs} 
    195200
    196201%----------------------------------------------------------------------
     
    201206% Tip: Putting each sentence on a new line is a way to simplify later editing.
    202207%----------------------------------------------------------------------
    203 \begin{sloppypar}
    204208
    205209\input{intro}
     
    210214\input{conclusion}
    211215
    212 \end{sloppypar}
    213 
    214216%----------------------------------------------------------------------
    215217% END MATERIAL
     
    219221% Bibliography
    220222
    221 % The following statement selects the style to use for references.
     223% The following statement selects the style to use for references. 
    222224% It controls the sort order of the entries in the bibliography and also the formatting for the in-text labels.
    223225\bibliographystyle{plain}
    224 % This specifies the location of the file containing the bibliographic information.
     226% This specifies the location of the file containing the bibliographic information. 
    225227% It assumes you're using BibTeX to manage your references (if not, why not?).
    226228\cleardoublepage % This is needed if the "book" document class is used, to place the anchor in the correct page, because the bibliography will start on its own page.
    227229% Use \clearpage instead if the document class uses the "oneside" argument
    228 \phantomsection  % With hyperref package, enables hyperlinking from the table of contents to bibliography
     230\phantomsection  % With hyperref package, enables hyperlinking from the table of contents to bibliography             
    229231% The following statement causes the title "References" to be used for the bibliography section:
    230232\renewcommand*{\bibname}{References}
     
    234236
    235237\bibliography{pl,uw-ethesis}
    236 % Tip: You can create multiple .bib files to organize your references.
     238% Tip: You can create multiple .bib files to organize your references. 
    237239% Just list them all in the \bibliogaphy command, separated by commas (no spaces).
    238240
    239 % The following statement causes the specified references to be added to the bibliography even if they were not cited in the text.
     241% The following statement causes the specified references to be added to the bibliography even if they were not cited in the text. 
    240242% The asterisk is a wildcard that causes all entries in the bibliographic database to be included (optional).
    241243% \nocite{*}
     
    245247
    246248% The \appendix statement indicates the beginning of the appendices.
    247 \appendix
     249% \appendix
    248250% Add an un-numbered title page before the appendices and a line in the Table of Contents
    249251% \chapter*{APPENDICES}
     
    252254% \input{appendix-matlab_plots.tex}
    253255
    254 % GLOSSARIES (Lists of definitions, abbreviations, symbols, etc.
    255 % provided by the glossaries-extra package)
     256% GLOSSARIES (Lists of definitions, abbreviations, symbols, etc. provided by the glossaries-extra package)
    256257% -----------------------------
    257 %\printglossaries
    258 %\cleardoublepage
    259 %\phantomsection                % allows hyperref to link to the correct page
     258\printglossary
     259\cleardoublepage
     260\phantomsection         % allows hyperref to link to the correct page
    260261
    261262%----------------------------------------------------------------------
Note: See TracChangeset for help on using the changeset viewer.