Merge pull request #40 from kreativmonkey/leitfaden

correction for leitfaden 👍
main
aslmx 2 years ago committed by GitHub
commit a8fe22aaaa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -158,7 +158,6 @@ $$
A = B + C = 5 + 9 = \solution{14} A = B + C = 5 + 9 = \solution{14}
$$ $$
## SI-Units ## SI-Units
Mit dem Parameter `lang` , z.B. `lang: de` in den Metadaten am Anfang des Markdown Dokuments lässt sich die Lokalisierung des Packages `siunitx` einstellen. Das ist z.B. für Tausendertrennzeichen relevant. Mehr Informationen dazu in der [siunitx Dokumentation](https://ctan.math.utah.edu/ctan/tex-archive/macros/latex/contrib/siunitx/siunitx.pdf) Mit dem Parameter `lang` , z.B. `lang: de` in den Metadaten am Anfang des Markdown Dokuments lässt sich die Lokalisierung des Packages `siunitx` einstellen. Das ist z.B. für Tausendertrennzeichen relevant. Mehr Informationen dazu in der [siunitx Dokumentation](https://ctan.math.utah.edu/ctan/tex-archive/macros/latex/contrib/siunitx/siunitx.pdf)
@ -169,6 +168,4 @@ $$ \displaystyle
De: \qty[locale = DE]{6.789}{\metre} \\ De: \qty[locale = DE]{6.789}{\metre} \\
Us: \qty[locale = US]{6.789}{\metre} Us: \qty[locale = US]{6.789}{\metre}
\end{aligned} \end{aligned}
$$ $$

@ -47,11 +47,15 @@ student:
email: email:
strasse: strasse:
ort: ort:
matriklnr: matrikelnr:
studium: studium:
studiengang: studiengang:
studiengangnr: studiengangnr:
fach: fach:
fachbereich:
aufgabe:
typ:
code:
arbeit: arbeit:
typ: typ:
code: code:
@ -96,10 +100,13 @@ Im Folgenden sind die einzelnen Variablen und Schalter erläutert. Alle Optional
| matrikelnr | Deine Matrikelnummer | ja | | | matrikelnr | Deine Matrikelnummer | ja | |
| email | Deine E-Mail Adresse | ja | | | email | Deine E-Mail Adresse | ja | |
| studium | Informationen zum Studiengang und dem Fach | ja | | | studium | Informationen zum Studiengang und dem Fach | ja | |
| studiengang | Dein Studiengang | ja | | | studium.studiengang | Dein Studiengang | ja | |
| studiengangnr | Diese findest du unter "Main Studium" SG-Nr. | ja | | | studium.studiengangnr | Diese findest du unter "Main Studium" SG-Nr. | ja | |
| fach | In welchem Fach wird die Prüfung bearbeitet | ja | | | studium.fach | In welchem Fach wird die Prüfung bearbeitet | ja | |
| aufgabencode | Der Code befindet sich auf deiner B-Prüfung ganz oben | ja | | | studium.fachbereich | Um welchen Fachbereich handelt es sich beim Studium | ja | |
| aufgabe | Informationen zur Studienaufgabe die Bearbeitet wird | ja | |
| aufgabe.typ | Um welchen Aufgabentyp handelt es sich (B-Aufgabe, Thesis) | ja | |
| aufgabe.code | Der Code befindet sich auf deiner B-Prüfung ganz oben | ja | |
| date | Datum der Abgabe | ja | today | | date | Datum der Abgabe | ja | today |
| lang | Sprache des Dokumentes "Ländercode" | ja | de | | lang | Sprache des Dokumentes "Ländercode" | ja | de |
| logo | Der Pfad zum Logo (Standard ./Bilder/logo.png) | ja | Pfad zum Bild | | logo | Der Pfad zum Logo (Standard ./Bilder/logo.png) | ja | Pfad zum Bild |
@ -117,6 +124,10 @@ Im Folgenden sind die einzelnen Variablen und Schalter erläutert. Alle Optional
| seite.rand_unten | Seitenrand unten | ja | 20mm | | seite.rand_unten | Seitenrand unten | ja | 20mm |
| seite.rand_rechts | Seitenrand rechts | ja | 40mm | | seite.rand_rechts | Seitenrand rechts | ja | 40mm |
| seite.rand_links | Seitenrand links | ja | 30mm | | seite.rand_links | Seitenrand links | ja | 30mm |
| titelseite.rand_oben | Seitenrand Titelseite oben | ja | 20mm |
| titelseite.rand_unten | Seitenrand Titelseite unten | ja | 20mm |
| titelseite.rand_rechts | Seitenrand Titelseite rechts | ja | 20mm |
| titelseite.rand_links | Seitenrand Titelseite links | ja | 20mm |
### Aufgabenstellung mit einbinden ### Aufgabenstellung mit einbinden

@ -12,10 +12,12 @@
12pt, 12pt,
a4paper, a4paper,
$if(lang)$ $if(lang)$
$babel-lang$, $babel-lang$,
$endif$ $endif$
bibliography=totocnumbered, bibliography=totocnumbered,
listof=totocnumbered listof=totocnumbered,
toc=flat,
numbers=noenddot % Numbers without dots
]{scrartcl} ]{scrartcl}
$if(lang)$ $if(lang)$
@ -30,18 +32,24 @@ $endif$
%\usepackage[utf8]{inputenc} %\usepackage[utf8]{inputenc}
$endif$ $endif$
\usepackage[usenames,dvipsnames]{color} \usepackage{textcomp} % Erweitert den Zeichensatz
\usepackage{amsmath} % For pandoc extensive `amsmath` collection of symbols for typesetting ordinary math \usepackage{mathptmx} % Setzt die Standardschriftart Times New Roman
\usepackage{amsfonts} % More symboles for exotic currency notation and engeneering diagrams % für den Fließtext und ebenso die mathematische Schrift
\usepackage{amssymb} % More symboles for exotic currency notation and engeneering diagrams \usepackage[onehalfspacing]{setspace} % Der 1,5-zeilige Zeilenabstand
\usepackage{siunitx} % For using SI Units https://www.ctan.org/pkg/siunitx
$if(lang)$ \usepackage[nottoc,numbib]{tocbibind} % No the numbers befor lot and lof and add them to toc
\sisetup{locale = $lang/uppercase$}
$endif$
\usepackage{fancyhdr} \usepackage{fancyhdr}
\usepackage{tabularx} \usepackage{tabularx}
\usepackage[a4paper, top=$if(seite.rand_oben)$$seite.rand_oben$$else$27mm$endif$, left=$if(seite.rand_links)$$seite.rand_links$$else$20mm$endif$, right=$if(seite.rand_rechts)$$seite.rand_rechts$$else$40mm$endif$, bottom=$if(seite.rand_unten)$$seite.rand_unten$$else$35mm$endif$, headsep=10mm, footskip=12mm]{geometry} % Vorgabe 4cm Rand auf der rechten Seite. \usepackage[usenames,dvipsnames]{xcolor} % Colorize latex
\usepackage{setspace}
% Leitfaden Vorgabe für Ränder:
% Links: 2cm oder mehr
% Oben und unten: 2cm
% Rechts: 4cm (Korrekturrand)
% ------------------------------------------------------------
\usepackage[a4paper, top=$if(seite.rand_oben)$$seite.rand_oben$$else$25mm$endif$, left=$if(seite.rand_links)$$seite.rand_links$$else$25mm$endif$, right=$if(seite.rand_rechts)$$seite.rand_rechts$$else$40mm$endif$, bottom=$if(seite.rand_unten)$$seite.rand_unten$$else$25mm$endif$, headsep=10mm, footskip=12mm]{geometry}
\usepackage[right]{eurosym} \usepackage[right]{eurosym}
\usepackage[printonlyused]{acronym} \usepackage[printonlyused]{acronym}
\usepackage{subfig} \usepackage{subfig}
@ -51,14 +59,20 @@ $endif$
\usepackage{array} \usepackage{array}
\usepackage{parskip} \usepackage{parskip}
\usepackage[right]{eurosym} \usepackage[right]{eurosym}
\usepackage[subfigure,titles]{tocloft}
\usepackage{helvet} \usepackage{helvet}
\usepackage{graphicx} \usepackage{graphicx}
\usepackage[export]{adjustbox} % also loads graphicx, to have max width for graphics \usepackage[export]{adjustbox} % also loads graphicx, to have max width for graphics
\usepackage{pdfpages} \usepackage{pdfpages}
\usepackage{tikz} \usepackage{tikz}
\usepackage{amsmath} % For pandoc extensive `amsmath` collection of symbols for typesetting ordinary math
\usepackage{amsfonts} % More symboles for exotic currency notation and engeneering diagrams
\usepackage{amssymb} % More symboles for exotic currency notation and engeneering diagrams
\usepackage{siunitx} % For using SI Units https://www.ctan.org/pkg/siunitx
$if(lang)$
\sisetup{locale = $lang/uppercase$}
$endif$
\usepackage[a-1b]{pdfx} % This needs to be befor hyperref package and is to generate PDF as PDF/A Standard
\usepackage{abstract} % For nice abstract formatting
% ---------------------------------------------------------------------------------------------------------- % ----------------------------------------------------------------------------------------------------------
% Firstname + Lastname % Firstname + Lastname
% ---------------------------------------------------------------------------------------------------------- % ----------------------------------------------------------------------------------------------------------
@ -170,30 +184,42 @@ $endif$
pdfmenubar=true, pdfmenubar=true,
pdffitwindow=false, pdffitwindow=false,
pdfstartview={FitH}, pdfstartview={FitH},
pdftitle={$if(title)$$title$$endif$$if(aufgabe.code)$: $aufgabe.code$$endif$- \studentname}, pdftitle={$if(title)$$title$$endif$$if(aufgabe.code)$: $aufgabe.code$$endif$},
pdfauthor={$if(author)$$author$$else$\studentname$endif$$if(student.matrikelnr)$, Matrikelnummer: $student.matrikelnr$$endif$}, pdfauthor={$if(author)$$author$$else$\studentname$endif$$if(student.matrikelnr)$, Matrikelnummer: $student.matrikelnr$$endif$},
$if(studium.studiengang)$ $if(studium.studiengang)$
pdfsubject={Studiengang: $studium.studiengang$}, pdfsubject={Studiengang: $studium.studiengang$},
$endif$ $endif$
pdfcreator={\LaTeX\ with package \flqq hyperref\frqq via pandoc}, pdfcreator={\LaTeX\ with package \flqq hyperref\frqq via pandoc},
pdfproducer={pdfTeX \the\pdftexversion.\pdftexrevision}, pdfproducer={pdfTeX \the\pdftexversion.\pdftexrevision},
pdfkeywords={$if(aufgabe.typ)$$aufgabe.typ$,$endif$ $if(student.matrikelnr)$$student.matrikelnr$,$endif$ $if(aufgabe.code)$$aufgabe.code$,$endif$ $if(keywords)$ $for(keywords)$ $keywords$ $sep$, $endfor$$endif$}, pdfkeywords={$if(aufgabe.typ)$$aufgabe.typ$,$endif$ $if(student.matrikelnr)$$student.matrikelnr$,$endif$ $if(aufgabe.code)$$aufgabe.code$,$endif$ $if(keywords)$ $for(keywords)$ $keywords[, ]$ $endfor$$endif$},
pdfnewwindow=true, pdfnewwindow=true,
$if(lang)$ $if(lang)$
pdflang=$lang$, pdflang=$lang$,
$endif$ $endif$
pdfdisplaydoctitle=true, pdfdisplaydoctitle=true,
$if(colorlinks)$ $if(colorlinks)$
colorlinks=true, colorlinks=true,
linkcolor=$if(linkcolor)$$linkcolor$$else$gray$endif$, linkcolor=$if(linkcolor)$$linkcolor$$else$gray$endif$,
filecolor=$if(filecolor)$$filecolor$$else$magenta$endif$, filecolor=$if(filecolor)$$filecolor$$else$magenta$endif$,
citecolor=$if(citecolor)$$citecolor$$else$gray$endif$, citecolor=$if(citecolor)$$citecolor$$else$gray$endif$,
urlcolor=$if(urlcolor)$$urlcolor$$else$black$endif$, urlcolor=$if(urlcolor)$$urlcolor$$else$black$endif$,
$else$ $else$
hidelinks, hidelinks,
$endif$ $endif$
} }
\usepackage{filecontents}
\begin{filecontents*}{\jobname.xmpdata}
\Keywords{$if(aufgabe.typ)$$aufgabe.typ$\sep $endif$ $if(student.matrikelnr)$$student.matrikelnr$\sep $endif$ $if(aufgabe.code)$$aufgabe.code$\sep $endif$ $if(keywords)$ $for(keywords)$ $keywords[\sep ]$ $endfor$$endif$}
\Title{$if(title)$$title$$endif$$if(aufgabe.code)$: $aufgabe.code$$endif$}
$if(abstract)$\Subject{$abstract$} $endif$
\Author{$if(student.firstname)$$student.firstname$ $student.lastname$$else$$student.name$$endif$}
$if(hochschule.name)$\Org{$hochschule.name$}$endif$
$if(doi)$\Doi{$doi$}$endif$
\Language{de-De, en-En}
%\Publisher{}
\end{filecontents*}
% Designing blockquote % Designing blockquote
% ------------------------------------------------------------------ % ------------------------------------------------------------------
\definecolor{blockquote-border}{RGB}{221,221,221} \definecolor{blockquote-border}{RGB}{221,221,221}
@ -228,7 +254,6 @@ $endif$
\providecommand{\tightlist}{% \providecommand{\tightlist}{%
\setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}} \setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}}
% Support for citation % Support for citation
% ------------------------------------------------------------------- % -------------------------------------------------------------------
$if(natbib)$ $if(natbib)$
@ -285,11 +310,17 @@ $if(numbersections)$
\setcounter{secnumdepth}{$if(secnumdepth)$$secnumdepth$$else$5$endif$} \setcounter{secnumdepth}{$if(secnumdepth)$$secnumdepth$$else$5$endif$}
%\setcounter{secnumdepth}{-\maxdimen} % remove section numbering %\setcounter{secnumdepth}{-\maxdimen} % remove section numbering
$endif$ $endif$
$if(acronym)$
% This is for adding Acronym with SI units correct
\newcommand{\siacl}[3]{\num{#1} \acl{#2} (\si{#3})}
$endif$
$if(hyphenation)$
\hyphenation{$for(hyphenation)$$hyphenation$$sep$ $endfor$}
$endif$
% ---------------------------------------------------------------------------- % --------------------------------------------------------------
% begin document % begin document
% ---------------------------------------------------------------------------- % --------------------------------------------------------------
\begin{document} \begin{document}
@ -302,16 +333,16 @@ $if(assignment.beforetitle)$
$endif$ $endif$
$endif$ $endif$
% ---------------------------------------------------------------------------------------------------------- % -------------------------------------------------------------
% Kopf und Fußzeile % Kopf und Fußzeile
% ---------------------------------------------------------------------------------------------------------- % -------------------------------------------------------------
\renewcommand{\sectionmark}[1]{\markright{#1}} \renewcommand{\sectionmark}[1]{\markright{#1}}
\renewcommand{\leftmark}{\rightmark} \renewcommand{\leftmark}{\rightmark}
\pagestyle{fancy} \pagestyle{fancy}
\lhead{} \lhead{}
\chead{} \chead{}
\rhead{\thesection\space\contentsname} \rhead{\thesection\space\contentsname}
\lfoot{\tiny $if(aufgabe.typ)$$aufgabe.typ$ des Studenten: $endif$$if(author)$$author$$else$\studentname$endif$$if(student.matrikelnr)$ (Matrikelnr.: $student.matrikelnr$)$endif$ $if(studium.studiengang)$Studiengang: $studium.studiengang$$endif$ $if(aufgabe.code)$- Prüfung: $aufgabe.code$ $endif$} \lfoot{\tiny $if(aufgabe.typ)$$aufgabe.typ$ des Studenten: $endif$$if(author)$$author$$else$\studentname$endif$\,$if(student.matrikelnr)$(Matrikelnr.: $student.matrikelnr$)$endif$ $if(studium.studiengang)$Studiengang: $studium.studiengang$$endif$ $if(aufgabe.code)$- Prüfung: $aufgabe.code$ $endif$}
\cfoot{} \cfoot{}
\rfoot{\ \linebreak Seite \thepage} \rfoot{\ \linebreak Seite \thepage}
\renewcommand{\headrulewidth}{0.4pt} \renewcommand{\headrulewidth}{0.4pt}
@ -326,90 +357,120 @@ $endif$
\let\oldsection\section \let\oldsection\section
\renewcommand\section{\clearpage\oldsection} \renewcommand\section{\clearpage\oldsection}
% ---------------------------------------------------------------------------------------------------------- % -------------------------------------------------------------
% Titelseite % Titelseite
% ---------------------------------------------------------------------------------------------------------- % -------------------------------------------------------------
\thispagestyle{empty} \begin{titlepage}
% Ränder für Titleseite werden neugesetzt
% Links: 2cm
% Oben und unten: 2cm
% Rechts: 2cm
\newgeometry{top=$if(titelseite.rand_oben)$$titelseite.rand_oben$$else$20mm$endif$, left=$if(titelseite.rand_links)$$titelseite.rand_links$$else$20mm$endif$, right=$if(titelseite.rand_rechts)$$titelseite.rand_rechts$$else$20mm$endif$, bottom=$if(titelseite.rand_unten)$$titelseite.rand_unten$$else$20mm$endif$}
\begin{center} \begin{center}
$if(logo)$ $if(hochschule)$ $else$ \includegraphics[max width=\textwidth]{$logo$}\\ $endif$ $endif$ $if(hochschule)$ $if(logo)$ $else$ \Huge \textbf{$hochschule$} \\ $endif$ $endif$ $if(logo)$
\vspace*{2cm} \includegraphics[max width=\textwidth]{$logo$}\\
\Large $else$
$if(studium.studiengang)$ $-- Do Nothing if no logo is defined --$
\textbf{Studiengang:}\\ $endif$
\textbf{$studium.studiengang$}\\ $if(hochschule.name)$
$if(logo)$
$-- Do Nothing if the logo is defined --$
$else$
\Huge \textbf{$hochschule.name$} \\
$endif$
$endif$
\vspace*{1cm}
$if(aufgabe.typ)$
\Huge
\textbf{$aufgabe.typ$}\\
\vspace*{0.3cm}
$endif$
$if(studium.fachbereich)$
\large
\textbf{Fachbereich $studium.fachbereich$}\\
\vspace*{1cm} \vspace*{1cm}
$endif$ $else$
$if(studium.studiengang)$
\large
\textbf{Studiengang: $studium.studiengang$}\\
\vspace*{1cm}
$endif$
$endif$
$if(title)$
\Huge \Huge
$if(aufgabe.typ)$ \textbf{$title$} \\
\textbf{$aufageb.typ$}\\ $endif$
\vspace*{0.5cm}
$endif$
$if(title)$
\textbf{$title$} \\
$endif$
\vspace*{0.3cm} \vspace*{0.3cm}
\large \large
$if(aufgabe.code)$ $if(aufgabe.code)$
$aufgabe.code$ \\ $aufgabe.code$ \\ % Aufgabencode
$endif$ $endif$
\vspace*{0.5cm} \vspace*{0.5cm}
$if(studium.fach)$ $if(studium.fach)$
\textbf{$studium.fach$}\\ \textbf{$studium.fach$}\\
$endif$ $endif$
\vspace*{0.5cm} \vspace*{0.5cm}
\vfill \vfill
\normalsize \normalsize
\newcolumntype{x}[1]{>{\raggedleft\arraybackslash\hspace{0pt}}p{#1}} \newcolumntype{x}[1]{>{\raggedleft\arraybackslash\hspace{0pt}}p{#1}}
\begin{tabular}{x{6cm}p{7.5cm}} \begin{tabular}{x{6cm}p{7.5cm}}
$if(student)$ $if(studium.fachbereich)$
\rule{0mm}{5ex}\textbf{Student:} & \studentname $if(studium.studiengang)$
$if(student.strasse)$ \rule{0mm}{4ex}\textbf{Studiengang:} & $studium.studiengang$ \\
\newline $student.strasse$ $endif$
$endif$ $endif$
$if(student.ort)$ $if(student)$
\newline $student.ort$ \rule{0mm}{4ex}\textbf{Student:} & \studentname
$endif$ $if(student.email)$
$if(student.email)$ \newline $student.email$
\newline $student.email$ $endif$ \\
$endif$ \\ $endif$
$endif$ $if(student.matrikelnr)$
$if(betreuung)$ \rule{0mm}{4ex}\textbf{Matrikelnummer:} & $student.matrikelnr$ \\
\rule{0mm}{5ex}\textbf{Betreuung:} & $betreuung$ \\ $endif$
$endif$ $if(betreuer)$
$if(student.matrikelnr)$ \rule{0mm}{4ex}\textbf{Betreut durch:} & $for(betreuer)$$betreuer$$sep$\newline $endfor$\\
\rule{0mm}{5ex}\textbf{Matrikelnummer:} & $student.matrikelnr$ \\ $endif$
$endif$ $if(date)$
$if(date)$ \rule{0mm}{4ex}\textbf{Abgabedatum:} & $date$ \\ % Fixed date was set
\rule{0mm}{5ex}\textbf{Abgabedatum:} & $date$ \\ $else$
$else$ \rule{0mm}{4ex}\textbf{Abgabedatum:} & \today \\ % No date set, use today
\rule{0mm}{5ex}\textbf{Abgabedatum:} & \today \\ $endif$
$endif$
\end{tabular} \end{tabular}
\vfill
$if(hochschule.adresse)$
$if(hochschule.name)$$hochschule.name$, $endif$$hochschule.adresse$
$endif$
\end{center} \end{center}
\end{titlepage}
\restoregeometry % Zurück auf Standard Page Geometry
\pagebreak \pagebreak
% ---------------------------------------------------------------------------------------------------------- % -------------------------------------------------------------
% Assignment % Assignment
% ---------------------------------------------------------------------------------------------------------- % -------------------------------------------------------------
$if(assignment.file)$ $if(assignment.file)$
$if(assignment.beforetitle)$ $if(assignment.beforetitle)$
$-- Do Nothing if the assignment is before the title! --$
$else$ $else$
\assignment \assignment
$endif$ $endif$
$endif$ $endif$
$if(skipfirstpage)$ % Skip first page count, if skipfirstpage = 1 $if(skipfirstpage)$ % Skip first page count, if skipfirstpage = true
\clearpage \clearpage
\setcounter{page}{1} \setcounter{page}{1}
$endif$ $endif$
$if(abstract)$ $if(abstract)$
% ---------------------------------------------------------------------------------------------------------- % --------------------------------------------------------------
% Abstract % Abstract
% ---------------------------------------------------------------------------------------------------------- % --------------------------------------------------------------
\begin{abstract} \begin{abstract}
$abstract$ $abstract$
\end{abstract} \end{abstract}
@ -417,9 +478,9 @@ $endif$
$for(include-before)$ $for(include-before)$
% ---------------------------------------------------------------------------------------------------------- % --------------------------------------------------------------
% include-before Section % include-before Section
% ---------------------------------------------------------------------------------------------------------- % --------------------------------------------------------------
$include-before$ $include-before$
$endfor$ $endfor$
@ -429,69 +490,33 @@ $if(toc-title)$
$endif$ $endif$
{ {
$if(colorlinks)$ $if(colorlinks)$
\hypersetup{linkcolor=$if(toccolor)$$toccolor$$else$black$endif$} % Setup the link color of the toc \hypersetup{linkcolor=$if(toc-color)$$toc-color$$else$black$endif$} % Setup the link color of the toc
$endif$ $endif$
\setcounter{tocdepth}{$toc-depth$} \setcounter{tocdepth}{$toc-depth$}
% ---------------------------------------------------------------------------------------------------------- % --------------------------------------------------------------
% Inhaltsverzeichnis % Inhaltsverzeichnis
% ---------------------------------------------------------------------------------------------------------- % --------------------------------------------------------------
% TODO Typ vor Nummer
\renewcommand{\cfttabpresnum}{Tab. }
\renewcommand{\cftfigpresnum}{Abb. }
\settowidth{\cfttabnumwidth}{Abb. 10\quad}
\settowidth{\cftfignumwidth}{Abb. 10\quad}
\singlespacing \singlespacing
\rhead{$if(lang)$INHALTSVERZEICHNIS$else$TABLE OF CONTENTS$endif$} \rhead{$if(lang)$INHALTSVERZEICHNIS$else$TABLE OF CONTENTS$endif$} % Set Headline right to INHALTSVERZEICHNIS
\renewcommand{\contentsname}{I $if(lang)$Inhaltsverzeichnis$else$Table of contents$endif$} \renewcommand{\contentsname}{I $if(lang)$Inhaltsverzeichnis$else$Table of contents$endif$}
\phantomsection \phantomsection % Needet to hyperref the section
\addcontentsline{toc}{section}{\texorpdfstring{I \hspace{0.35em}$if(lang)$Inhaltsverzeichnis$else$Table of contents$endif$}{$if(lang)$Inhaltsverzeichnis$else$Table of contents$endif$}} %\addcontentsline{toc}{section}{\texorpdfstring{I \hspace{0.35em}$if(lang)$Inhaltsverzeichnis$else$Table of contents$endif$}{$if(lang)$Inhaltsverzeichnis$else$Table of contents$endif$}}
\addtocounter{section}{1} \addtocounter{section}{1} % reset the section counter to 1
\tableofcontents \tableofcontents
\pagebreak \pagebreak
} }
$endif$ $endif$
$if(lot)$ % --------------------------------------------------------------
% ----------------------------------------------------------------------------------------------------------
% Tabellenverzeichnis
% ----------------------------------------------------------------------------------------------------------
\rhead{$if(lang)$TABELLENVERZEICHNIS$else$LIST OF TABLES$endif$}
\listoftables
\pagebreak
$endif$
$if(lof)$
% ----------------------------------------------------------------------------------------------------------
% Abbildungsverzeichnis
% ----------------------------------------------------------------------------------------------------------
\rhead{$if(lang)$ABBILDUNGSVERZEICHNIS$else$LIST OF FIGURES$endif$}
\listoffigures
\pagebreak
$endif$
$if(abk)$
% ----------------------------------------------------------------------------------------------------------
% Abkürzungsverzeichnis
% ----------------------------------------------------------------------------------------------------------
\rhead{$if(lang)$ABKÜRZUNGSVERZEICHNIS$else$LIST OF ABBREVIATIONS$endif$}
\section{Abkürzungsverzeichnis}
\begin{acronym}[OSGi] % längste Abkürzung steht in eckigen Klammern
\setlength{\itemsep}{-\parsep} % geringerer Zeilenabstand
\acro{OSGi}{Open Service Gateway initiative}
\end{acronym}
\newpage
$endif$
% ----------------------------------------------------------------------------------------------------------
% Einrichtung der Kopfzeile % Einrichtung der Kopfzeile
% ---------------------------------------------------------------------------------------------------------- % --------------------------------------------------------------
\renewcommand{\sectionmark}[1]{\markright{#1}} \renewcommand{\sectionmark}[1]{\markright{#1}}
\renewcommand{\subsectionmark}[1]{} \renewcommand{\subsectionmark}[1]{}
\renewcommand{\subsubsectionmark}[1]{} \renewcommand{\subsubsectionmark}[1]{}
\lhead{$if(lang)$Abschnitt$else$Chapter$endif$ \thesection} \lhead{\thesection\space\nouppercase{\rightmark}}
\rhead{} %hier kann die rechte Seite der Kopfzeile editiert werden! \rhead{} %hier kann die rechte Seite der Kopfzeile editiert werden!
\onehalfspacing \onehalfspacing
@ -503,15 +528,69 @@ $endif$
%\renewcommand{\includegraphics}[1][]{\includegraphics[width=0.9\columnwidth,keepaspectratio]{#1}} %\renewcommand{\includegraphics}[1][]{\includegraphics[width=0.9\columnwidth,keepaspectratio]{#1}}
% ---------------------------------------------------------------------------------------------------------- % --------------------------------------------------------------
% Inhalt % Inhalt
% ---------------------------------------------------------------------------------------------------------- % --------------------------------------------------------------
$body$ $body$
% ---------------------------------------------------------------------------------------------------------- % --------------------------------------------------------------
% Verzeichnisse
% --------------------------------------------------------------
\pagebreak % wird benötigt um den header erst auf der folgeseite beginnen zu lassen.
\lhead{} % remove the left part of header
% Nachspann
\renewcommand{\thesection}{\Roman{section}}
\renewcommand{\theHsection}{\Roman{section}}
\pagenumbering{Roman}
% Pagebreak after each Section
%\let\oldsection\section
%\renewcommand\section{\clearpage\oldsection}
%\setcounter{section}{2}
%\setcounter{page}{2}
$if(acronym)$
% --------------------------------------------------------------
% Abkürzungsverzeichnis
% --------------------------------------------------------------
\rhead{$if(lang)$ABKÜRZUNGSVERZEICHNIS$else$LIST OF ABBREVIATIONS$endif$}
\section*{Abkürzungsverzeichnis}
\addcontentsline{toc}{section}{Abkürzungsverzeichnis}
\begin{acronym}[$acronym.longest$] % längste Abkürzung steht in eckigen Klammern
%\setlength{\itemsep}{-\parsep} % geringerer Zeilenabstand
$for(acronym.list)$
\acro{$it.id$}[$it.short$]{$it.long$}
$endfor$
\end{acronym}
\pagebreak
$endif$
$if(lof)$
% --------------------------------------------------------------
% Abbildungsverzeichnis
% --------------------------------------------------------------
\rhead{$if(lang)$ABBILDUNGSVERZEICHNIS$else$LIST OF FIGURES$endif$}
\listoffigures
\pagebreak
$endif$
$if(lot)$
% -----------------------------------------------------------------
% Tabellenverzeichnis
% -----------------------------------------------------------------
\rhead{$if(lang)$TABELLENVERZEICHNIS$else$LIST OF TABLES$endif$}
\listoftables
\pagebreak
$endif$
% --------------------------------------------------------------
% Literaturverzeichnis % Literaturverzeichnis
% ---------------------------------------------------------------------------------------------------------- % --------------------------------------------------------------
$if(natbib)$ $if(natbib)$
$if(bibliography)$ $if(bibliography)$
@ -526,7 +605,7 @@ $if(natbib)$
\begin{frame}[allowframebreaks]{$biblio-title$} \begin{frame}[allowframebreaks]{$biblio-title$}
\bibliographytrue \bibliographytrue
$endif$ $endif$
\bibliography{$for(bibliography)$$bibliography$$sep$,$endfor$} \bibliography{$for(bibliography)$$bibliography$$sep$, $endfor$}
$if(beamer)$ $if(beamer)$
\end{frame} \end{frame}
$endif$ $endif$
@ -549,61 +628,24 @@ $include-after$
$endfor$ $endfor$
%$if(biblatex)$
% \pagebreak
% \lhead{}
% \rhead{QUELLENVERZEICHNIS} %hier kann die rechte Seite der Kopfzeile editiert werden!
% \renewcommand{\refname}{Quellenverzeichnis}
% \printbibliography$if(biblio-title)$[title=$biblio-title$]$endif$
% \pagebreak
%$endif$
%$if(natbib)$
% $if(bibliography)$
% \pagebreak
% \lhead{}
% \rhead{QUELLENVERZEICHNIS} %hier kann die rechte Seite der Kopfzeile editiert werden!
% \renewcommand{\refname}{Quellenverzeichnis}
% \bibliography{$for(bibliography)$$bibliography$$sep$,$endfor$}
% $endif$
%$endif$
%$if(csl-refs)$
% \pagebreak
%\lhead{}
%\rhead{QUELLENVERZEICHNIS} %hier kann die rechte Seite der Kopfzeile editiert werden!
%\renewcommand{\refname}{Quellenverzeichnis}
%$endif$
%$if(biblatex)$
% ----------------------------------------------------------------------------------------------------------
% Literatur
% ----------------------------------------------------------------------------------------------------------
% \pagebreak
% \lhead{}
% \rhead{QUELLENVERZEICHNIS} %hier kann die rechte Seite der Kopfzeile editiert werden!
% \renewcommand{\refname}{Quellenverzeichnis}
% \ bibliographystyle{myalpha}
% \bibliography{bibo}
% \pagebreak
%\printbibliography$if(biblio-title)$[title=$biblio-title$]$endif$
%$endif$
$if(insurance)$ $if(insurance)$
% ---------------------------------------------------------------------------------------------------------- % -------------------------------------------------------------
% Erklärung zur Selbstständigkeit % Erklärung zur Selbstständigkeit
% ---------------------------------------------------------------------------------------------------------- % -------------------------------------------------------------
\newpage \newpage
\thispagestyle{empty} \thispagestyle{empty}
\begin{center} \begin{center}
\vspace*{5em} \vspace*{5em}
\huge\textbf{Erklärung}\\ \huge\textbf{Eidesstattliche Erklärung}\\
\end{center} \end{center}
\vspace{2em} \vspace{2em}
Ich, \studentname, versichere durch meine Unterschrift, dass ich die vorliegende Arbeit selbstständig erstellt habe. Andere als die angegebenen Hilfsmittel habe ich nicht ver-wendet.
Soweit ich fremde Gedankengänge oder Texte verwendet habe, sind diese von mir als solche kenntlich gemacht und dem Urheber eindeutig zuordenbar. Dazu zählen sowohl wört-liche als auch nicht wörtliche Übernahmen. \studentname, $student.matrikelnr$
Hiermit erkläre ich an Eides statt, dass ich diese Arbeit selbstständig abgefasst und keine anderen als die angegebenen Quellen und Hilfsmittel benutzt habe. Sämtliche Stellen der Arbeit, die im Wortlaut oder dem Sinne nach Publikationen oder Vorträgen anderer Autoren entnommen sind, habe ich als solche kenntlich gemacht. Ich bin mit einer Plagiatsprüfung einverstanden.
Die Arbeit wurde bisher keiner anderen Prüfungsbehörde vorgelegt und auch noch nicht veröffentlicht.
\vspace{4em} \vspace{4em}
\begin{minipage}{\linewidth} \begin{minipage}{\linewidth}
@ -614,6 +656,8 @@ Soweit ich fremde Gedankengänge oder Texte verwendet habe, sind diese
\end{minipage} \end{minipage}
$endif$ $endif$
$for(include-after)$ $for(include-after)$
$include-after$ $include-after$

Loading…
Cancel
Save