206 lines
7.5 KiB
Plaintext
206 lines
7.5 KiB
Plaintext
%% Seitenlayout ================================================== ==============================
|
|
%
|
|
% Layout laden um im Dokument den Befehl \layout nutzen zu können
|
|
%\usepackage[verbose]{layout}
|
|
%
|
|
|
|
% 1. Layout mit 'typearea'
|
|
\typearea{1} % Satzspiegelberechnung gemäß DIVcalc erneut durchführen
|
|
% nach Laden des Schrift-Pakets
|
|
|
|
% 2. Alternative: Layout mit 'geometry'
|
|
%\usepackage{geometry}
|
|
%\geometry{a4paper}
|
|
%\geometry{twoside}
|
|
%\geometry{marginparwidth=85pt}
|
|
%\geometry{textheight=55\baselineskip}
|
|
%\geometry{textwidth=418pt} % Standard
|
|
%\geometry{bindingoffset=5mm}
|
|
%
|
|
% - Anzeigen des Layouts -
|
|
%\geometry{showframe}
|
|
|
|
\raggedbottom % Variable Seitenhöhen zulassen
|
|
|
|
%% Farben ================================================== ====================================
|
|
|
|
% Farbe der Überschriften
|
|
%\definecolor{sectioncolor}{RGB}{0, 51, 153} % Blau
|
|
\definecolor{sectioncolor}{RGB}{0, 25, 152} % Blau (dunkler))
|
|
%\definecolor{sectioncolor}{RGB}{0, 0, 0} % Schwarz
|
|
%
|
|
% Farbe des Textes
|
|
\definecolor{textcolor}{RGB}{0, 0, 0} % Schwarz
|
|
%
|
|
% Farbe für grau hinterlegte Boxen (für Paket framed.sty)
|
|
\definecolor{shadecolor}{gray}{0.90}
|
|
|
|
% Farben für die Links im PDF
|
|
\definecolor{pdfurlcolor}{rgb}{0.6,0,0}
|
|
\definecolor{pdffilecolor}{rgb}{0,0.5,0}
|
|
\definecolor{pdflinkcolor}{rgb}{0,0,0.75}
|
|
|
|
%% Aussehen der URLS============================================== ==============================
|
|
|
|
%für URL (nur wenn url geladen ist)
|
|
\urlstyle{sf}
|
|
|
|
%% Kopf und Fusszeilen======================================== ==================================
|
|
\usepackage[automark, nouppercase]{scrpage2}
|
|
\pagestyle{scrheadings} % Seite mit Headern
|
|
%\pagestyle{scrplain} % Seiten ohne Header
|
|
%
|
|
% löscht voreingestellte Stile
|
|
\clearscrheadings
|
|
\clearscrplain
|
|
%
|
|
% Was steht wo...
|
|
\ohead{\pagemark} % Oben außen: Seitenzahlen
|
|
\ihead{\headmark} % Oben innen: Setzt Kapitel und Section automatisch
|
|
\cfoot[\pagemark]{} % Mitte unten: Seitenzahlen bei plain
|
|
|
|
%\usepackage{lastpage} % Stellt 'LastPage' zur Verfügung
|
|
%\cfoot[Seite \pagemark~von \pageref{LastPage}]{} % Seitenzahl von Anzahl Seiten
|
|
|
|
% Angezeigte Abschnitte im Header
|
|
%\automark[section]{chapter} %[rechts]{links}
|
|
\automark[subsection]{section} %[rechts]{links}
|
|
%
|
|
% Linien
|
|
\setheadsepline{.4pt} % Linie unter dem Head
|
|
|
|
|
|
%% Fussnoten ================================================== ========================
|
|
% Keine hochgestellten Ziffern in der Fußnote (KOMA-Script-spezifisch):
|
|
\deffootnote{1.5em}{1em}{\makebox[1.5em][l]{\thefootnotemark}}
|
|
|
|
\renewcommand{\footnoterule}{} % Keine Trennlinie zur Fußnote
|
|
\addtolength{\skip\footins}{\baselineskip} % Abstand Text <-> Fußnote
|
|
|
|
%% Schriften (Sections )================================================= =================
|
|
|
|
% -- Koma Schriften --
|
|
%\IfChapterDefined{%
|
|
\setkomafont{chapter}{\huge\sffamily} % Chapter
|
|
%}
|
|
\setkomafont{sectioning}{\sffamily} % % Titelzeilen
|
|
\setkomafont{pagenumber}{\bfseries\sffamily} % Seitenzahl
|
|
\setkomafont{pagehead}{\small\sffamily\slshape} % Kopfzeile
|
|
%
|
|
\addtokomafont{sectioning}{\color{sectioncolor}} % Farbe der Überschriften
|
|
\addtokomafont{chapter}{\color{sectioncolor}} % Farbe der Überschriften
|
|
|
|
\renewcommand*{\raggedsection}{\raggedright} % Titelzeile linksbündig, hängend
|
|
%
|
|
% -- Überschriftenkomlett Umdefinieren --
|
|
\usepackage{titlesec}
|
|
\input{preambel/Sections/Custom-Section}
|
|
\input{preambel/Sections/Custom-Chapter}
|
|
%
|
|
%\usepackage[Lenny]{fncychap}
|
|
|
|
%% Captions (Schrift, Aussehen) ================================================== ===========
|
|
|
|
% % Folgende Befehle werden durch das Paket caption und subfig ersetzt !
|
|
% \setcapindent{1em} % Einrückung der Beschriftung
|
|
% \setkomafont{caption}{\color{black}\small\sffamily \RaggedRight} % Schrift für Caption
|
|
% \setkomafont{captionlabel}{\color{black}\small} % Schrift für 'Abbildung' usw.
|
|
|
|
\usepackage{caption}
|
|
% Aussehen der Captions
|
|
\captionsetup{
|
|
margin = 10pt,
|
|
font = {small,sf},
|
|
labelfont = {small,bf},
|
|
format = default, % oder 'hang'
|
|
indention = 0em, % Einrücken der Beschriftung
|
|
labelsep = colon, %period, space, quad, newline
|
|
justification = RaggedRight, % justified, centering
|
|
singlelinecheck = true, % false (true=bei einer Zeile immer zentrieren)
|
|
position = bottom %top
|
|
}
|
|
% Aussehen der Captions für subfigures (subfig-Paket)
|
|
\captionsetup[subfloat]{%
|
|
margin = 10pt,
|
|
font = {small,sf},
|
|
labelfont = {small,bf},
|
|
format = default, % oder 'hang'
|
|
indention = 0em, % Einrücken der Beschriftung
|
|
labelsep = space, %period, space, quad, newline
|
|
justification = RaggedRight, % justified, centering
|
|
singlelinecheck = true, % false (true=bei einer Zeile immer zentrieren)
|
|
position = bottom, %top
|
|
labelformat = parens % simple, empty % Wie die Bezeichnung gesetzt wird
|
|
}
|
|
|
|
% Ändern der Bezeichnung für Abbildung und Tabelle
|
|
% \addto\captionsngerman{% "captionsgerman" für alte Rechschreibung
|
|
% \renewcommand{\figurename}{Abb.}%
|
|
% \renewcommand{\tablename}{Tab.}%
|
|
% }
|
|
|
|
% Caption für nicht fließende Umgebungen
|
|
%\usepackage{capt-of}
|
|
%\captionof{table}[short Titel]{long Titel}
|
|
%
|
|
% Implementiert nichts anderes als folgende Befehle
|
|
%\makeatletter
|
|
%\newcommand\figcaption{\def\@captype{figure}\capt ion}
|
|
%\newcommand\tablecaption{\def\@captype{table}\cap tion}
|
|
%\makeatother
|
|
|
|
|
|
|
|
%% Inhaltsverzeichnis (Schrift, Aussehen) sowie weitere Verzeichnisse =================
|
|
|
|
\setcounter{secnumdepth}{3} % Abbildungsnummerierung mit größerer Tiefe
|
|
\setcounter{tocdepth}{2} % Inhaltsverzeichnis mit größerer Tiefe
|
|
|
|
% -------------------------------------------------------
|
|
|
|
% Aussehen des Inhaltsverzeichnisses
|
|
\usepackage[subfigure]{tocloft} % Wenn subfigure geladen wird (ist ein Bugfix)
|
|
|
|
%%%% Layout Matthias Pospiech (alles serifenlos)
|
|
%\usepackage{tocloft}
|
|
%\IfChapterDefined{%
|
|
\renewcommand{\cftchappagefont}{\sffamily\bfseries } % Kapitel Seiten Schrift
|
|
\renewcommand{\cftchapfont}{\sffamily\bfseries} % Kapitel Schrift
|
|
%}
|
|
\renewcommand{\cftsecpagefont}{\sffamily} % Section Seiten Schrift
|
|
\renewcommand{\cftsubsecpagefont}{\sffamily} % Subsectin Seiten Schrift
|
|
\renewcommand{\cftsecfont}{\sffamily} % Section Schrift
|
|
\renewcommand{\cftsubsecfont}{\sffamily} % Subsection Schrift
|
|
|
|
%%%% Layout aus Typokurz:
|
|
% % Seitenzahlen direkt hinter TOC-Eintrag:
|
|
% % Ebene \chapter
|
|
% \renewcommand{\cftchapleader}{}
|
|
% \renewcommand{\cftchapafterpnum}{\cftparfillskip}
|
|
% % Ebene \section
|
|
% \renewcommand{\cftsecleader}{}
|
|
% \renewcommand{\cftsecafterpnum}{\cftparfillskip}
|
|
% % Ebene \subsection
|
|
% \renewcommand{\cftsubsecleader}{}
|
|
% \renewcommand{\cftsubsecafterpnum}{\cftparfillskip }
|
|
% % Abstände vor Einträgen im TOC verkleinern
|
|
% \setlength{\cftbeforesecskip}{.4\baselineskip}
|
|
% \setlength{\cftbeforesubsecskip}{.1\baselineskip}
|
|
|
|
% TOC in mehreren Spalten setzen
|
|
%\usepackage[toc]{multitoc}
|
|
|
|
% -------------------------
|
|
|
|
%Schriften für Minitoc (Inhaltsverzeichnis vor jedem Kapitel)
|
|
%\IfChapterDefined{%
|
|
\usepackage{minitoc}
|
|
%\mtcselectlanguage{germanb}
|
|
\setlength{\mtcindent}{0em}
|
|
\renewcommand{\mtifont}{\usekomafont{sectioning}} % Titles
|
|
\renewcommand{\mtcfont}{\normalsize\usekomafont{se ctioning}\color{textcolor}}
|
|
\renewcommand{\mtcSfont}{\normalsize\usekomafont{s ectioning}\color{textcolor}} % Section Font
|
|
\renewcommand{\mtcSSfont}{\small\usekomafont{secti oning}\color{textcolor}} % SubSection Font
|
|
\renewcommand{\mtcSSSfont}{\small\usekomafont{sect ioning}\color{textcolor}} % subsubSection Font
|
|
\setcounter{minitocdepth}{2}
|
|
%} |