\documentclass[11pt,a4paper,headinclude,footinclude,DIV16]{scrreprt} \usepackage[automark]{scrpage2} \usepackage[ansinew]{inputenc} \usepackage{amsmath} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{booktabs} \usepackage{theorem} \usepackage{color} \usepackage{listings} \lstset{language=C++, basicstyle=\ttfamily, keywordstyle=\color{black}\bfseries, tabsize=4, stringstyle=\ttfamily, commentstyle=\it, extendedchars=true, escapeinside={/*@}{@*/}} % for listings of bash code in install.tex \lstdefinestyle{Bash} {language=Bash, backgroundcolor=\color{lightgray}, basicstyle=\ttfamily\small, numbers=none, captionpos=b, tabsize=4, breaklines=true, frame=single, rulecolor=\color{lightgray}, framerule=1pt, framesep=1pt, rulesep=0pt, aboveskip=\bigskipamount, belowskip=\bigskipamount } % for listings of DuMuX code \lstdefinestyle{DumuxCode} {language=C++, basicstyle=\ttfamily\scriptsize, numbers=left, numberstyle=\tiny, numbersep=5pt, breaklines=true } \lstset{showstringspaces=false, breaklines=true} \usepackage{hyperref} \usepackage{psfrag} \usepackage{makeidx} \usepackage{graphicx} \usepackage{xspace} \usepackage{relsize} \usepackage[htt]{hyphenat} \usepackage{lscape} \usepackage{enumerate} \usepackage{rotating} \usepackage{subfig} \usepackage{units} \usepackage{url} \usepackage{breakurl} \ifpdf \usepackage{auto-pst-pdf} \fi \usepackage{pstricks} \usepackage[normalem]{ulem} \usepackage{tabularx} \newcommand{\snakeline}{% % {\uwave{\makebox[\linewidth]{\mbox{}}}} \uwave{\mbox{}} } \usepackage{layout} \usepackage[english]{babel} \DeclareGraphicsExtensions{.eps, .jpg} % Dune logo \newcommand{\Dune}{{DUNE}\xspace} % DuMuX logo \newcommand{\Dumux}{\texorpdfstring{Du\-Mu$^\text{x}$\xspace}{DuMuX}} % beautify C++ \DeclareRobustCommand\Cplusplus{\texorpdfstring{C\raisebox{2pt}{{\relsize{-3}++}}\xspace}{C++}} \newcommand{\porosity}{\phi} \newcommand{\saturation}{S} \newcommand{\doxyref}[3]{\textnormal{#1}} \newenvironment{CompactList} {\begin{list}{}{ \setlength{\leftmargin}{0.5cm} \setlength{\itemsep}{0pt} \setlength{\parsep}{0pt} \setlength{\topsep}{0pt} \renewcommand{\makelabel}{\hfill}}} {\end{list}} \newenvironment{CompactItemize} { \begin{itemize} \setlength{\itemsep}{-3pt} \setlength{\parsep}{0pt} \setlength{\topsep}{0pt} \setlength{\partopsep}{0pt} } {\end{itemize}} % a new counter % you can give a label to it and thus reference it % syntax: \numberThis{printedTextToBeLabeled}{label} % if you wanted a \newline after a numbered thing, you could just add a empty line after ``\label{#2}'' \newcounter{thingCounter} \renewcommand{\thethingCounter}{\arabic{thingCounter}} \newcommand{\numberThis}[2]{% \refstepcounter{thingCounter}% \thethingCounter.\ #1 \label{#2} } %The theorems \theorembodyfont{\upshape} \theoremheaderfont{\sffamily\bfseries} \newtheorem{exc}{Exercise}[chapter] \newtheorem{example}[exc]{Example} \newtheorem{rem}[exc]{Remark} \newtheorem{lst}{Listing} \newtheorem{warn}[exc]{Warning} \newtheorem{justCounting}{} \DeclareMathOperator{\grad}{grad} \DeclareMathOperator{\curl}{curl} \DeclareMathOperator{\Div}{div} \pagestyle{scrheadings} \title{ \begin{center} \includegraphics[width=0.7\textwidth]{../logo/dumux_logo_hires_whitebg.eps} \\[3cm] {\Huge Handbook} \end{center} } \author{} \date{\today} \publishers{% \vspace{10mm} {\normalsize Lehrstuhl f\"ur Hydromechanik und Hydrosystemmodellierung, \\ Universit\"at Stuttgart, Paffenwaldring 61, D-70569 Stuttgart, Germany}\\ % \bigskip {\normalsize \texttt{\url{http://dumux.org}}}\\ } \makeindex \begin{document} \maketitle \begin{abstract} \end{abstract} \tableofcontents \input{intro} \input{getting-started} \input{tutorial} \input{structure} \input{designpatterns} \input{propertysystem} \input{fluidframework} \input{models} \input{DumuxFlow} \input{NewtonInANutshell} \input{TipsNTricks} \input{install} \bibliographystyle{plain} \bibliography{dumux-handbook} \printindex \end{document}