-
Notifications
You must be signed in to change notification settings - Fork 24
/
Copy pathSeitenstil.tex
67 lines (48 loc) · 1.9 KB
/
Seitenstil.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
% !TEX encoding = UTF-8 Unicode
% !TEX root = Bachelorarbeit.tex
% Zeilenabstand 1,5 Zeilen ---------------------------------------------------------------------
\onehalfspacing{}
% Seitenränder ------------------------------------------------------------------------------------
\setlength{\topskip}{\ht\strutbox} % behebt Warnung von geometry
\geometry{paper=a4paper,left=35mm,right=35mm,top=35mm}
% Kopf- und Fußzeilen --------------------------------------------------------------------------
\pagestyle{scrheadings}
% Kopf- und Fußzeile auch auf Kapitelanfangsseiten
\renewcommand*{\chapterpagestyle}{scrheadings}
% Schriftform der Kopfzeile
\renewcommand{\headfont}{\normalfont}
% Kopfzeile für einseitiges Dokument:
\ihead{%\small{\textsc{\titel} \\
%\untertitel
%\\[2ex]
\textit{\headmark}%}
}
\chead{}
\rohead{\includegraphics[scale=0.06]{\logo}}
\setlength{\headheight}{21mm} % Höhe der Kopfzeile
% Kopfzeile über den Text hinaus verbreitern
\setheadwidth[0pt]{textwithmarginpar}
\setheadsepline[text]{0.4pt} % Trennlinie unter Kopfzeile
%% Kopfzeile für Zweiseitiges Dokument:
%\ihead{\textit{\leftmark}}
%\chead{}
%\ohead{}
%\lehead{\includegraphics[scale=0.25]{\logo}}
%\rohead{\includegraphics[scale=0.25]{\logo}}
%\setheadsepline[text]{0.4pt} % Trennlinie unter Kopfzeile
% Fußzeile
%\ifoot{\copyright\ \autor}
\cfoot{}
\ofoot{\pagemark \\[4ex]}
% sonstige typographische Einstellungen ---------------------------------------------------
% erzeugt ein wenig mehr Platz hinter einem Punkt
\frenchspacing{}
% Schusterjungen und Hurenkinder vermeiden
\clubpenalty = 10000
\widowpenalty = 10000
\displaywidowpenalty = 10000
% Quellcode-Ausgabe formatieren
\lstset{numbers=left, numberstyle=\tiny, numbersep=5pt, breaklines=true}
\lstset{emph={square}, emphstyle=\color{red}, emph={[2]root,base}, emphstyle={[2]\color{blue}}}
% Fußnoten fortlaufend durchnummerieren
\counterwithout{footnote}{chapter}