\documentclass[a4paper,12pt]{book}

\usepackage{amsmath}
\usepackage{fancybox}
\usepackage{amsfonts}
\usepackage{mathrsfs}
\usepackage{tabularx}
\usepackage[utf8]{inputenc}
\usepackage[german]{babel}

%%%%%%%%%%%%%% BEGIN from Thesis_final3 %%%%%%%%%%
%\usepackage[dvips]{color}
\usepackage{color}
\definecolor{darkgreen}{rgb}{0,0.7,0}
\usepackage{graphicx}
%\usepackage{harvard}
\usepackage{mythesis,afterpage}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% declare/set flags
%\newif\ifcolor
%\newif\ifpdf
%\colortrue
%\colorfalse
%\pdftrue
%\pdffalse
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% page layout (from Karsten)
\renewcommand{\topfraction}{0.85}
\renewcommand{\textfraction}{0.05}
\renewcommand{\bottomfraction}{0.85}
\renewcommand{\floatpagefraction}{0.8}
\textheight23cm
%\textwidth15.2cm
%\ifpdf
%  \topmargin0.5cm
%\else
  \topmargin-0.5cm
%\fi
% Alarm on marginpar
 \reversemarginpar
 \marginparwidth2cm
 \newcommand{\alarm}[1]{\typeout{ALARM! Alarm auf Seite \thepage!}%
   \marginpar{{\red \rule{3mm}{3mm} \bf #1}}}
\renewcommand{\thefootnote}{{\darkgreen\arabic{footnote}}}
%%%%%%%%%%%%%% END from Thesis_final3 %%%%%%%%%%


\newenvironment{problem}%
{\\ \noindent\textbf{\color{blue}Problem:}\\ \indent}{\\}
\newenvironment{beispiel}[1]{\\ \textbf{\color{darkgreen}Beispiel #1:}$\quad$}{\\}
\newenvironment{frage}{\\ \noindent\textbf{\color{red}Frage:}}{\\}
\newenvironment{ansatz}[1]{\\ \noindent\textbf{#1 Lösungsansatz:$\quad$}}{\\}
\newenvironment{definition}{\\ \noindent\textbf{\color{magenta}Definition:}$\quad$}{\\}
\newenvironment{idee}{\\ \noindent\textbf{Idee:}$\quad$}{\\}
\newenvironment{bemerkung}{\\ \noindent\textbf{Bemerkung:}$\quad$}{}
\newenvironment{swort}[1]{\newline \noindent\textbf{#1:}$\quad$}{}

\newcommand{\intsum}{\ensuremath{\sum\hspace{-15pt}\int\limits}}
\newcommand{\hami}{\ensuremath{\mathscr{H}}}
\newcommand{\person}[2]{\emph{#1 }(#2)}
\newcommand{\referenz}[1]{\emph{#1}}
\newcommand{\tensor}[1]{\ensuremath{\stackrel{\leftharpoonup\hspace{-6pt}\rightharpoonup}{#1}}}
\newcommand{\half}{\ensuremath{\frac{1}{2}}}
\newcommand{\arcsinh}{\ensuremath{\operatorname{arcsinh}}}
\newcommand{\hl}[1]{\emph{#1}}
\newcommand{\bra}[1]{\ensuremath{\langle #1\vert}}
\newcommand{\ket}[1]{\ensuremath{\vert #1\rangle}}
\newcommand{\redbox}[1]{\begin{center}\color{red}\fbox{\color{black}\begin{Beqnarray} #1 \end{Beqnarray}}\end{center}}
%\newcommand{\redbox}[1]{\}

%opening
\title{Numerische Methoden in der Festkörperphysik}
\author{Prof. Dr. Nils Blümer}

\begin{document}
\frontmatter
\maketitle
\tableofcontents
\mainmatter
\chapter{Monte-Carlo-Simulationen des Ising-Modells}
\include{chap1}
\chapter{Exakte Diagonalisierung}
\include{chap2}
\chapter{Quantum Monte Carlo (QMC) simulations}
\include{chap3}
\end{document}
