-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlayout.tex
More file actions
169 lines (140 loc) · 5.82 KB
/
layout.tex
File metadata and controls
169 lines (140 loc) · 5.82 KB
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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
\KOMAoptions{
numbers=noenddot,
headings=standardclasses,
chapterprefix=false,
paper=a5, % Papierformat ist DIN B5
fontsize=11pt
}
%% Encoding
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
%% Hierfür wird das CTAN-Paket MinionPro, zusammen mit den
%% Type-1-Dateien der Minion Pro, benötigt.
\usepackage[fullfamily,textosf,mathlf,opticals,footnotefigures]{MinionPro}
%% Serifenlose
\usepackage{classico}
%% Damit die (Fake-)Kapitälchen auch mit neuen Versionen des
%% classico-Pakets funktionieren
\pdfmapfile{=classico_uop.map}
\makeatletter
%% Leider können wir nicht einfach zusätzliche font shapes definieren,
%% sondern müssen alles hier tun. Nun gut.
\DeclareFontFamily{T1}{URWClassico-LF}{}
\DeclareFontShape{T1}{URWClassico-LF}{b}{it}{<-> URWClassico-BoldItalic-lf-t1}{}
\DeclareFontShape{T1}{URWClassico-LF}{bold}{it}{<-> alias * URWClassico-LF/b/it}{}
\DeclareFontShape{T1}{URWClassico-LF}{b}{n}{<-> URWClassico-Bold-lf-t1}{}
\DeclareFontShape{T1}{URWClassico-LF}{bold}{n}{<-> alias * URWClassico-LF/b/n}{}
\DeclareFontShape{T1}{URWClassico-LF}{b}{sl}{<-> ssub * URWClassico-LF/b/it}{}
\DeclareFontShape{T1}{URWClassico-LF}{bold}{sl}{<-> ssub * URWClassico-LF/bold/it}{}
\DeclareFontShape{T1}{URWClassico-LF}{b}{sc}{<-> uopbc8t}{}
\DeclareFontShape{T1}{URWClassico-LF}{bold}{sc}{<-> alias * URWClassico-LF/b/sc}{}
\DeclareFontShape{T1}{URWClassico-LF}{m}{it}{<-> URWClassico-Italic-lf-t1}{}
\DeclareFontShape{T1}{URWClassico-LF}{regular}{it}{<-> alias * URWClassico-LF/m/it}{}
\DeclareFontShape{T1}{URWClassico-LF}{m}{n}{<-> URWClassico-Regular-lf-t1}{}
\DeclareFontShape{T1}{URWClassico-LF}{regular}{n}{<-> alias * URWClassico-LF/m/n}{}
\DeclareFontShape{T1}{URWClassico-LF}{m}{sl}{<-> ssub * URWClassico-LF/m/it}{}
\DeclareFontShape{T1}{URWClassico-LF}{regular}{sl}{<-> ssub * URWClassico-LF/regular/it}{}
\DeclareFontShape{T1}{URWClassico-LF}{m}{sc}{<-> uoprc8t}{}
\DeclareFontShape{T1}{URWClassico-LF}{regular}{sc}{<-> alias * URWClassico-LF/regular/sc}{}
\DeclareFontShape{T1}{URWClassico-LF}{bx}{it}{<-> ssub * URWClassico-LF/b/it}{}
\DeclareFontShape{T1}{URWClassico-LF}{bx}{sl}{<-> ssub * URWClassico-LF/b/sl}{}
\DeclareFontShape{T1}{URWClassico-LF}{bx}{n}{<-> ssub * URWClassico-LF/b/n}{}
\DeclareFontShape{T1}{URWClassico-LF}{bx}{sc}{<-> ssub * URWClassico-LF/b/sc}{}
\makeatother
%% Eine Dicktengleiche
\usepackage[scaled=.8]{beramono}
%% Sprache, Anführungszeichen, Datum
\usepackage{babel}
\usepackage{csquotes}
\usepackage[cleanlook]{isodate}
%% Mikrotypographie
\usepackage{ellipsis}
\usepackage[babel,letterspace=170]{microtype}
%% Fancy tables
\usepackage{booktabs}
%% Farben
\usepackage[dvipsnames]{xcolor}
\usepackage[size=tiny]{todonotes}
%% Wird für die Kapitelziffern benötigt.
\usepackage{marginnote}
%% Sinnvoll konfigurierbare Listen
\usepackage{enumitem}
\setlist{nosep}
%% Text nicht vertikal strecken
%\raggedbottom
%% Hurenkinder verbieten
\makeatletter
\widowpenalty=\@M
\makeatother
%% Wir wollen, dass auch, wenn wir für Typographie alles groß oder
%% klein setzen, trotzdem die korrekten Buchstaben kopiert werden und
%% in PDF-Metadaten landen.
\usepackage{accsupp}
\makeatletter
\newcommand*{\c@pyCorrectly}[2]{\texorpdfstring{%
\protect\BeginAccSupp{%
method=pdfstringdef,%
ActualText=#1%
}%
#2%
\protect\EndAccSupp{}}%
{#1}%
}
%% Akronyme
%% Optionales Argument für Reintext-Version (bspw. ohne Kerning)
\usepackage{xifthen}
\newcommand*{\@cr}[2]{\c@pyCorrectly{#1}{\textsc{\textls[40]{\MakeLowercase{#2}}}}}
\newcommand*{\acr}[2][]{\ifthenelse{\isempty{#1}}{\@cr{#2}{#2}}{\@cr{#1}{#2}}}
%% Verschiedene Sperrungen von small caps
\newcommand*{\name}[1]{\c@pyCorrectly{#1}{\textsc{\textls[40]{\MakeLowercase{#1}}}}}
\newcommand*{\tableHead}[1]{\c@pyCorrectly{#1}{\textsc{\textls[60]{\MakeLowercase{#1}}}}}
%% Etwas mehr Spacing für spaced small caps
\SetTracking[spacing={100*,166,}]{encoding=*,shape=ssc}{15}
\newcommand*{\SAC}[1]{\c@pyCorrectly{#1}{\textls{\MakeUppercase{#1}}}} % spaced all caps
\newcommand*{\SLSC}[1]{\c@pyCorrectly{#1}{\textssc{\MakeLowercase{#1}}}} % spaced lowercase small caps
\makeatother
%% Paragraph
%\setkomafont{paragraph}{\sscshape\mdseries}
%% Sections
\addtokomafont{section}{\normalsize\sscshape\lsstyle\mdseries\MakeLowercase}
\renewcommand*{\sectionformat} {\upshape\mdseries\sscshape\thesection\enskip\hspace*{2px}}
\RedeclareSectionCommand[afterskip=1\baselineskip plus 2pt minus 2pt]{section}
%% Subsections
\addtokomafont{subsection}{\normalsize\mdseries\itshape}
\renewcommand*{\subsectionformat}{\upshape\mdseries\scshape\thesubsection\enskip}
\RedeclareSectionCommand[afterskip=.75\baselineskip plus 2pt minus 2pt]{subsection}
%% Chapter
\RedeclareSectionCommand[beforeskip=0\baselineskip,afterskip=1\baselineskip,afterindent=false]{chapter}
\addtokomafont{chapter}{\mdseries\normalsize\lsstyle}
\renewcommand*{\chapterformat}{\thechapter}%\normalsize\textssc{kapitel \thechapter}}
\renewcommand{\chapterlinesformat}[3]{%
\MakeUppercase{#3}\par%
\marginnote{\smash{\fontsize{70}{60}\selectfont #2}}
\rule[-.15\baselineskip]{\linewidth}{.5pt}\par\nobreak
}%
%% Satzspiegel
%\KOMAoptions{DIV=10}
\areaset{288pt}{480pt}%
\setlength{\marginparwidth}{8em}%
\setlength{\marginparsep}{1.5em}%
\setlength{\footskip}{2.5\baselineskip}
%% Keine Kopfzeilen
\pagestyle{plain}
%% Footnote-Design
\usepackage{footmisc}
\setlength{\footnotemargin}{0em}
\deffootnote{0em}{0em}{%
\textsuperscript{\normalfont\thefootnotemark\ }}
%% Einzelne Zeichen
%\fboxsep0pt
%\newcommand{\Char}[1]{\colorbox{black!10}{\strut\textcolor{Maroon}{\hspace*{1px}#1\hspace*{1px}}}}
\newcommand*{\Char}[1]{\textcolor{Maroon}{#1}}
\newcommand*{\tab}[1]{\figureversion{tab}{#1}}
\usepackage[margin =20pt,
font ={footnotesize},
format =plain,
labelsep =period]{caption}
%%% Local Variables:
%%% mode: latex
%%% TeX-master: "main"
%%% End: