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}
- %Zeilenabstand ändern
- usepackage[onehalfspacing]{setspace}
- %Graphiken und Bilder
- usepackage{subfig}
- %Kopfzeile
- usepackage{fancyhdr}
- %Verzeichnisse
- usepackage[notindex, nottoc, numbib]{tocbibind}
- %usepackage[subfigure]{tocloft}
- %renewcommandcftchapdotsep{cftdotsep}
- %Längenangaben für den Abstand zwischen zwei Absätzen.
- usepackage{parskip}
- %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}{7pt}
- % = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
- % 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}
- }
- % = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
- % Anfang von Dokumententext
- % = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
- begin{document}
- pagenumbering{Roman}
- % = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
- % Verzeichnisse
- % = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
- tableofcontents
- chapter{Chapter 1}
- section{test section}
- subsection{test section}
- section{test section}
- subsection{test section}
- end{document}
- usepackage[subfigure]{tocloft}
- renewcommandcftchapdotsep{cftdotsep}
- titlespacing*{chapter}{0pt}{-22pt}{7pt}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement