source: doc/theses/mike_brooks_MMath/style/uw-bot.tex @ b8e047a

Last change on this file since b8e047a was 8e819a9, checked in by Michael Brooks <mlbrooks@…>, 3 years ago

Mike MMath initial

  • Property mode set to 100644
File size: 4.1 KB
RevLine 
[8e819a9]1% \usepackage[pdftex,pagebackref=false]{hyperref} % with basic options
2
3\usepackage[pagebackref=false]{hyperref} % with basic options
4                % N.B. pagebackref=true provides links back from the References to the body text. This can cause trouble for printing.
5\hypersetup{
6    plainpages=false,       % needed if Roman numbers in frontpages
7    unicode=false,          % non-Latin characters in Acrobat’s bookmarks
8    pdftoolbar=true,        % show Acrobat’s toolbar?
9    pdfmenubar=true,        % show Acrobat’s menu?
10    pdffitwindow=false,     % window fit to page when opened
11    pdfstartview={FitH},    % fits the width of the page to the window
12    pdftitle={uWaterloo\ LaTeX\ Thesis\ Template},    % title: CHANGE THIS TEXT!
13%    pdfauthor={Author},    % author: CHANGE THIS TEXT! and uncomment this line
14%    pdfsubject={Subject},  % subject: CHANGE THIS TEXT! and uncomment this line
15%    pdfkeywords={keyword1} {key2} {key3}, % list of keywords, and uncomment this line if desired
16    pdfnewwindow=true,      % links in new window
17    colorlinks=true,        % false: boxed links; true: colored links
18    linkcolor=blue,         % color of internal links
19    citecolor=green,        % color of links to bibliography
20    filecolor=magenta,      % color of file links
21    urlcolor=cyan           % color of external links
22}
23\ifthenelse{\boolean{PrintVersion}}{   % for improved print quality, change some hyperref options
24\hypersetup{    % override some previously defined hyperref options
25%    colorlinks,%
26    citecolor=black,%
27    filecolor=black,%
28    linkcolor=black,%
29    urlcolor=black}
30}{} % end of ifthenelse (no else)
31
32% from uw template
33% Exception to the rule of hyperref being the last add-on package
34\usepackage[automake,toc,abbreviations]{glossaries-extra} 
35
36% Setting up the page margins...
37% uWaterloo thesis requirements specify a minimum of 1 inch (72pt) margin at the
38% top, bottom, and outside page edges and a 1.125 in. (81pt) gutter
39% margin (on binding side). While this is not an issue for electronic
40% viewing, a PDF may be printed, and so we have the same page layout for
41% both printed and electronic versions, we leave the gutter margin in.
42% Set margins to minimum permitted by uWaterloo thesis regulations:
43\setlength{\marginparwidth}{0pt} % width of margin notes
44% N.B. If margin notes are used, you must adjust \textwidth, \marginparwidth
45% and \marginparsep so that the space left between the margin notes and page
46% edge is less than 15 mm (0.6 in.)
47\setlength{\marginparsep}{0pt} % width of space between body text and margin notes
48\setlength{\evensidemargin}{0.125in} % Adds 1/8 in. to binding side of all
49% even-numbered pages when the "twoside" printing option is selected
50\setlength{\oddsidemargin}{0.125in} % Adds 1/8 in. to the left of all pages
51% when "oneside" printing is selected, and to the left of all odd-numbered
52% pages when "twoside" printing is selected
53\setlength{\textwidth}{6.375in} % assuming US letter paper (8.5 in. x 11 in.) and
54% side margins as above
55\raggedbottom
56
57% The following statement specifies the amount of space between
58% paragraphs. Other reasonable specifications are \bigskipamount and \smallskipamount.
59\setlength{\parskip}{\medskipamount}
60
61% Peter's fix.  UW being broken.
62\setlength{\textheight}{9in}
63\setlength{\topmargin}{-0.45in}
64\setlength{\headsep}{0.25in}
65
66% The following statement controls the line spacing.  The default
67% spacing corresponds to good typographic conventions and only slight
68% changes (e.g., perhaps "1.2"), if any, should be made.
69\renewcommand{\baselinestretch}{1} % this is the default line space setting
70
71% By default, each chapter will start on a recto (right-hand side)
72% page.  We also force each section of the front pages to start on
73% a recto page by inserting \cleardoublepage commands.
74% In many cases, this will require that the verso page be
75% blank and, while it should be counted, a page number should not be
76% printed.  The following statements ensure a page number is not
77% printed on an otherwise blank verso page.
78\let\origdoublepage\cleardoublepage
79\newcommand{\clearemptydoublepage}{%
80  \clearpage{\pagestyle{empty}\origdoublepage}}
81\let\cleardoublepage\clearemptydoublepage
Note: See TracBrowser for help on using the repository browser.