forked from zemirco/tu-darmstadt-latex-thesis
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy paththesis.tex
195 lines (131 loc) · 6.68 KB
/
thesis.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
% Include header.tex with configuration
\input{header}
% Use colors for corporate design
\input{features/custom-colors}
\newglossary[sylg]{symbolslist}{syi}{syo}{Nomenclature}
\makeglossaries
\input{features/acronyms}
\begin{document}
\input{title}
\makethesistitle
% Start with roman page numbering
\pagenumbering{Roman}
% Comment out the following two lines before printing your final document
\listoftodos
\newpage
% Print table of contents
\tableofcontents
\newpage
% Print list of figures
\listoffigures
\newpage
% Print list of tables
\listoftables
\newpage
% Define custom style for glossaries
\newglossarystyle{mystyle}{%
% full stop after every description
\renewcommand*{\glspostdescription}{}%
% put the glossary in a longtable environment:
% left alignment, no white in front und three columns
\renewenvironment{theglossary}{\begin{longtable}[l]{@{}lcl}}{\end{longtable}}
% have nothing after \begin{theglossary}:
\renewcommand*{\glossaryheader}{}%
% uncomment following line if you want headings
% \renewcommand*{\glossaryheader}{\bfseries Symbol & \bfseries Unit & \bfseries Description \endhead}%
% have nothing between glossary groups (next two commands):
\renewcommand*{\glsgroupheading}[1]{}%
% Suppress the vertical gap at the start of each group
\renewcommand*{\glsgroupskip}{}%
% set how each entry should appear:
\renewcommand*{\glossaryentryfield}[5]{%
\glstarget{##1}{##2} % Name
& ##4 % Symbol
& ##3 % Description
% & ##5 % Page list
\\% end of row
}%
% Sub entries treated the same as level 0 entries:
\renewcommand*{\glossarysubentryfield}[6]{%
\glossaryentryfield{##2}{##4}{##3}
}%
}
% Print acronyms
\printglossary[type=acronym, title=Acronyms, toctitle=Acronyms, style=mystyle]
% Print list of symbols
\printglossary[type=symbolslist, style=mystyle]
\newpage
% Save current value of roman page number
\newcounter{romanpagenumbers}
\setcounter{romanpagenumbers}{\value{page}}
% Change to arabic page numbers
\pagenumbering{arabic}
% --- Equations ---
\chapter{Equations}
Equation for extraterrestrial radiation with \gls{I0}, \gls{SC}, \gls{n}, \gls{L}, \gls{delta} and \gls{HSR}.
\begin{equation}
\glsentrytext{I0} = \frac{24}{\pi} \glsentrytext{SC} \left[1+0,034\cos\left(\frac{360\glsentrytext{n}}{365}\right)\right](\cos \glsentrytext{L} \cos \glsentrytext{delta} \sin \glsentrytext{HSR} + \glsentrytext{HSR} \sin \glsentrytext{L} \sin \glsentrytext{delta})
\end{equation}
Equation for average wind power.
\begin{equation}
\overline P_w = \frac{c_1}{T} \int_0^T v_w^3\,dt \ne c_1 \left(\frac{1}{T}\int_0^T v_w\,dt\right)^3 = c_1 \cdot \overline{v}_w^3.
\end{equation}
% --- Acronyms ---
\chapter{Acronyms}
Use package \href{ftp://ftp.dante.de/tex-archive/macros/latex/contrib/glossaries/glossariesbegin.pdf}{glossaries}.
Lorem ipsum dolor sit amet, consectetuer adipiscing elit \textbf{\gls{CO2} for the first time}, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat \textbf{\gls{CO2} for the second time}, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi. Nam liber tempor cum soluta nobis eleifend option congue nihil imperdiet doming id quod mazim placerat facer possim assum. Typi non habent claritatem insitam; est usus legentis in iis qui facit eorum claritatem.
Lorem ipsum dolor sit amet, consectetuer adipiscing elit \textbf{\gls{NEDC} for the first time}, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat \textbf{\gls{NEDC} for the second time}, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi. Nam liber tempor cum soluta nobis eleifend option congue nihil imperdiet doming id quod mazim placerat facer possim assum. Typi non habent claritatem insitam; est usus legentis in iis qui facit eorum claritatem.
Lorem ipsum dolor sit amet, consectetuer adipiscing elit \textbf{\gls{D} for the first time}, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat \textbf{\gls{D} for the second time}, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi. Nam liber tempor cum soluta nobis eleifend option congue nihil imperdiet doming id quod mazim placerat facer possim assum. Typi non habent claritatem insitam; est usus legentis in iis qui facit eorum claritatem.
% --- Simple citations ---
\chapter{Citations}
This could be a sentence from a book.\cite{wagner2010}
% --- Page numbering ---
\chapter{Page numbering}
\input{chapters/page-numbering}
% --- Complex tables ---
\chapter{Table}
\input{chapters/table}
% --- To-do notes ---
\chapter{To-do notes}
\input{chapters/todonotes}
% --- Images side by side ---
\chapter{Images}
\input{chapters/images}
% --- Bar chart ---
\chapter{Bar charts}
This chapter shows how to render a simple bar chart, a stacked bar chart and a grouped bar chart.
% --- Simple bar chart ---
\section{Simple bar chart}
\input{chapters/bar-chart}
\newpage
% --- Stacked bar chart ---
\section{Stacked bar chart}
\input{chapters/stacked-bar-chart}
\newpage
% --- Grouped bar chart ---
\section{Grouped bar chart}
\input{chapters/grouped-bar-chart}
% --- Pie chart ---
\chapter{Pie chart}
\input{chapters/piechart}
% --- Line graph ---
\chapter{Line graph}
\input{chapters/line-graph}
% --- Line graph ---
\chapter{Two y-axes}
\input{chapters/two-y-axes}
% --- Text replacement ---
\chapter{Text replacement}
\input{chapters/text-replacement}
% --- Electronic circuits ---
\chapter{Electronic circuits}
Use the \textbf{tikz} package to draw electronic circuits and more.
\input{chapters/circuits}
\newpage
% Continue with roman page numbering
\pagenumbering{Roman}
\setcounter{page}{\value{romanpagenumbers}}
% Print the bibliography
\printbibliography
% End of document
\end{document}