-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathPhDThesis.tex
222 lines (177 loc) · 6.74 KB
/
PhDThesis.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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
%% sample template file for a PhD Thesis
%% The default is with two sided setup:
\documentclass[%
% oneside % uncomment for onesided layout
]{USN-PhD}
% --- Bibliography setup ---
%%% default is the "ieee" style
\usepackage[style=ieee, sorting=none]{biblatex}
%%% If you want to use "author-year" style
%%% where `\cite{Foo2011}` generates "Foo et al. (2011)"
%%% and `\parentcite{Foo2011}` generates "(Foo et al. 2011)"
%%% then comment the line above and use
%\usepackage[style=authoryear]{biblatex}
%%% or
%%% if you want to use "alphabetic" style then use
%%% where `cite[Foo2011]` generates "[Foo11]"
%%% then comment the line above and use
%\usepackage[style=alphabetic]{biblatex}
%%% instead.
%% load the bib file:
\addbibresource{thesis.bib}
\usepackage{lipsum} % just for providing fill text used in this template
% --- general setup ---
%% Please fill in the following parameters:
\newcommand{\mytitle}{%
%% title:
<Title>
}
\newcommand{\myauthor}{%
%% author:
<Author's Name>
}
\newcommand{\mykeywords}{%
%% keywords (used in the PDF document properties for indexing):
<keyword one, keyword two, \ldots>
}
\begin{document}
%% Create title page with the parameters given in the preamble above
\USNtitlepage%
\chapter*{Preface}
\label{sec:preface}
\addcontentsline{toc}{chapter}{Preface}
%% Add your preface below
\lipsum[1-3]
Porsgrunn, \today
\myauthor
\chapter*{Summary}
\label{sec:summary}
\addcontentsline{toc}{chapter}{Summary}
\lipsum[1-3]
%% table of contents
\tableofcontents
\addcontentsline{toc}{chapter}{\contentsname}
\listoffigures % out-comment if unwanted
\addcontentsline{toc}{section}{\listfigurename}
\listoftables % out-comment if unwanted
\addcontentsline{toc}{section}{\listtablename}
\chapter*{Nomenclature}
\label{sec:nomenclature}
bla
\begin{longtable}{ll}
\textbf{Symbol} & \textbf{Explanation}\endhead\\
A/D & Analogue-Digital-Converter \\
CMR & Common Mode Rejection \\
foo & Foo \\
bar & Bar
\end{longtable}
\chapter{Introduction}
\label{ch:intro}
\lipsum[4]
\begin{figure}[!ht]
\centering
\includegraphics[width=0.8\textwidth]{USN_logo}
\caption{Norwegian (bokmål) variant of the USN logo}
\label{fig:usn-logo}
\end{figure}
\lipsum[4]
\begin{figure}[!ht]
\centering
\includegraphics[width=0.8\textwidth]{USN_logo_en}
\caption{English variant of the USN logo.}
\label{fig:usn-logo-en}
\end{figure}
\lipsum
\section{Background}
\label{sec:back}
\lipsum[4]
\begin{equation}
e = m c^2
\end{equation}
\lipsum
\chapter{Theory}
\label{ch:theory}
\section{Maxwell's Equations}
\label{sec:theory}
\indent The differential forms of Maxwell's equations as found by Heaviside, while completely valid, are now considered somewhat archaic, and have been replaced by the more useful (equivalent) integral forms. Each law is named according to the person(s) who originally discovered the connections represented by the equation. Here are the four equations:
\begin{eqnarray}
\text{Gauss' law for electricity:}& \displaystyle \oint{\vec{E}\cdot\mathrm{d}\vec{A}}&=\frac{Q_{enc}}{\epsilon_0}\\
\text{Gauss' law for magnetism:}& \displaystyle \oint{\vec{B}\cdot\mathrm{d}\vec{A}}&=0\\
\text{Faraday's law:}& \displaystyle\oint{\vec{E}\cdot\mathrm{d}\vec{s}}&=-\frac{\emph{d}\phi_b}{\mathrm{d}t}\\
\text{Ampere-Maxwell law:}& \displaystyle\oint{\vec{B}\cdot\mathrm{d}\vec{s}}&=\mu_0\epsilon_0\frac{\emph{d}\phi_e}{\mathrm{d}t}+\mu_0 i_{enc}
\end{eqnarray}
Note: $\oint$ is used to specify a closed loop integral, also known as a line integral. It simply means that in the calculations, we must go all the way around the loop; we can't stop part way through or the equations won't be valid.
\section{Mathematical model}
\label{sec:mathmodel}
\lipsum[8]
\begin{table}[!ht]
\caption{The different number systems}
\centering
\begin{tabular}{|r|l|}
\hline
7C0 & hexadecimal \\
3700 & octal \\ \cline{2-2}
11111000000 & binary \\
\hline \hline
1984 & decimal \\
\hline
\end{tabular}
\end{table}
\lipsum[4]
\begin{table}[!ht]
\caption{The weather forecast}
\centering
\begin{tabular}{ | l | l | l | p{5cm} |}
\hline
Day & Min Temp & Max Temp & Summary \\ \hline
Monday & 11C & 22C & A clear day with lots of sunshine.
However, the strong breeze will bring down the temperatures. \\ \hline
Tuesday & 9C & 19C & Cloudy with rain, across many northern regions. Clear spells
across most of Scotland and Northern Ireland,
but rain reaching the far northwest. \\ \hline
Wednesday & 10C & 21C & Rain will still linger for the morning.
Conditions will improve by early afternoon and continue
throughout the evening. \\
\hline
\end{tabular}
\end{table}
\lipsum{100-150}
% A dummy command that causes all bibliographyentries to be displayed
% even though there were not cited in the document. Used for demonstration
% purposes only in this template file.
~\nocite{*}
\cleardoublepage
% The bibliography should be displayed here...
\printbibliography[heading=bibintoc]
% You rather like to call the bibliography "References"? Then use this instead:
%\printbibliography[heading=bibintoc, title={References}]
\appendix
%\renewcommand{\appendixname}{Paper} %% So we get 'Paper X' displayed instead
\chapter[Short Title of Paper A]{Title of Paper A (probably very long and therefore not good to have in the header)}
\label{paper-a}
\paragraph{Note}
Since some papers tend to have a rather long title it is good to provide the optional short title which then will be displayed in the table of contents and header instead of the long original title.
On the openening page of the chapter the orginal \emph{long} title will be displayed.\bigskip
\emph{Short descriptive text of paper follows here.}\bigskip
The paper itself needs to be included in the published form as PDF on the next pages.
This can be done using the \texttt{pdfpages} package by adding the command:
\begin{verbatim}
\includepdf{pages=-,openright}{Filename}
\end{verbatim}
You can omit the \texttt{.pdf} when specifying the \texttt{Filename}. Also you should include always include the option \texttt{openright} since it would look strange to have the paper starting at the back of the cover page.
There are more options like only adding specific pages:
\begin{verbatim}
\includepdf{pages=2-6,openright}{Filename.pdf}
\end{verbatim}
For more options see Appendix~\ref{paper-b} where the most important pages of the \texttt{pdfpages} manual were inlcuded using \texttt{pdfpages}.
%%% Command to include a PDF file directly including all pages:
\chapter[Short Title of Paper B]{Title of Paper B}
\label{paper-b}
Short descriptive text of paper follows here.
Here we included the first five pages of the \texttt{pdfpages} manual itself.
\includepdf[pages=1-5,openright]{fig/pdfpages}
\end{document}
%%% Local Variables:
%%% mode: latex
%%% TeX-master: t
%%% End: