@ -36,6 +36,11 @@
\usepackage [subfigure,titles] { tocloft}
\usepackage [pdfpagelabels=true] { hyperref}
\usepackage { helvet}
% This two Packages are needet for Pandoc Table support. Issue is opened: https://github.com/jgm/pandoc/issues/1023
\usepackage { longtable}
\usepackage { booktabs}
% Syntax Highligting with colors
$ if ( highlighting - macros ) $
$ highlighting - macros $
$ endif $
@ -43,6 +48,7 @@ $if(verbatim-in-note)$
\usepackage { fancyvrb}
$ endif $
\usepackage { listings}
\lstset { basicstyle=\footnotesize , captionpos=b, breaklines=true, showstringspaces=false, tabsize=2, frame=lines, numbers=left, numberstyle=\tiny , xleftmargin=2em, framexleftmargin=2em}
\makeatletter
@ -52,15 +58,15 @@ $endif$
\geometry { a4paper, top=27mm, left=20mm, right=40mm, bottom=35mm, headsep=10mm, footskip=12mm} % Vorgabe des 4cm Rand auf der rechten Seiten.
\hypersetup { unicode=false, pdftoolbar=true, pdfmenubar=true, pdffitwindow=false, pdfstartview={ FitH} ,
pdftitle={ B-Prüfung } ,
pdfauthor={ $ author$ , Matrikelnummer: $ matrikelnr$ } ,
pdfsubject={ $ studi engang$ } ,
pdftitle={ $ if ( title ) $ $ title $ $ endif $ } ,
pdfauthor={ $ if( author.name) $ $ author.name $ $ endif $ , Matrikelnummer: $ if( author. matrikelnr) $ $ author.matrikelnr $ $ endif $ } ,
pdfsubject={ $ studi um.studi engang$ } ,
pdfcreator={ \LaTeX \ with package \flqq hyperref\frqq } ,
pdfproducer={ pdfTeX \the \pdftexversion .\pdftexrevision } ,
pdfkeywords={ B-Prüfung $ aufgabencode $ } ,
pdfkeywords={ $ if ( aufgabe.typ ) $ $ aufgabe.typ $ $ endif $ , $ if ( aufgabe.code ) $ $ aufgabe.code $ $ endif $ $ if ( keywords ) $ $ for ( keywords ) $ $ keywords $ $ sep $ , $ endfor $ $ endif $ } ,
pdfnewwindow=true,
colorlinks=true,linkcolor=black,citecolor=black ,filecolor=magenta,urlcolor=black}
\pdfinfo { /CreationDate (D:20170605133321)}
colorlinks=true,linkcolor=black,citecolor=gray ,filecolor=magenta,urlcolor=black}
% \pdfinfo { /CreationDate (D:20170605133321)}
\renewcommand { \familydefault } { \sfdefault }
% Pandoc tightlisting
@ -71,14 +77,16 @@ $endif$
\titlespacing { \section } { 0pt} { 12pt plus 4pt minus 2pt} { -6pt plus 2pt minus 2pt}
% Kopf- und Fusszeile
% ----------------------------------------------------------------------------------------------------------
% Kopf und Fußzeile
% ----------------------------------------------------------------------------------------------------------
\renewcommand { \sectionmark } [1]{ \markright { #1} }
\renewcommand { \leftmark } { \rightmark }
\pagestyle { fancy}
\lhead { }
\chead { }
\rhead { \thesection \space \contentsname }
\lfoot { \tiny B-Prüfung des Studenten: $ author $ (Matrikelnr.: $ matrikelnr $ ) Studiengang: $ studiengang $ - Prüfung: $ aufgabencode $ }
\lfoot { \tiny $ if ( aufgabe.typ ) $ $ aufgabe.typ $ $ endif $ des Studenten: $ if ( author.name ) $ $ author.name $ $ endif $ (Matrikelnr.: $ if ( author.matrikelnr ) $ $ author.matrikelnr $ $ endif $ ) Studiengang: $ studium.studiengang $ - Prüfung: $ if ( aufgabe.code ) $ $ aufgabe.code $ $ endif $ }
\cfoot { }
\rfoot { \ \linebreak Seite \thepage }
\renewcommand { \headrulewidth } { 0.4pt}
@ -104,34 +112,43 @@ $endif$
\vspace * { 2cm}
\Large
\textbf { Studiengang:} \\
\textbf { $ studi engang$ } \\
\textbf { $ studi um.studi engang$ } \\
\vspace * { 2cm}
\Huge
\textbf { B-Aufgabe } \\
\textbf { $ aufageb.typ $ } \\
\vspace * { 0.5cm}
$ if ( title ) $ \textbf { $ title $ } $ endif $ \\
\vspace * { 0.3cm}
\large
$ aufgabencode $ \\
$ if( aufgabe.code ) $ $ aufgabe.code $ $ endif $ \\
\vspace * { 1cm}
\textbf { $ fach$ } \\
\textbf { $ studium. fach$ } \\
\vspace * { 2cm}
\vfill
\normalsize
\newcolumntype { x} [1]{ >{ \raggedleft \arraybackslash \hspace { 0pt} } p{ #1} }
\begin { tabular} { x{ 6cm} p{ 7.5cm} }
\rule { 0mm} { 5ex} \textbf { Student:} & $ author $ \\
\rule { 0mm} { 5ex} \textbf { Matrikelnummer:} & $ matrikelnr $ \\
\rule { 0mm} { 5ex} \textbf { Student:} & $ if ( author.name ) $ $ author.name $ $ endif $
$ if ( author.email ) $ \newline $ author.email $ $ endif $ \\
\rule { 0mm} { 5ex} \textbf { Matrikelnummer:} & $ if ( author.matrikelnr ) $ $ author.matrikelnr $ $ endif $ \\
\rule { 0mm} { 5ex} \textbf { Abgabedatum:} & $ date $ \\
\end { tabular}
\end { center}
\pagebreak
% ----------------------------------------------------------------------------------------------------------
% Abstract
% ----------------------------------------------------------------------------------------------------------
$ if ( abstract ) $
\begin { abstract}
$ abstract $
\end { abstract}
$ endif $
% ----------------------------------------------------------------------------------------------------------
% Inhalt
% ----------------------------------------------------------------------------------------------------------
$ for ( include - before ) $
$ include - before $
@ -143,6 +160,7 @@ $if(colorlinks)$
\hypersetup { linkcolor=$ if ( toccolor ) $ $ toccolor $ $ else $ black$ endif $ }
$ endif $
\setcounter { tocdepth} { $ toc - depth $ }
% ----------------------------------------------------------------------------------------------------------
% Verzeichnisse
% ----------------------------------------------------------------------------------------------------------
@ -155,25 +173,26 @@ $endif$
\titlespacing { \section } { 0pt} { 12pt plus 4pt minus 2pt} { 2pt plus 2pt minus 2pt}
\singlespacing
\rhead { INHALTSVERZEICHNIS}
\renewcommand { \contentsname } { II Inhaltsverzeichnis}
\renewcommand { \contentsname } { I Inhaltsverzeichnis}
\phantomsection
\addcontentsline { toc} { section} { \texorpdfstring { II \hspace { 0.35em} Inhaltsverzeichnis} { Inhaltsverzeichnis} }
\addcontentsline { toc} { section} { \texorpdfstring { I \hspace { 0.35em} Inhaltsverzeichnis} { Inhaltsverzeichnis} }
\addtocounter { section} { 1}
\tableofcontents
\pagebreak
}
$ endif $
$ if ( lot ) $
\rhead { VERZEICHNISSE }
\rhead { TABELLEN VERZEICHNIS}
\pagebreak
\listoftables
$ endif $
$ if ( lof ) $
% Workaround for the HEADING if you don't use a list of tables
$ if ( lot ) $ $ else $ \rhead { VERZEICHNISSE } $ endif $
$ if ( lot ) $ $ else $ \rhead { ABBILDUNGS VERZEICHNIS} $ endif $
\listoffigures
\pagebreak
$ endif $
$ if ( abk ) $
% ----------------------------------------------------------------------------------------------------------
% Abkürzungen
@ -198,7 +217,7 @@ $endif$
\renewcommand { \sectionmark } [1]{ \markright { #1} }
\renewcommand { \subsectionmark } [1]{ }
\renewcommand { \subsubsectionmark } [1]{ }
\lhead { Lösung der Aufgabe: \thesection }
\lhead { Abschnitt \thesection }
\rhead { } % hier kann die rechte Seite der Kopfzeile editiert werden!
\onehalfspacing
@ -226,6 +245,11 @@ $if(biblatex)$
$ endif $
% ----------------------------------------------------------------------------------------------------------
% Erklärung zur selbstständigkeit
% ----------------------------------------------------------------------------------------------------------
$ if ( insurance ) $
\newpage
\thispagestyle { empty}
\begin { center}
@ -242,5 +266,6 @@ Hiermit versichere ich, dass ich meine Abschlussarbeit selbständig verfasst und
& \centering ($ author $ )\\
\end { tabular}
\end { minipage}
$ endif $
\end { document}