Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- documentclass[12pt,a4paper,twoside]{report} %openright
- %Schriftart Arial - ACHTUNG: Compile with XeLaTeX (not PDFLaTeX)!
- usepackage{fontspec}
- defaultfontfeatures{Scale = MatchLowercase}
- setmainfont{Arial}[Scale = 1.0]
- %Seitenlayout
- usepackage[top=2.5cm, bottom=2cm, left=2.5cm, right=2.5cm,paper=a4paper]{geometry}
- %Deutsche Umlaute
- usepackage{ngerman}
- %Zitierungen in der richtigen Reihenfolge
- usepackage{cite}
- %Längenangaben für den Abstand zwischen zwei Absätzen.
- usepackage{parskip}
- %Zeilenabstand ändern
- usepackage[onehalfspacing]{setspace}
- %Farbige Texte etc
- usepackage{color}
- %Graphiken und Bilder
- usepackage{graphicx}
- usepackage{subfig}
- usepackage{psfrag}
- usepackage{wrapfig}
- %Tabellenumgebung
- usepackage{tabularx}
- usepackage{booktabs} %toprule, midrule, bottomrule
- %Mathematische Symbole und Zeichen
- usepackage{amsmath}
- usepackage{amssymb}
- usepackage{mathrsfs}
- %Algorithm Package
- usepackage[ruled,vlined]{algorithm2e}
- %Kopfzeile
- usepackage{fancyhdr}
- %Kapitelanzeige und -platzierung im Text
- usepackage[clearempty]{titlesec}
- titleformat{chapter}{normalfontfontsize{16pt}{0}bfseries}{thechapter.}{9pt}{}
- titleformat{section}{normalfontfontsize{14pt}{0}bfseries}{thesection}{9pt}{}
- titleformat{subsection}{normalfontfontsize{12pt}{0}bfseries}{thesubsection}{9pt}{}
- titlespacing*{chapter}{0pt}{-22pt}{4pt}
- %Verzeichnisse
- usepackage[notindex, nottoc, numbib]{tocbibind} %TOC
- usepackage{tocbasic}
- DeclareTOCStyleEntry[
- indent=0pt,
- entrynumberformat=useprefixfigure{figurename},
- dynnumwidth,
- numsep=1em
- ]{tocline}{figure}
- newcommanduseprefixfigure[2]{#1hspace{3pt}#2:hfill}
- %Formatierung Inhaltsverzeichnis
- usepackage{titletoc}
- contentsmargin{2em}
- dottedcontents{chapter}[21pt]{addvspace{15pt}bfseries}{20pt}{9.5pt}
- dottedcontents{section}[50pt]{addvspace{3pt}}{2.3em}{9.5pt}
- dottedcontents{subsection}[89pt]{addvspace{3pt}}{3.2em}{9.5pt}
- % = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
- % Formatierung der Kopfzeile
- % = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
- setlength{headheight}{0.6cm}
- pagestyle{fancy}
- fancyhf{}
- fancyhead[EL,OR]{fontsize{8}{10} selectfont thepage}
- fancyhead[ER,OL]{fontsize{8}{10} selectfont leftmark}
- renewcommand{chaptermark}[1]{markboth{#1}{}}
- fancypagestyle{plain}{
- fancyhf{}
- fancyhead[EL,OR]{fontsize{8}{10} selectfont thepage}
- fancyhead[ER,OL]{fontsize{8}{10} selectfont nouppercase leftmark}
- }
- % = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
- begin{document}
- listoffigures
- newpage
- begin{figure}[!ht]
- centering
- rule{2cm}{2cm}
- caption{test figure one}
- label{fig:test1}
- end{figure}
- begin{figure}[!ht]
- centering
- rule{2cm}{2cm}
- caption{test figure two}
- label{fig:test2}
- end{figure}
- end{document}
- newcommanduseprefixfigure[2]{#1hspace{3pt}#2:hfill}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement