\documentclass[USenglish]{scrbook}

\usepackage{graphicx}
\graphicspath{
                          {figures/}
                          {../NSD/}
                         }
\DeclareGraphicsExtensions{.pdf,.png}
\usepackage[authoryear,sort&compress]{natbib}
\usepackage[usenames,dvipsnames]{color}
\usepackage[pdftex,                                     % hyper-references for pdftex
bookmarksnumbered=true,%                       % generate bookmarks with numbers
pagebackref=true,%                                      % generate backref in biblio
colorlinks=true,%
linkcolor=MidnightBlue,%
citecolor=MidnightBlue,%
breaklinks=true,%
]{hyperref}%

 \hypersetup{
pdfauthor   = {Claudio Zambaldi, Philip Eisenlohr},
pdftitle    = {Manual to the Material Point Model developed at the Max-Planck-Institut f\"ur Eisenforschung},
pdfsubject  = {},
pdfkeywords = {},
pdfcreator  = {},
pdfproducer = {pdftex}%,
%pdfpagemode={FullScreen}
}


\usepackage{amsmath,amssymb,amsfonts}
\usepackage{bm}
\usepackage{miller}
%\usepackage[alsoload={accepted,named,prefix}]{siunitx}
\usepackage{siunitx}
\usepackage{booktabs}
\usepackage{longtable}
\usepackage[indent,bf,tableposition=top]{caption}    % Einstellen des caption-Stils, war caption2
\usepackage[format=hang]{subfig}
\usepackage{tocbibind}
\usepackage[bookman]{quotchap}
\usepackage{csquotes} % consistent quoting by \enquote{...}
\usepackage{listings}
%\lstloadlanguages{bash,fortran}
\lstset{language={},
	lineskip=4pt,
	frame=none,
	framesep=0mm,
	framexleftmargin=5mm,
	framexrightmargin=5mm,
	framextopmargin=5mm,
	framexbottommargin=5mm,
	xleftmargin=10mm,
	xrightmargin=10mm,
%	numbers=left,
	stepnumber=1,
	numbersep=5pt,
	numberstyle=\tiny,
	breaklines=true,
	breakautoindent=true,
	postbreak=...,%\space,
	tabsize=2,
	basicstyle=\ttfamily\footnotesize,
	showspaces=false,
	showstringspaces=false,
	extendedchars=true,
	backgroundcolor=\color{white}
}


\newlength{\diagramsize}
\setlength{\diagramsize}{0.9\textwidth}

\setcounter{tocdepth}{2}

\newcommand{\includepath}{include}

\newcommand{\ie}{\textit{i.e.}}
\newcommand{\eg}{\textit{e.g.}}
\newcommand{\cf}{\textit{cf.}}
\newcommand{\etal}{\textit{et al.}}
\newcommand{\Euler}{\textsc{Euler}}
\newcommand{\OneD}{\hbox{1-D}}
\newcommand{\TwoD}{\hbox{2-D}}
\newcommand{\ThreeD}{\hbox{3-D}}

\DeclareMathOperator{\sign}{sgn}
\DeclareMathOperator{\divergence}{div}
\DeclareMathOperator{\grad}{grad}
\DeclareMathOperator{\curl}{curl}
\DeclareMathOperator{\Divergence}{Div}
\DeclareMathOperator{\Grad}{Grad}
\DeclareMathOperator{\Curl}{Curl}

\newcommand{\tnsr}[1]{\ensuremath{\bm{#1}}}
\newcommand{\vctr}[1]{\ensuremath{\bm{#1}}}

\newcommand{\inc}{\ensuremath{\mathrm d}}

\newcommand{\transpose}[1]{\ensuremath{{#1}^{\text T}}}
\newcommand{\inverse}[1]{\ensuremath{{#1}^{-1}}}
\newcommand{\invtranspose}[1]{\ensuremath{{#1}^{\text{-T}}}}

\newcommand{\eyetwo}{\ensuremath{\tnsr{I}}}
\newcommand{\eyefour}{\ensuremath{\mathbb{I}}}
\newcommand{\F}{\ensuremath{\tnsr F}}
\newcommand{\Fp}{\ensuremath{\tnsr F_\text{p}}}
\newcommand{\Fe}{\ensuremath{\tnsr F _\text{e}}}
\newcommand{\Ftr}{\ensuremath{\tnsr F _\text{tr}}}
\newcommand{\E}{\ensuremath{\tnsr E}}
\newcommand{\GL}{\ensuremath{\tnsr E_\text{e}}}
\newcommand{\fPK}{\ensuremath{\tnsr P}}
\newcommand{\sPK}{\ensuremath{\tnsr S}}
\newcommand{\etap}{\ensuremath{\eta_\text{p}}}
\newcommand{\etae}{\ensuremath{\eta_\text{e}}}
\newcommand{\etatr}{\ensuremath{\eta_\text{tr}}}
\newcommand{\dtF}{\ensuremath{\dot{\tnsr F}}}
\newcommand{\dtFp}{\ensuremath{\dot{\tnsr F}_\text{p}}}
\newcommand{\dtFe}{\ensuremath{\dot{\tnsr F}_\text{e}}}
\newcommand{\dtetap}{\ensuremath{\dot{\eta}_\text{p}}}
\newcommand{\Lp}{\ensuremath{\tnsr L_\text{p}}}
\newcommand{\Je}{\ensuremath{J_\text{e}}}
\newcommand{\Jtr}{\ensuremath{J_\text{tr}}}
\newcommand{\thetatr}{\ensuremath{\theta_\text{tr}}}
\newcommand{\Elasticity}{\ensuremath{\mathbb{C}}}
\newcommand{\Cauchy}{\ensuremath{\boldsymbol{\sigma}}}
\newcommand{\Ntwin}{\ensuremath{N_\text{twin}}}
\newcommand{\Nslip}{\ensuremath{N_\text{slip}}}
\newcommand{\testfnc}{\ensuremath{\delta\vctr v}}

% Reference formats
\newcommand{\fref}[1]{figure~\ref{#1}}             % figure x
\newcommand{\Fref}[1]{Figure~\ref{#1}}             % Figure x
\newcommand{\fsref}[1]{figures~\ref{#1}}           % figures x
\newcommand{\Fsref}[1]{Figures~\ref{#1}}           % Figures x

\newcommand{\tref}[1]{table~\ref{#1}}              % tabke x
\newcommand{\Tref}[1]{Table~\ref{#1}}              % Table x
\newcommand{\tsref}[1]{tables~\ref{#1}}            % tables x
\newcommand{\Tsref}[1]{Tables~\ref{#1}}            % Tables x

\newcommand{\eref}[1]{equation~\eqref{#1}}         % equation (x)
\newcommand{\Eref}[1]{Equation~\eqref{#1}}         % Equation (x)
\newcommand{\esref}[1]{equations~\eqref{#1}}       % equations (x)
\newcommand{\Esref}[1]{Equations~\eqref{#1}}       % Equations (x)

\newcommand{\cref}[1]{chapter~\ref{#1}}            % chapter x
\newcommand{\Cref}[1]{Chapter~\ref{#1}}            % Chapter x
\newcommand{\csref}[1]{chapters~\ref{#1}}          % chapters x
\newcommand{\Csref}[1]{Chapters~\ref{#1}}          % Chapters x

\newcommand{\sref}[1]{section~\ref{#1}}            % section x
\newcommand{\Sref}[1]{Section~\ref{#1}}            % Section x
\newcommand{\ssref}[1]{sections~\ref{#1}}          % sections x
\newcommand{\Ssref}[1]{Sections~\ref{#1}}          % Sections x

% text formatting
\newcommand{\term}[1]{\emph{#1}}
\newcommand{\reminder}[1]{\textcolor{Red}{#1}}
\newcommand{\remark}[1]{\textcolor{CornflowerBlue}{#1}}

% Change Layout of Backref
\renewcommand*{\backref}[1]{%
% default interface
% #1: backref list
%
% We want to use the alternative interface,
% therefore the definition is empty here.
}%
\renewcommand*{\backrefalt}[4]{%
% alternative interface
% #1: number of distinct back references
% #2: backref list with distinct entries
% #3: number of back references including duplicates
% #4: backref list including duplicates

\scriptsize
\begin{flushright}
Cited%
%~#3 %
%\ifnum#3=1 %
%time%
%\else
%times%
%\fi
~on page%
\ifnum#1>1 %
s%
\fi
~#2%
.%
\end{flushright}
}


\begin{document}
\title{Manual\\[1cm]Material Point Model \\[3mm] \normalsize developed at the \\[3mm] Max-Planck-Institut f\"ur Eisenforschung}
\author{Claudio Zambaldi \and Philip Eisenlohr}
\maketitle

%\includeonly{}

\frontmatter
%\include{foreword}
\tableofcontents
\listoftables
\listoffigures
%\include{include/preface}
\mainmatter

\renewcommand{\chaptermark}[1]{\markboth{{\thechapter\ \ #1}}{}}

\input{include/Preliminaries}
\part{Praxis}
%\input{include/Installation}
\input{include/CodeOrganization}
\part{Theory}
\input{include/Homogenization}
\input{include/ConstitutiveLaws}
\input{include/ApplicationNotes}
\input{include/Postprocessing}
\input{include/Examples}


\appendix
\cleardoublepage \phantomsection % set the hyperref anchor at the right position

\input{include/Crystallography}

\chapter{Related works}
\section{Publications}

\section{PhD thesises}
KuoDiss MaDiss ZaafaraniDiss

\bibliographystyle{plainnat}
\bibliography{MPIE_CPFEM_manual}

\end{document}