-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.tex
81 lines (60 loc) · 2.05 KB
/
main.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
\documentclass[journal]{new-aiaa}
\usepackage[utf8]{inputenc}
\usepackage{textcomp}
\usepackage{graphicx}
\usepackage{amsmath}
\usepackage[version=4]{mhchem}
\usepackage{siunitx}
\usepackage{longtable,tabularx}
\usepackage{booktabs}
\usepackage{lipsum} % Remove this
\setlength\LTleft{0pt}
% --- TikZ --- %
\usepackage{tikz}
\usetikzlibrary{external}
\tikzexternalize[prefix=./tikz/]
% --- Title declaration --- %
\title{A Template For Writing Beautiful Papers}
\author{Jan-Hendrik Ewers \footnote{Researcher, Aerospace Sciences Research Division, School of Engineering.}}
\affil{University of Glasgow, Glasgow, Scotland, G12 8QQ}
% --- Maths --- %
\renewcommand{\vec}[1]{\mathbf{#1}}
% --- Nomenclature --- %
\usepackage{nomencl}
\makenomenclature
% --- Define nomenclature categories --- %
\usepackage{etoolbox}
\renewcommand\nomgroup[1]{%
\item[\bfseries
\ifstrequal{#1}{A}{Acronyms}{%
\ifstrequal{#1}{S}{Symbols}{}}%
]}
% --- Declare useful SI units --- %
\DeclareSIUnit\km{\kilo\metre}
\DeclareSIUnit\kmsq{\km\squared}
% --- Custom commands --- %
% Manually define refs for various items
\newcommand{\reffig}[1]{Fig.~\ref{#1}}
\newcommand{\refeqn}[1]{Eqn.~\ref{#1}}
\newcommand{\reftbl}[1]{Tbl.~\ref{#1}}
\newcommand{\refsect}[1]{Sect.~\ref{#1}}
% Some useful temporary text commands
\usepackage{xcolor}
\newcommand{\temphighlight}[2]{{\color{red}\textbf{\textbackslash\textbackslash{}#1}~#2}}
\newcommand{\todo}[1][]{\temphighlight{TODO}{#1}}
\newcommand{\note}[1][]{\temphighlight{NOTE}{#1}}
% Automatically print nomenclature, and add it to the list
\newcommand{\nomdef}[2]{#1 (#2)\nomenclature{#2}{#1}}
% --- !!! UPDATE THIS !!! --- %
\graphicspath{{sections/conclusion/figures/}{sections/intro/figures/}{sections/method/figures}{sections/results/figures/}}
\begin{document}
\maketitle
\input{sections/abstract/abtract.tex}
\input{sections/intro/introduction.tex}
\tableofcontents
\input{nomenclature.tex}
\input{sections/method/method.tex}
\input{sections/results/results.tex}
\input{sections/conclusion/conclusion.tex}
\bibliography{references}
\end{document}