-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.tex
executable file
·98 lines (77 loc) · 2.73 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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%
%% (C) Copyright 1996, 2020-2021 Kenneth Geisshirt <geisshirt@gmail.com>
%%
%% Licensed under Creative Commons Attribution-ShareAlike 4.0 International.
%% You may obtain a copy of the license at
%% https://creativecommons.org/licenses/by-sa/4.0/
%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\documentclass[a4paper,12pt]{book}
\usepackage[english]{babel}
\usepackage{xspace}
\usepackage{fancyhdr}
\usepackage{microtype}
\usepackage{graphicx}
\usepackage{amsmath,amsfonts,amsthm,amssymb}
%% Latin
\newcommand{\ie}[0]{\textit{i.e.,\xspace}}
\newcommand{\eg}[0]{\textit{e.g.,\xspace}}
\newcommand{\etc}[0]{\textit{etc.\@\xspace}}
\newcommand{\cf}[0]{\textit{cf.\@\xspace}}
\newcommand{\etal}[0]{\textit{et al.\@\xspace}}
%% Useful mathematics
\renewcommand{\vec}[1]{{\mathbf{#1}}}
\newcommand{\diff}[2]{{\frac{\mathrm{d}#1}{\mathrm{d}#2}}}
\newcommand{\dt}[1]{{\frac{\mathrm{d}#1}{\mathrm{d}t}}}
\renewcommand{\d}[1]{\mathrm{d}#1}
\newcommand{\ddiff}[2]{{\frac{\mathrm{d}^2#1}{\mathrm{d}#2^2}}}
\newcommand{\pdiff}[2]{{\frac{\partial #1}{\partial #2}}}
\newcommand{\mtrx}[1]{{\mathbf{#1}}}
\newcommand{\half}[0]{{\scriptstyle\frac{1}{2}}}
\newcommand{\twothird}[0]{{\small\frac{2}{3}}}
\newcommand{\bigO}[1]{{\mathcal{O}(#1)}}
\newcommand{\smbox}[1]{\mbox{\footnotesize #1}}
\newcommand{\Tr}[0]{\mathrm{Tr}}
%% Chemistry
\newcommand{\species}[1]{\mathrm{#1}}
\newcommand{\conc}[1]{[\species{#1}]}
%% Units
\newcommand{\liter}{{\mathrm{l}}} % liter
\newcommand{\GB}{{\mathrm{GB}}} % Gigabyte
\newcommand{\M}{{\mathrm{\small M}}} % mol/litre
\newcommand{\mol}{{\mathrm{mol}}} % mol
\newcommand{\meter}{{\mathrm{m}}} % meter
\newcommand{\s}{{\mathrm{s}}} % second
% plimsoll symbol for thermodynamical quantities
\newcommand*{\plimsoll}{{\ensuremath{-\kern-4pt{\ominus}\kern-4pt-}}}
\setlength{\parskip}{0.1cm}
\setlength{\parindent}{0.0cm}
%% Useful commands
\newcommand{\inputchap}[1]{\input{#1}\clearpage{\pagestyle{empty}\cleardoublepage}}
%% Useful environments
\newtheorem{example}{Example}[chapter]
\begin{document}
\inputchap{Frontpage/frontpage.tex}
\pagestyle{fancy}
%% Preface
\inputchap{Preface/preface.tex}
%% Table of contents, figures, ...
\tableofcontents
% \listoffigures
\pagestyle{empty}
% \inputchap{symbols.tex}
\pagestyle{fancy}
%% Chapters
\inputchap{Introduction/intro.tex}
\inputchap{Simple/simple-reactions.tex}
\inputchap{Temperature/temperature.tex}
\inputchap{Complex/complex-reactions.tex}
%% Appendix
\appendix
\inputchap{Math/ode.tex}
%% Bibliography
\addcontentsline{toc}{chapter}{\numberline{}Bibliography}
\bibliographystyle{plain}
% \bibliography{}
\end{document}