forked from tuxu/ethz-thesis
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 1b0049f
Showing
27 changed files
with
1,024 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# LaTeX stuff | ||
build/ | ||
*.aux | ||
*.log | ||
|
||
# Emacs junk | ||
auto/ | ||
ltxpng/ | ||
|
||
# Python stuff | ||
*.py[cod] | ||
|
||
# Temps | ||
*.*~ | ||
*.bak |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
TEXFLAGS = -bibtex -pdf -interaction=nonstopmode -use-make | ||
BUILD_DIR = build | ||
|
||
.PHONY: all clean $(BUILD_DIR)/thesis.pdf | ||
|
||
all: $(BUILD_DIR)/thesis.pdf | ||
|
||
$(BUILD_DIR)/thesis.pdf: thesis.tex $(BUILD_DIR) | ||
latexmk $(TEXFLAGS) -jobname=$(@:.pdf=) -f $< | ||
|
||
$(BUILD_DIR): | ||
mkdir -p $(BUILD_DIR) | ||
|
||
clean: | ||
latexmk $(TEXFLAGS) -jobname=$(BUILD_DIR)/ -C thesis.tex |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
@article{Maxwell1865, | ||
doi = {10.1098/rstl.1865.0008}, | ||
url = {https://doi.org/10.1098%2Frstl.1865.0008}, | ||
year = 1865, | ||
month = {jan}, | ||
publisher = {The Royal Society}, | ||
volume = {155}, | ||
number = {0}, | ||
pages = {459--512}, | ||
author = {J. C. Maxwell}, | ||
title = {A Dynamical Theory of the Electromagnetic Field}, | ||
journal = {Philosophical Transactions of the Royal Society of London} | ||
} |
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
\chapter{A Chapter} | ||
\label{ch:a-chapter} | ||
|
||
\dictum[James C. Maxwell]{% | ||
The true logic of this world is in the calculus of probabilities. }% | ||
\vskip 1em | ||
|
||
\Citet{Maxwell1865} derived some very useful equations for electromagnetic | ||
fields: | ||
\begin{align} | ||
\nabla \cdot \vec{D} = \rho \\ | ||
\nabla \cdot \vec{B} = 0 \\ | ||
\nabla \times \vec{E} = -\frac{\partial \vec{B}}{\partial t} \\ | ||
\nabla \times \vec{H} = \vec{j} + \frac{\partial \vec{D}}{\partial t} | ||
\end{align} | ||
|
||
The energy--momentum relation, \cref{eq:energy-momentum}, is one of \emph{my} | ||
important results: | ||
\begin{align} | ||
E^2 = m^2 c^4 + (p c)^2 \label{eq:energy-momentum} | ||
\end{align} | ||
|
||
Write units like this: \u{5}{\micro\meter}. | ||
|
||
\begin{figure} | ||
\caption{A lovely face.} | ||
\label{fig:some-figure} | ||
\includegraphics{\dir/figure.pdf} | ||
\end{figure} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
\chapter{Appendix} | ||
\label{ch:appendix} | ||
|
||
Here be dragons. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
\chapter{Summary} | ||
\label{ch:summary} | ||
|
||
\dictum[Vincent van Gogh]{% | ||
I dream my painting and I paint my dream. } | ||
\vskip 1em | ||
|
||
Summary here. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
\chapter{Introduction} | ||
\label{ch:introduction} | ||
|
||
\dictum[Immanuel Kant]{% | ||
Sapere aude! Habe Mut, dich deines eigenen Verstandes zu bedienen! }% | ||
\vskip 1em | ||
|
||
\begin{otherlanguage}{ngerman} | ||
Die ältesten Bestimmungen der wahren Grösse der Moleküle hat die kinetische | ||
Theorie der Gase ermöglicht, während die an Flüssigkeiten beobachteten | ||
physikalischen Phänomene bis jetzt zur Bestimmung der Molekülgrössen nicht | ||
gedient haben. \dots | ||
\end{otherlanguage} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
%******************************************************* | ||
% Abstract | ||
%******************************************************* | ||
%\renewcommand{\abstractname}{Abstract} | ||
\pdfbookmark[1]{Abstract}{Abstract} | ||
\begingroup | ||
\let\clearpage\relax | ||
\let\cleardoublepage\relax | ||
\let\cleardoublepage\relax | ||
|
||
\chapter*{Abstract} | ||
|
||
English abstract here. | ||
|
||
\endgroup | ||
|
||
\cleardoublepage% | ||
|
||
\begingroup | ||
\let\clearpage\relax | ||
\let\cleardoublepage\relax | ||
\let\cleardoublepage\relax | ||
|
||
\begin{otherlanguage}{ngerman} | ||
\pdfbookmark[1]{Zusammenfassung}{Zusammenfassung} | ||
\chapter*{Zusammenfassung} | ||
|
||
Deutsche Zusammenfassung hier. | ||
|
||
\end{otherlanguage} | ||
|
||
\endgroup | ||
|
||
\vfill |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
%******************************************************* | ||
% Acknowledgments | ||
%******************************************************* | ||
\pdfbookmark[1]{Acknowledgements}{acknowledgements} | ||
|
||
\bigskip | ||
|
||
\begingroup | ||
\let\clearpage\relax | ||
\let\cleardoublepage\relax | ||
\let\cleardoublepage\relax | ||
\chapter*{Acknowledgements} | ||
|
||
\def\thanks#1{% | ||
\begingroup | ||
\leftskip1em | ||
\noindent #1 | ||
\par | ||
\endgroup | ||
} | ||
|
||
I would like to thank \dots | ||
|
||
\endgroup |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
%******************************************************************** | ||
% Bibliography | ||
%******************************************************* | ||
% work-around to have small caps also here in the headline | ||
\manualmark% | ||
\markboth{\spacedlowsmallcaps{\bibname}}{\spacedlowsmallcaps{\bibname}} % work-around to have small caps also | ||
%\phantomsection | ||
\refstepcounter{dummy} | ||
\addtocontents{toc}{\protect\vspace{\beforebibskip}} % to have the bib a bit from the rest in the toc | ||
\addcontentsline{toc}{chapter}{\tocEntry{\bibname}} | ||
\label{app:bibliography} | ||
{% | ||
\emergencystretch=1em% | ||
\printbibliography% | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,86 @@ | ||
%******************************************************* | ||
% Table of Contents | ||
%******************************************************* | ||
%\phantomsection | ||
\refstepcounter{dummy} | ||
\pdfbookmark[1]{\contentsname}{tableofcontents} | ||
\setcounter{tocdepth}{2} % <-- 2 includes up to subsections in the ToC | ||
\setcounter{secnumdepth}{3} % <-- 3 numbers up to subsubsections | ||
\manualmark% | ||
\markboth{\spacedlowsmallcaps{\contentsname}}{\spacedlowsmallcaps{\contentsname}} | ||
\tableofcontents | ||
\automark[section]{chapter} | ||
\renewcommand{\chaptermark}[1]{\markboth{\spacedlowsmallcaps{#1}}{\spacedlowsmallcaps{#1}}} | ||
\renewcommand{\sectionmark}[1]{\markright{\thesection\enspace\spacedlowsmallcaps{#1}}} | ||
%******************************************************* | ||
% List of Figures and of the Tables | ||
%******************************************************* | ||
\clearpage | ||
|
||
\begingroup | ||
\let\clearpage\relax | ||
\let\cleardoublepage\relax | ||
\let\cleardoublepage\relax | ||
%******************************************************* | ||
% List of Figures | ||
%******************************************************* | ||
%\phantomsection | ||
% \refstepcounter{dummy} | ||
%\addcontentsline{toc}{chapter}{\listfigurename} | ||
% \pdfbookmark[1]{\listfigurename}{lof} | ||
% \listoffigures | ||
|
||
% \vspace{8ex} | ||
|
||
%******************************************************* | ||
% List of Tables | ||
%******************************************************* | ||
%\phantomsection | ||
% \refstepcounter{dummy} | ||
%\addcontentsline{toc}{chapter}{\listtablename} | ||
% \pdfbookmark[1]{\listtablename}{lot} | ||
% \listoftables | ||
|
||
% \vspace{8ex} | ||
% \newpage | ||
|
||
%******************************************************* | ||
% List of Listings | ||
%******************************************************* | ||
%\phantomsection | ||
%\refstepcounter{dummy} | ||
%\addcontentsline{toc}{chapter}{\lstlistlistingname} | ||
%\pdfbookmark[1]{\lstlistlistingname}{lol} | ||
%\lstlistoflistings% | ||
|
||
%\vspace{8ex} | ||
|
||
% Notation | ||
\refstepcounter{dummy} | ||
\pdfbookmark[1]{Notation}{notation} | ||
\markboth{\spacedlowsmallcaps{Notation}}{\spacedlowsmallcaps{Notation}} | ||
\chapter*{Notation} | ||
|
||
\section*{Frequently used symbols}% | ||
\vskip -2em | ||
\begin{tabularx}{\textwidth}{lX} | ||
%\toprule% | ||
%\tableheadline{Symbol} & \tableheadline{Meaning} \\ | ||
%\midrule% | ||
$E$ & energy \\ | ||
$m$ & rest mass \\ | ||
$p$ & impulse \\ | ||
%\bottomrule | ||
\end{tabularx} | ||
|
||
\section*{Physical constants} | ||
\sisetup{separate-uncertainty=false} | ||
\vskip -2em | ||
\begin{tabularx}{\textwidth}{lX} | ||
$c$ & speed of light in vacuum, $c=\u{299792458}{\metre\per\second}$ \\ | ||
\end{tabularx} | ||
\begin{flushright} | ||
(CODATA 2014~\cite{codata}) | ||
\end{flushright} | ||
\sisetup{separate-uncertainty=true} | ||
\endgroup |
Oops, something went wrong.