-
Notifications
You must be signed in to change notification settings - Fork 0
/
Header.tex
243 lines (171 loc) · 7.74 KB
/
Header.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
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% template for student thesis, 14.05.2012
% 1.version: Keijo Nissen
% 2.version: Hamman de Vaal
% 3.version: Caroline Danowski
%
% build document e.g. in console with
% latex LaTeX_template_v03 && dvipdfm LaTeX_template_v03.dvi
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%\newcommand{\mainpath}{/home/lukas/Desktop/project/independence/project/thesis/}
% template for DIN A4
\documentclass[12pt,a4paper,twoside]{book}
\usepackage[utf8]{inputenc}%for special german symbols
%awesome package to automatically create nomencature
\usepackage{nomencl}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% LEAD UP %%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% packages that should be included - extend at will
\usepackage{fancyhdr}
\usepackage{mdwlist}
%\usepackage{dsfont}
%\usepackage{graphicx} %geändert damit er die eps zu pdfs machen kann
%\usepackage[pdftex]{graphicx}
%\usepackage{epstopdf}
%\epstopdfsetup{outdir=./}
%\usepackage[outdir=./]{epstopdf}
%usepackage{silence}
%\WarningFilter[pdftoc]{hyperref}{Token not allowed in a PDF string}
\usepackage{amssymb}
\usepackage{amsmath}
%\usepackage{breqn}
%\usepackage{amsthm}
\usepackage{ifthen}
\usepackage[]{acronym}
\usepackage{multirow}
\usepackage{hhline}
\usepackage{subcaption}
%\DeclareCaptionFormat{overlay}{\gdef\capoverlay{#1#2#3\par}}
\usepackage[makeroom]{cancel} %useful for explicitly cancelling terms in equations
%\usepackage{numdef}
%\num\def\f12{\frac{1}{2}}
%%%\usepackage[inline]{showlabels}
%%%\usepackage[notcite,notref,notcite]{showkeys}
%\usepackage{showkeys}
\usepackage{color}
\usepackage[table]{xcolor}
\usepackage{soul}
\definecolor{hlcolorblue}{RGB}{126,215,255}
\definecolor{hlcolorgreen}{RGB}{126,255,175}
\definecolor{hlcolororange}{RGB}{246,194,115}
\definecolor{hlcoloryellow}{RGB}{255,243,113}
\definecolor{hlcolorpurple}{RGB}{215,163,232}
\DeclareRobustCommand{\hltblue}[1]{{\sethlcolor{hlcolorblue}\hl{#1}}}
\DeclareRobustCommand{\hltgreen}[1]{{\sethlcolor{hlcolorgreen}\hl{#1}}}
\DeclareRobustCommand{\hltorange}[1]{{\sethlcolor{hlcolororange}\hl{#1}}}
\DeclareRobustCommand{\hltyellow}[1]{{\sethlcolor{hlcoloryellow}\hl{#1}}}
\DeclareRobustCommand{\hltpurple}[1]{{\sethlcolor{hlcolorpurple}\hl{#1}}}
\newcommand{\hleblue}[1]{\colorbox{hlcolorblue}{$\displaystyle{#1}$}}
\newcommand{\hlegreen}[1]{\colorbox{hlcolorgreen}{$\displaystyle{#1}$}}
\newcommand{\hleorange}[1]{\colorbox{hlcolororange}{$\displaystyle{#1}$}}
\newcommand{\hleyellow}[1]{\colorbox{hlcoloryellow}{$\displaystyle{#1}$}}
\newcommand{\hlepurple}[1]{\colorbox{hlcolorpurple}{$\displaystyle{#1}$}}
\def\maathunderline#1#2{\color{#1}\underline{{\color{black}#2}}\color{black}}
\newsavebox\MBox
\newcommand\mathunderline[2][red]{{\sbox\MBox{$#2$}%
\rlap{\usebox\MBox}\color{#1}\rule[-1.2\dp\MBox]{\wd\MBox}{2.0pt}}}
\DeclareRobustCommand{\hlt}[2]{{\sethlcolor{#1}\hl{#2}}}
\newcommand{\hle}[2]{\colorbox{#1}{$\displaystyle{#2}$}}
\definecolor{primary_0}{RGB}{140,21,21}
\definecolor{neutral_1}{RGB}{179,153,93}
%\usepackage{cleveref}% to reference multiple equations at once
\usepackage{hyperref}
\hypersetup{
colorlinks=true,
linkcolor=primary_0,
citecolor=neutral_1,
urlcolor=red,
pdfauthor={Lukas Scheucher},
pdfcreator={Lukas Scheucher}, % creator of the document
pdfproducer={Lukas Scheucher}, % producer of the document
linktoc=all
}
\usepackage[font={small,it}]{caption}
\usepackage{tikz}
\usetikzlibrary{positioning}
\usepackage{pgfplots}
\usepackage{pgfplotstable}
\usepgfplotslibrary{groupplots}
\usepackage{placeins}%package required for \FloatBarrier
\hfuzz=50.00pt%maximum amount of box overflow before a warning
\usepackage{minitoc}
%\AtBeginSection[]
% {
% \tableofcontents[currentsection]
% }
%\usepackage[table]{xcolor}
%\usepackage{array,ragged2e}
% have a look on this file, it can be reallzy helpfull
\input{\mainpath/customcommands.tex}
% source of all figures
\graphicspath{{./}}
% This is the folder where your figures should be.
% You can define more folders by inserting {./additionalPath/}.
% Leere Fu''llseiten
%%%%\makeatletter
%%%%\renewcommand{\cleardoublepage}{\clearpage\if@twoside \ifodd\c@page\else
%%%% \hbox{}
%%%% \vspace*{\fill}
%%%% \thispagestyle{empty}
%%%% \newpage
%%%% \if@twocolumn\hbox{}\newpage\fi\fi\fi}
%%%%\makeatother
% falls Arbeit auf DEUTSCH verfasst werden soll
% \usepackage{ngerman} % wie german, aber neue Trennregeln
% % unmittelbare Eingabe deutscher
% % Sonderzeichen
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% page layout %%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\setlength{\topmargin}{0mm} % Oberer Rand
\setlength{\headheight}{12pt} % Kopfh''ohe
\setlength{\headsep}{8mm} % Abstand zw. Kopf und Text
\setlength{\textheight}{230mm} % Texth''ohe
\setlength{\footskip}{10mm} % Texth''ohe
\setlength{\evensidemargin}{0mm} % Innenrandabstand linkes Blatt, geradzahlig
\setlength{\oddsidemargin}{8mm} % Innenrandabstand rechtes Blatt, ungeradzahlig
\setlength{\textwidth}{150mm} % Textbreite
\setlength{\marginparsep}{0mm} % Randnotizabstand
\setlength{\voffset}{0mm} % vertikaler Abstand
\setlength{\hoffset}{0mm} % horizontaler Abstand
\newlength{\pagewidth}
\setlength{\pagewidth}{165mm}
% suggested headers and footers
\pagestyle{fancyplain}
\fancyhf{}
% FIRST VERSION
%\fancyfoot[C]{\fancyplain{}{\bfseries\thepage}}
% SECOND VERSION
\fancyfoot[C]{\thepage}
%\fancyfoot[RO]{\includegraphics[width=\linewidth,height=12pt,keepaspectratio]{fig/stanford-logo2.png}} %shows only on odd pages
\usepackage{fancyhdr}
\renewcommand{\footrule}{{\color{primary_1}\vskip-\footruleskip\vskip-\footrulewidth \hrule width\headwidth height\footrulewidth\vskip\footruleskip}}
\renewcommand{\footrulewidth}{0.4pt}
\setlength{\parindent}{0pt}
%%%% TODO Has to be filled
\newcommand{\thesistype}{Master Thesis}% e.g. Bachelor's Thesis
\newcommand{\thesistitle}{Analytical and Numerical Approaches for the Computation of Aeroelastic Sensitivities Using the Direct and Adjoint Method}
\newcommand{\shorttitle}{Analytic Computation of Sensitivities}
\newcommand{\Author}{Lukas Scheucher, B.Sc.}
\newcommand{\Supervisor}{Prof. Charbel Farhat, Dr.-Ing. Alexander Popp, Dipl.-Ing. Georg Hammerl}
\newcommand{\Mail}{[email protected]}
%\usepackage{etoolbox,fancyhdr,xcolor}% http://ctan.org/pkg/{etoolbox,fancyhdr,xcolor}
%% \patchcmd{<cmd>}{<search>}{<replace>}{<success>}{<failure>}
%\newcommand{\headrulecolor}[1]{\patchcmd{\headrule}{\hrule}{\color{#1}\hrule}{}{}}
%\newcommand{\footrulecolor}[1]{\patchcmd{\footrule}{\hrule}{\color{#1}\hrule}{}{}}
%\fancyfoot[L]{
%\hrule width \hsize height 2pt\vskip1pt\hrule width \hsize height 1pt %
%\vskip2pt \fancyplain{}{\bfseries\thepage}.
%}
%%\fancyfoot[C]{Footer}%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% THE ACTUAL THESIS %%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%% BEGIN DOCUMENT
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%