Chapter1 half corr., Chapter2 no corr.
This commit is contained in:
@@ -30,15 +30,15 @@
|
||||
%% ------------------
|
||||
\usepackage[utf8]{inputenc} % for using utf8 chars (äöüß)
|
||||
\usepackage[T1]{fontenc} % for correct font encoding (you
|
||||
% can't search for non-ascii
|
||||
% can't search for non-ascii
|
||||
% chars in pdf otherwise)
|
||||
\usepackage{lmodern} % the font used by T1 font enc
|
||||
\usepackage[protrusion=true, % microtype package for better
|
||||
\usepackage[protrusion=true, % microtype package for better
|
||||
expansion, % line breaks, kerning, etc.
|
||||
tracking,
|
||||
kerning,
|
||||
spacing]{microtype}
|
||||
\microtypecontext{spacing=nonfrench} % option for scrbook to allow
|
||||
\microtypecontext{spacing=nonfrench} % option for scrbook to allow
|
||||
% microtype->nonfrenchspacing
|
||||
% for info on nonfrenchspacing:
|
||||
% en.wikipedia.org/wiki/ \
|
||||
@@ -47,7 +47,10 @@
|
||||
|
||||
\usepackage[english,ngerman]{babel} % babel language styles. you may
|
||||
% add languages, if need to be.
|
||||
\usepackage[fixlanguage]{babelbib} % use babel bibtex. fixlanguage
|
||||
|
||||
\usepackage[backend=bibtex,citestyle=numeric,style=numeric,natbib=true]{biblatex} % Use the bibtex backend with the authoryear citation style (which resembles APA)
|
||||
|
||||
%\usepackage[fixlanguage]{babelbib} % use babel bibtex. fixlanguage
|
||||
% = don't switch language
|
||||
% between bib items
|
||||
%\usepackage{cite} % for bibtex without babel
|
||||
@@ -56,44 +59,45 @@
|
||||
\usepackage{amssymb} % ... even more math packages
|
||||
%\usepackage{mathtools} % ... (not necessary package)
|
||||
%\usepackage{bbm} % blackboard style fonts.
|
||||
% You may prefer the provided
|
||||
% \mathbbm{R} to ordinary
|
||||
% You may prefer the provided
|
||||
% \mathbbm{R} to ordinary
|
||||
% \mathbb{R}.
|
||||
|
||||
|
||||
\usepackage{upgreek} % use $\uppi$ etc.
|
||||
\usepackage{nicefrac} % use \nicefrac{1}{2}
|
||||
\usepackage{nicefrac} % use \nicefrac{1}{2}
|
||||
% for inline text, if you want
|
||||
\usepackage[load-configurations=abbreviations]
|
||||
{siunitx} % package for units. Use
|
||||
% \si{\ampere} or
|
||||
{siunitx} % package for units. Use
|
||||
% \si{\ampere} or
|
||||
% \SI{0.3}{\angstrom}.
|
||||
\sisetup{per-mode=fraction} % style of writing units
|
||||
\sisetup{per-mode=symbol} % style of writing units
|
||||
\sisetup{separate-uncertainty=true} % to allow for $\pm...$ as un-
|
||||
% certainty instead of 0.34(12)
|
||||
\usepackage[version=3]{mhchem} % to nicely write chemcial
|
||||
|
||||
\usepackage[version=3]{mhchem} % to nicely write chemcial
|
||||
% elements (e.g.
|
||||
% \ce{^{227}_{90}Th+})
|
||||
|
||||
\usepackage{vmargin} % Adjust margins in a simple way
|
||||
% (is used below).
|
||||
\usepackage{fancyhdr} % Define simple page headings
|
||||
\usepackage{fancyhdr} % Define simple page headings
|
||||
% (is used below).
|
||||
\usepackage{placeins} % To use \FloatBarrier
|
||||
|
||||
\usepackage[nottoc, % So that the Bibliography will
|
||||
\usepackage[nottoc, % So that the Bibliography will
|
||||
notlot, % be added to the ToC
|
||||
notlof]{tocbibind}
|
||||
|
||||
\usepackage{varioref} % Intelligent page
|
||||
% references. Provides \vref
|
||||
\usepackage{varioref} % Intelligent page
|
||||
% references. Provides \vref
|
||||
% and \vpageref
|
||||
|
||||
\usepackage{booktabs}
|
||||
\usepackage[table]{xcolor} % used for some coloring
|
||||
% commands. table option for
|
||||
\usepackage[table]{xcolor} % used for some coloring
|
||||
% commands. table option for
|
||||
% beautiful colored tables.
|
||||
\definecolor{kitcolor}{rgb}{0 0.61 0.50} % color is defined here and
|
||||
% later used for several
|
||||
\definecolor{kitcolor}{rgb}{0 0.61 0.50} % color is defined here and
|
||||
% later used for several
|
||||
% definitions
|
||||
|
||||
\usepackage[pdftex]{graphicx} % including images
|
||||
@@ -107,21 +111,21 @@
|
||||
% for subpictures
|
||||
|
||||
\usepackage[absolute,overlay]{textpos} % used for titlepage
|
||||
\usepackage{tikz} % used for titlepage,
|
||||
% but may be useful for other
|
||||
\usepackage{tikz} % used for titlepage,
|
||||
% but may be useful for other
|
||||
% stuff, too.
|
||||
\usepackage{ifthen} % for some control
|
||||
\usepackage{ifthen} % for some control
|
||||
% sequences in this class
|
||||
\usepackage[fit,breakall]{truncate} % used for creating
|
||||
\usepackage[fit,breakall]{truncate} % used for creating
|
||||
% textfields on titlepage
|
||||
\usepackage{etoolbox} % necessary to update page
|
||||
\usepackage{etoolbox} % necessary to update page
|
||||
% numbering for chapters
|
||||
\usepackage{xstring} % used for creating substring
|
||||
\usepackage{xstring} % used for creating substring
|
||||
% out of \appendixname
|
||||
\usepackage{multicol} % used for titlepage. Usefull
|
||||
\usepackage{multicol} % used for titlepage. Usefull
|
||||
% for other stuff, too.
|
||||
|
||||
\DeclareGraphicsRule{*}{mps}{*}{} % enables compiling
|
||||
\DeclareGraphicsRule{*}{mps}{*}{} % enables compiling
|
||||
% images with pdf-latex
|
||||
\DeclareGraphicsExtensions{.eps, % different image exts used
|
||||
.pdf,
|
||||
@@ -145,22 +149,22 @@
|
||||
linkbordercolor=kitcolor,
|
||||
citebordercolor=kitcolor]{hyperref}
|
||||
|
||||
\RequirePackage{scrlfile} % Prevent svg (<2.0) package
|
||||
\RequirePackage{scrlfile} % Prevent svg (<2.0) package
|
||||
\PreventPackageFromLoading{subfig} % from loading subfig.
|
||||
% See also iss. #13
|
||||
\usepackage{svg} % include svg graphics
|
||||
|
||||
\graphicspath{{./chap/}{./fig/}} % To include graphics from the
|
||||
% following directories it will
|
||||
% be sufficient to use the
|
||||
% filename; no need to indicate
|
||||
% the relative path from the
|
||||
% main % directory. Add more
|
||||
\graphicspath{{./chap/}{./fig/}} % To include graphics from the
|
||||
% following directories it will
|
||||
% be sufficient to use the
|
||||
% filename; no need to indicate
|
||||
% the relative path from the
|
||||
% main % directory. Add more
|
||||
% directories if you like.
|
||||
|
||||
|
||||
|
||||
\usepackage[printonlyused]{acronym}
|
||||
\usepackage[autostyle]{csquotes}
|
||||
\usepackage[autostyle]{csquotes}
|
||||
\usepackage{mhchem}
|
||||
|
||||
%% --------------------------
|
||||
@@ -268,8 +272,78 @@
|
||||
}
|
||||
|
||||
|
||||
% Simple interface for the user to customize the chapter titles
|
||||
\ProvideDocumentCommand{\abovechapterskip}{}{\vspace*{20pt}}
|
||||
\ProvideDocumentCommand{\chapterbelowskip}{}{\vspace*{40pt}}
|
||||
\ProvideDocumentCommand{\chapterinbetweenskip}{}{\vspace*{20pt}}
|
||||
\ProvideDocumentCommand{\autodot}{}{}
|
||||
\ProvideDocumentCommand{\mdtChapapp}{}{}
|
||||
\ProvideDocumentCommand{\chapteralign}{}{\raggedright}
|
||||
\ProvideDocumentCommand{\chapterfont}{}{\Huge\bfseries}
|
||||
\ProvideDocumentCommand{\chapterprefixfont}{}{\LARGE\bfseries}
|
||||
\DeclareDocumentCommand{\@makechapterhead}{ m }{%
|
||||
\abovechapterskip
|
||||
{\parindent \z@ \chapteralign \normalfont
|
||||
\ifnum \c@secnumdepth >\m@ne
|
||||
\if@mainmatter
|
||||
\ifbool{chapteroneline}{%
|
||||
\chapterfont \mdtChapapp\thechapter\autodot\enspace
|
||||
}{%
|
||||
\chapterprefixfont \@chapapp\space \thechapter
|
||||
\par\nobreak
|
||||
\chapterinbetweenskip
|
||||
}%
|
||||
\fi
|
||||
\fi
|
||||
\interlinepenalty\@M%
|
||||
\chapterfont #1\par\nobreak
|
||||
\chapterbelowskip
|
||||
}
|
||||
\thispagestyle{\chapter@p@gestyle}
|
||||
}
|
||||
\def\@makeschapterhead#1{%
|
||||
\abovechapterskip
|
||||
{\parindent \z@ \chapteralign
|
||||
\normalfont
|
||||
\interlinepenalty\@M
|
||||
\chapterfont #1\par\nobreak
|
||||
\chapterbelowskip
|
||||
}
|
||||
\thispagestyle{\chapter@p@gestyle}
|
||||
}
|
||||
|
||||
|
||||
% Addchap provides unnumbered chapters with an entry in the table of contents as well as an updated header
|
||||
\ProvideDocumentCommand{\addchap}{ s o m }{%
|
||||
\chapter*{#3}%
|
||||
\markboth{}{}%
|
||||
\IfBooleanTF{#1}{%
|
||||
}{%
|
||||
\IfNoValueTF{#2}{%
|
||||
\addchaptertocentry{#3}%
|
||||
\markboth{\MakeMarkcase{#3}}{\MakeMarkcase{#3}}%
|
||||
}{%
|
||||
\addchaptertocentry{#2}%
|
||||
\markboth{\MakeMarkcase{#2}}{\MakeMarkcase{#2}}%
|
||||
}%
|
||||
}%
|
||||
}%
|
||||
|
||||
\ProvideDocumentCommand{\addsec}{ s o m }{%
|
||||
\section*{#3}%
|
||||
\markright{}%
|
||||
\IfBooleanTF{#1}{%
|
||||
}{%
|
||||
\IfNoValueTF{#2}{%
|
||||
\addcontentsline{toc}{section}{#3}%
|
||||
\markright{\MakeMarkcase{#3}}%%
|
||||
}{%
|
||||
\addcontentsline{toc}{section}{#2}%
|
||||
\markright{\MakeMarkcase{#2}}%
|
||||
}%
|
||||
}%
|
||||
}%
|
||||
|
||||
|
||||
%% -----------------------------------
|
||||
%% | Style of chapter captions |
|
||||
@@ -283,11 +357,13 @@
|
||||
{\parindent \z@ \raggedright \normalfont
|
||||
\ifnum \c@secnumdepth >\m@ne
|
||||
\if@mainmatter
|
||||
\savebox{\chapno}{\chapterheadfont\huge\bfseries \thechapter.}
|
||||
%\savebox{\chapno}{\chapterheadfont\huge\bfseries \thechapter.}
|
||||
\raggedright\LARGE\bfseries \@chapapp\space \thechapter
|
||||
\settowidth{\chapnolen}{\usebox{\chapno}}
|
||||
\parbox[t]{\chapnolen}{\usebox{\chapno}}\nobreak\leavevmode
|
||||
\fi
|
||||
\fi
|
||||
\vspace*{0.01\textheight}
|
||||
\interlinepenalty\@MM
|
||||
\setlength{\chapparlen}{\textwidth}
|
||||
\addtolength{\chapparlen}{-1.0\chapnolen}
|
||||
@@ -335,7 +411,7 @@
|
||||
|
||||
\pagestyle{empty}
|
||||
|
||||
\fancypagestyle{plain}{ % to ensure toc page style is really
|
||||
\fancypagestyle{plain}{ % to ensure toc page style is really
|
||||
% empty (it uses \thispagestyle{plain})
|
||||
\fancyhf{} % clear all header and footer fields
|
||||
\fancyfoot{} % except the center
|
||||
@@ -348,7 +424,7 @@
|
||||
{
|
||||
\clearpage
|
||||
|
||||
\begingroup % make sure that there is no involuntary
|
||||
\begingroup % make sure that there is no involuntary
|
||||
% blankpage added after toc.
|
||||
\let\cleardoubleoddstandardpage\relax
|
||||
\mainmatter
|
||||
|
||||
Reference in New Issue
Block a user