-
Notifications
You must be signed in to change notification settings - Fork 1
/
LatexVorlage.tex
executable file
·155 lines (155 loc) · 3.13 KB
/
LatexVorlage.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
%
% 1: documentation, e.g.: a documentation for a project done in a course
% 2: thesis, e.g.: a master thesis
% 3: summary
% 5: presentation
% 9: paper
%
\ifx\FHVmode\undefined
\def\FHVmode{2}
\fi
%
% 1: Presentation only
% 2: Presentation only notes
% 3: Presentation all (left page is the presentation, right the notes)
%
\ifx\PresentationMode\undefined
\def\PresentationMode{3}
\fi
%
\newcommand{\version}{v0.0}
%
\input{./sty/overallDefines.sty}
%
\documentclass[\documentclassOptions]{\komaScriptClass}
%
\usepackage{./sty/fhv}
%
\makeglossaries
%
% General settings for title...
%
\setLanguage{\newLanguage}
\setTitle{Title}
\setThesistype{Master Thesis}
\setAuthor{\authorSurname\authorName}
\setAuthorId{MATRIKELNUMMER}
\setStudyprogram{Master's in Mechatronics}
\setSupervisor{\supervisorSurname\supervisorName}
\setSupervisorCompany{Title B SupervisorCompanyName, Title A}
\setSubtitle{Subtitle}
\setSubject{Subject}
\setDegree{Master of Science in Engineering, MSc}
\setCompany{Company Name GmbH}
%
% PDF settings
%
\pdfSettings
%
\allowdisplaybreaks
%
\begin{document}
%
% Select the language defined in \newLanguage
%
\ifx\newLanguage\ngerman
\selectlanguage{ngerman}
\else
\selectlanguage{english}
\fi %
%
\if\FHVmode\paper
\SetAlgorithmName{Algorithmus}{Alg.}
\makeatletter
\crefname{equation}{Gl.}{Gln.}
\makeatother
\fi
% Import the acronyms
%
\input{./util/Acronym.tex} % provide the defined acronyms to be used
%
% for Backlinks to work properly
%
\subfile{./tex/Presentation.tex}
%
\begin{envModeNot}[\presentations]
%
% for Backlinks to work properly
%
\let\hypercontentsline=\contentsline
\renewcommand{\contentsline}[4]{\hypertarget{toc.#4}{}\hypercontentsline{#1}{#2}{#3}{#4}}%
%
\sisetup{output-decimal-marker = {,}}
\pagenumbering{gobble} % used to prevent the page numbering
%
\begin{envDebug}
\layout
\textrm{Serif: \rmdefault}\par
\textsf{Sans-Serif: \sfdefault}\par
\texttt{Teletype: \ttdefault}
\end{envDebug}
%
\begin{envModeNot}[\paper]
%
% evtl. Sperrvermerkseite
% nur in begründeten Ausnahmefällen verwenden
% Aufgrund gesetzlicher Bestimmungen ist eine Sperre maximal für fünf Jahre möglich
%
\sperrvermerk{5}
%
\end{envModeNot}
%
\maketitle % creates the title page
\hypersetup{pageanchor=true}
%
\begin{envModeNot}[\paper]
%
\pagenumbering{Roman}
%
% Abstracts
\subfile{./tex/Dedication.tex}
%
\subfile{./tex/Widmung.tex}
%
\subfile{./tex/Kurzreferat.tex}
\subfile{./tex/Abstract.tex}
%
\subfile{./tex/Preface_Acknowledgement.tex}
\subfile{./tex/Vorwort.tex}
\newpage
%
\fhvlists
\end{envModeNot}
%
% INSERT your .tex files
%
%\subfile{./tex/Hauptteil.tex}
%\subfile{./tex/xxx.tex}
\subfile{./tex/Examples.tex}
%
% END INSERT
%
\glossaryAndBibliography
%
% uncomment this if you like a short CV
% \subfile{./tex/Lebenslauf.tex}
%
\begin{envModeNot}[\paper]
\newpage
\appendix
\addAppendix{
%
% INSERT your .tex files
%
\subfile{./tex/Anhang.tex}
%
% END
%
}
% Statuory Declaration
\statuoryDeclaration
%
\end{envModeNot}
\end{envModeNot}
%
\end{document}