Debian Codegraph @

texmf-dist/doc/latex/ualberta/00_LaTeX_Files/includePackages.tex

raw
1 \usepackage[intoc]{nomencl}
2 \makenomenclature
3 \renewcommand\nomgroup[1]{%
4 \item[\bfseries
5 \ifstrequal{#1}{A}{Constants}{%
6 \ifstrequal{#1}{B}{Latin}{%
7 \ifstrequal{#1}{C}{Greek}{%
8 \ifstrequal{#1}{D}{Subscripts}{}}}}]%
9 }
10 \renewcommand{\nomname}{List of Symbols}
11 \newcommand{\nomunit}[1]{\renewcommand{\nomentryend}{\hspace*{\fill}#1}}
12
13 \usepackage[acronym,nonumberlist]{glossaries}
14 \glstoctrue
15 \makenoidxglossaries
16 \newcommand{\addacronym}[2]{\newacronym{#1}{#1}{#2}}
17 \newcommand{\addterm}[2]{\newglossaryentry{#1}{name={#1},description={#2}}}
18 \newcommand\generateglossary{
19 \printnoidxglossary[title={\glossaryname}]}
20 \newcommand\abbreviations{
21 \printnoidxglossary[type=\acronymtype,title={\abbreviationsname}]}
22
23 \usepackage[T1]{fontenc}
24 \usepackage[utf8]{inputenc}
25
26 % Provides the comment environment (Block Comments)
27 % \begin{comment}
28 % <Anything goes here>
29 % \end{comment}
30 \usepackage{comment}
31
32 % The basics for using math in LaTeX
33 \usepackage{array}
34 \usepackage{amsmath}
35 \usepackage{amsfonts}
36 \usepackage{amssymb}
37
38 % Used to provide underlining that can be broken across multiple lines
39 \usepackage[normalem]{ulem}
40
41 % Used for creating subfigures
42 \usepackage{subcaption}
43
44 % The defacto package for including graphics
45 \usepackage{graphicx}
46
47 % Used to extend or replace the table/tabular environment
48 \usepackage{tabularx} % Auto-Sizing Tables
49 \usepackage{xltabular} % Multi-page Tables
50 \usepackage{pdflscape} % Allows creation of landscape pages
51 \usepackage{booktabs} % Nicer Lines
52 \usepackage{multicol} % Column Merging
53 \usepackage{multirow} % Row Merging
54 \usepackage{makecell} % Allows more control over cell contents
55
56 % Used for creating consistent plots and graphs
57 \usepackage{pgfplots}
58 \pgfplotsset{compat=newest}
59 \usepgfplotslibrary{statistics, polar}
60 \usepackage{pgf-pie} % Adds Pie charts to PGF
61
62 % Allows the inclusion PDF files
63 \usepackage{pdfpages}
64
65 % Used for inserting syntax highlighted code
66 \usepackage{listings}
67
68 % Used for extending the rules/control for hyphenation
69 % \hyp{} allows the hyphenation of manually hyphenated Words:
70 % e.g. electromagnetic\hyp{}endioscopy
71 \usepackage{hyphenat}
72
73 % Used for better quoting and formatting commands
74 \usepackage{csquotes}
75 \usepackage{ragged2e}
76
77 % Used for creating the Bibliography
78 % Currently set up for
79 % - IEEE style citations
80 % - Compact number in-text [1 - 3] vs [1, 2, 3]
81 % To change the style to APA, MLA, or other change
82 % - style=ieee, and remove the citestyle=numeric-comp
83 \usepackage[
84 style=ieee,
85 citestyle=numeric-comp,
86 dashed=false,
87 backend=bibtex,
88 refsegment=chapter,
89 sorting=none,
90 defernumbers=true]{biblatex}
91
92 % Used for including hyperlinks, document links, and better cross-references
93 \usepackage{hyperref}
94 \hypersetup{
95 colorlinks,
96 linkcolor={red!50!black},
97 citecolor={blue!50!black},
98 urlcolor={blue!80!black},
99 pdfencoding=unicode,
100 breaklinks=true
101 }
102 \urlstyle{same}
103 \Urlmuskip=0mu plus 1mu\relax
104 \usepackage[nameinlink]{cleveref} % Provides better/smarter cross-references
105 \usepackage{xurl} % Fixes url line-breaking
106
107 % DELETE THE LINE AFTER THIS COMMENT, IT IS ONLY USED FOR THE GUIDE AND NOT
108 % NECESSARY FOR YOUR THESIS
109 \input{./00_LaTeX_Files/guidePackages}