Debian Codegraph @

texmf-dist/doc/latex/ualberta/ualberta.tex

raw
1 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2 %% uAlberta Thesis Template %%
3 %% by %%
4 %% Daniel Aldrich %%
5 %% Version: 2.0.0 %%
6 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
7 % %
8 % Copyright (c) 2024 Daniel Aldrich %
9 % %
10 % Permission is hereby granted, free of charge, to any person %
11 % obtaining a copy of this software and associated documentation %
12 % files (the "Software"), to deal in the Software without %
13 % restriction, including without limitation the rights to use, %
14 % copy, modify, merge, publish, distribute, sublicense, and/or %
15 % sell copies of the Software, and to permit persons to whom the %
16 % Software is furnished to do so, subject to the following %
17 % conditions: %
18 % %
19 % The above copyright notice and this permission notice shall be %
20 % included in all copies or substantial portions of the Software. %
21 % %
22 % THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, %
23 % EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES %
24 % OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND %
25 % NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT %
26 % HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, %
27 % WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING %
28 % FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR %
29 % OTHER DEALINGS IN THE SOFTWARE. %
30 % %
31 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
32
33 % Write command to allow the nomenclature to be generated properly.
34 \immediate\write18{makeindex \jobname.nlo -s nomencl.ist -o \jobname.nls}
35
36 \documentclass[
37 pdfa,
38 oneside,
39 chapterbib,
40 saychapapp,
41 fancyheaders]{ualberta}
42 % OPTIONS FOR ualberta.cls:
43 % chapterbib - Automatically prints references at the end of each chapter.
44 %
45 % pdfa - To convert the PDF to PDF/A format (REQUIRED for GPS Submission)
46 %
47 % oneside - Standard for submitting to GPS.
48 %
49 % twoside - If you want to print your thesis double sided like a novel.
50 % Note: GPS requires the submission to be one sided. Please use
51 % the option `oneside' for submission to GPS.
52 %
53 % saychapapp - If you want your thesis to say Chapter # and Appendix @ in
54 % the ToC instead of just having the # or @.
55 % (GPS is inconsistent on if this is truly a Requirement.)
56 %
57 % fancyheader - If you want your thesis to have chapter headers rather than
58 % just a page number at the bottom.
59
60 % Option to change the Level of subheading included in the Table of Contents
61 % This should be set at 2, 3, or 4 (As per GPS)
62 \settoclevel{3}
63
64 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
65 % FILE LOCATIONS %
66 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
67 % The following Commands Can be set to change the lookup locations for files.
68 % LaTeX FILES LOCATION
69 % . - This folder
70 % .. - Up one Folder
71 \addlatexfiles{./00_LaTeX_Files/}
72 \insertlatexfile{includePackages} % LOAD ALL PACKAGES TO BE INCLUDED
73
74 % PREFATORY LOCATION
75 % . - This folder
76 % .. - Up one Folder
77 \addprefatory{./01_Prefatory/}
78
79 % CHAPTER LOCATION
80 % . - This folder
81 % .. - Up one Folder
82 \addchapters{./02_Chapters/}
83
84 % BIBLIOGRAPHY LOCATION
85 % NOTE: if you add bibliography entries after a compilation, you might notice
86 % references marked `[0]' to fix this just delete the auxiliary files.
87 % (*.aux, *.bbl, ... etc)
88 %
89 % . - This folder
90 % .. - Up one Folder
91 \addbibresource{./03_References/References.bib}
92
93 % APPENDICES LOCATION
94 % . - This folder
95 % .. - Up one Folder
96 \addappendices{./04_Appendices/}
97
98 % MEDIA LOCATIONS
99 % . - This folder
100 % .. - Up one Folder
101 \addmedia{./99_Inclusions/}
102 \addimages{Images/}
103 \addtables{Tables/}
104 \addcode{Code/}
105 \adddata{Data/}
106 \addpdf{PDFs/}
107
108 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
109 % ADD ADDITIONAL RESOURCES %
110 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
111 \insertlatexfile{includeTheorems}
112 \insertlatexfile{includeMacros}
113 \insertlatexfile{listingCodeFormatting}
114
115 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
116 % TITLE PAGE AND FRONTMATTER INFORMATION %
117 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
118 % TITLE PAGE INFO
119 \title{Thesis Title} % Title of your Thesis
120 \author{First Middle Last} % Your Full Name
121 \degree{\insertlatexfile{selectDegree}} % Uncomment Degree in file
122 \specialization{} % Leave blank if none
123 \deptfac{\insertlatexfile{selectDepartment}} % Uncomment Department in file
124 \convocationdate{\the\year} % Convocation Year
125
126 % ABSTRACT
127 \insertprefatory{Abstract}
128
129 % PREFACE
130 \insertprefatory{Preface}
131
132 % DEDICATION OR QUOTE
133 \insertprefatory{Quotes_Dedications}
134
135 % ACKNOWLEDGEMENTS
136 \insertprefatory{Acknowledgements}
137
138
139 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
140 % NOMENCLATURE, GLOSSARY, ACRONYMS, ETC %
141 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
142
143 % NOMENCLATURE
144 \insertprefatory{Nomenclature}
145
146 % ACRONYMS
147 \insertprefatory{Acronyms}
148
149 % GLOSSARY
150 \insertprefatory{Glossary}
151
152
153 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
154 % BEGIN DOCUMENT %
155 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
156 \begin{document}
157
158 \maketitle % Creates the Title Page
159 \makeabstract % Creates the Abstract Page
160 \makepreface % Creates the Preface Page
161 % Quote and Dedication (Only Uncomment one)
162 %\makequote % Creates the Quote Page
163 %\makededication % Creates the Dedication Page
164 \makededicationandquote % Creates the Quote/Dedication Page
165 \acknowledgements % Creates the Acknowledgements Page
166
167 % SET ToC...etc SPACING
168 %\singlespacing % 1.00x Spacing
169 \onehalfspacing % 1.50x Spacing
170 %\doublespacing % 1.75x Spacing
171 %\truedoublespacing % 2.00x Spacing
172 %\triplespacing % 3.00x Spacing
173 %\baselineskip #.##em % #.##x Spacing
174
175 % ALL LISTS/TABLES OF ________
176 % Everything below should Automatically be included if it has content and
177 % excluded if it does not. There is no need to comment any line here. If you
178 % would like a different order however feel free to move items to new lines.
179 \tableofcontents % Creates the Table of Contents
180 \listoftables % Creates the List of Tables
181 \listoffigures % Creates the List of Figures
182 \listofplates % Creates the List of Plates (photographs)
183 \listofsymbols % Creates the List of Symbols (Nomenclature)
184 \abbreviations % Creates the List of Acronyms (Abbreviations)
185 \glsaddall % Required for List of Acronyms and Glossary
186 \generateglossary % Creates the Glossary of Terms
187
188
189 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
190 % ADD YOUR CONTENT HERE %
191 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
192 \bodyoftext % Switches the style of the document to that of the body
193
194 % SET DOCUMENT SPACING
195 %\onehalfspacing % 1.50x Spacing **Minimum Spacing for the THESIS BODY
196 %\doublespacing % 1.75x Spacing
197 \truedoublespacing % 2.00x Spacing **Required for the ABSTRACT
198 %\triplespacing % 3.00x Spacing
199 %\baselineskip #.##em % #.##x Spacing
200
201 % To insert chapters from a separate tex file use the following commands
202 % \insertchapter automatically looks in the Chapters folder and also
203 % appends the file extension (i.e. do NOT include the '.tex')
204 %
205 % \input is the standard way of including a separate tex file
206 % \input{./02_Chapters/ExampleChapter}
207
208 \insertchapter{01_Introduction}
209 \insertchapter{02_Getting_Started}
210 \insertchapter{03_Document_Structure}
211 \insertchapter{04_Figures_Tables}
212 \insertchapter{05_Plots_And_Graphs}
213 \insertchapter{06_Mathematical_Equations}
214 \insertchapter{07_Citations_And_References}
215 \insertchapter{XX_Submitting_Your_Thesis}
216
217 % How to use the Recommended Softwares
218 %\insertchapter{09_TeXstudio}
219
220 \insertchapter{08_JabRef}
221
222 %\insertchapter{10_dia}
223
224 %\insertchapter{11_}
225
226 %\insertchapter{12_}
227
228 %\insertchapter{13_}
229
230 %\insertchapter{14_}
231
232
233 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
234 % BIBLIOGRAPHY %
235 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
236
237 % Uncomment the \nocite{*} if you want to include works read, but not cited
238 % within the body of your work.
239 % \nocite{*}
240 \printbibliography[heading=bibintoc]
241
242
243 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
244 % APPENDICES %
245 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
246 \appendix
247 % SET APPENDIX SPACING
248 %\onehalfspacing % 1.50x Spacing
249 %\doublespacing % 1.75x Spacing
250 \truedoublespacing % 2.00x Spacing
251 %\triplespacing % 3.00x Spacing
252 %\baselineskip #.##em % #.##x Spacing
253
254 % To insert appendices from a separate tex file use the following commands
255 % \insertappendix automatically looks in the Appendices folder and also
256 % appends the file extension (i.e. do NOT include the '.tex'
257 %
258 % \input is the standard way of including a separate tex file
259 % \input{"./Appendices/PDF_Appendix.tex"}
260
261 \insertappendix{0A_Additional_Figures}
262
263 \insertappendix{0B_Additional_Tables}
264
265 \insertappendix{0C_Code_Listings}
266
267 \insertappendix{0D_Including_PDFs}
268
269 \insertappendix{0X_Math_Lettering}
270
271 \end{document}