init
This commit is contained in:
206
Seitenlayout.txt
Normal file
206
Seitenlayout.txt
Normal file
@@ -0,0 +1,206 @@
|
||||
%% Seitenlayout ================================================== ==============================
|
||||
%
|
||||
% Layout laden um im Dokument den Befehl \layout nutzen zu k<>nnen
|
||||
%\usepackage[verbose]{layout}
|
||||
%
|
||||
|
||||
% 1. Layout mit 'typearea'
|
||||
\typearea{1} % Satzspiegelberechnung gem<65><6D> DIVcalc erneut durchf<68>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<6E>hen zulassen
|
||||
|
||||
%% Farben ================================================== ====================================
|
||||
|
||||
% Farbe der <20>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<61>en: Seitenzahlen
|
||||
\ihead{\headmark} % Oben innen: Setzt Kapitel und Section automatisch
|
||||
\cfoot[\pagemark]{} % Mitte unten: Seitenzahlen bei plain
|
||||
|
||||
%\usepackage{lastpage} % Stellt 'LastPage' zur Verf<72>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<46>note (KOMA-Script-spezifisch):
|
||||
\deffootnote{1.5em}{1em}{\makebox[1.5em][l]{\thefootnotemark}}
|
||||
|
||||
\renewcommand{\footnoterule}{} % Keine Trennlinie zur Fu<46>note
|
||||
\addtolength{\skip\footins}{\baselineskip} % Abstand Text <-> Fu<46>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 <20>berschriften
|
||||
\addtokomafont{chapter}{\color{sectioncolor}} % Farbe der <20>berschriften
|
||||
|
||||
\renewcommand*{\raggedsection}{\raggedright} % Titelzeile linksb<73>ndig, h<>ngend
|
||||
%
|
||||
% -- <20>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<6E>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<6E>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<6E>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
|
||||
}
|
||||
|
||||
% <20>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<69>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<67><72>erer Tiefe
|
||||
\setcounter{tocdepth}{2} % Inhaltsverzeichnis mit gr<67><72>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<73>nde vor Eintr<74>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}
|
||||
%}
|
||||
Reference in New Issue
Block a user