Ignore:
Timestamp:
Sep 4, 2020, 11:40:42 AM (4 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
8ccb0d4
Parents:
585d910
Message:

More formatting changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • doc/theses/thierry_delisle_PhD/thesis/thesis.tex

    r585d910 rd835116  
    6969%\documentclass[letterpaper,12pt,titlepage,openright,twoside,final]{book}
    7070
    71 % Some LaTeX commands I define for my own nomenclature.
    72 % If you have to, it's better to change nomenclature once here than in a
    73 % million places throughout your thesis!
    74 \newcommand{\package}[1]{\textbf{#1}} % package names in bold text
    75 \newcommand{\cmmd}[1]{\textbackslash\texttt{#1}} % command name in tt font
    7671\newcommand{\href}[1]{#1} % does nothing, but defines the command so the
    7772    % print-optimized version will ignore \href tags (redefined by hyperref pkg).
    78 %\newcommand{\texorpdfstring}[2]{#1} % does nothing, but defines the command
    79 % Anything defined here may be redefined by packages added below...
    8073
    8174% This package allows if-then-else control structures.
     
    9891                % N.B. pagebackref=true provides links back from the References to the body text. This can cause trouble for printing.
    9992\hypersetup{
    100     plainpages=false,       % needed if Roman numbers in frontpages
    101     unicode=false,          % non-Latin characters in Acrobat’s bookmarks
    102     pdftoolbar=true,        % show Acrobat’s toolbar?
    103     pdfmenubar=true,        % show Acrobat’s menu?
    104     pdffitwindow=false,     % window fit to page when opened
    105     pdfstartview={FitH},    % fits the width of the page to the window
    106     pdftitle={uWaterloo\ LaTeX\ Thesis\ Template},    % title: CHANGE THIS TEXT!
    107 %    pdfauthor={Author},    % author: CHANGE THIS TEXT! and uncomment this line
    108 %    pdfsubject={Subject},  % subject: CHANGE THIS TEXT! and uncomment this line
    109 %    pdfkeywords={keyword1} {key2} {key3}, % list of keywords, and uncomment this line if desired
    110     pdfnewwindow=true,      % links in new window
    111     colorlinks=true,        % false: boxed links; true: colored links
    112     linkcolor=blue,         % color of internal links
    113     citecolor=green,        % color of links to bibliography
    114     filecolor=magenta,      % color of file links
    115     urlcolor=cyan           % color of external links
     93        plainpages=false,       % needed if Roman numbers in frontpages
     94        unicode=false,          % non-Latin characters in Acrobat’s bookmarks
     95        pdftoolbar=true,        % show Acrobat’s toolbar?
     96        pdfmenubar=true,        % show Acrobat’s menu?
     97        pdffitwindow=false,     % window fit to page when opened
     98        pdfstartview={FitH},    % fits the width of the page to the window
     99        pdftitle={The Cforall Scheduler},    % title
     100        pdfauthor={Thierry Delisle},    % author
     101        pdfsubject={Cforall},   % subject
     102        pdfkeywords={Cforall} {concurrency} {scheduling}, % list of keywords
     103        pdfnewwindow=true,      % links in new window
     104        colorlinks=true,        % false: boxed links; true: colored links
     105        linkcolor=blue,         % color of internal links
     106        citecolor=green,        % color of links to bibliography
     107        filecolor=magenta,      % color of file links
     108        urlcolor=cyan           % color of external links
    116109}
    117110\ifthenelse{\boolean{PrintVersion}}{   % for improved print quality, change some hyperref options
    118111\hypersetup{    % override some previously defined hyperref options
    119 %    colorlinks,%
    120     citecolor=black,%
    121     filecolor=black,%
    122     linkcolor=black,%
    123     urlcolor=black}
    124 }{} % end of ifthenelse (no else)
     112        citecolor=black,
     113        filecolor=black,
     114        linkcolor=black,
     115        urlcolor=black
     116}}{} % end of ifthenelse (no else)
    125117
    126118\usepackage[automake,toc,abbreviations]{glossaries-extra} % Exception to the rule of hyperref being the last add-on package
     
    171163\let\cleardoublepage\clearemptydoublepage
    172164
    173 
     165\newcounter{cit}
     166\newcounter{todo}
     167
     168% \newcommand{\cit}{\textsuperscript{[Citation Needed]}\xspace}
     169% \newcommand{\TODO}{{\large\bf\color{red} TODO: }\xspace}
     170
     171\newcommand\cit[1]{\refstepcounter{cit}\textsuperscript{[Citation Needed]}\xspace\addcontentsline{cit}{subsection}{\thecit~#1}}%
     172\newcommand\todo[1]{\refstepcounter{todo}{{\large\bf\color{red} TODO: }\xspace\color{red}{#1}}\addcontentsline{todo}{subsection}{\thetodo~#1}}%
     173
     174\makeatletter
     175\newcommand\citname{cit}
     176\newcommand\listcitname{List of missing citations}
     177\newcommand\listofcits{%
     178  \section*{\listcitname}\@starttoc{cit}}
     179\makeatother
     180
     181\makeatletter
     182\newcommand\todoname{todo}
     183\newcommand\listtodoname{List of todos}
     184\newcommand\listoftodos{%
     185  \section*{\listtodoname}\@starttoc{todo}}
     186\makeatother
    174187
    175188% cfa macros used in the document
     
    273286\end{verbatim}
    274287
     288% GLOSSARIES (Lists of definitions, abbreviations, symbols, etc. provided by the glossaries-extra package)
     289% -----------------------------
     290\printglossary
     291\cleardoublepage
     292\phantomsection
     293
    275294\end{document}
Note: See TracChangeset for help on using the changeset viewer.