dumux-handbook.tex 3.43 KB
Newer Older
Bernd Flemisch's avatar
Bernd Flemisch committed
1
2
3
4
5
\documentclass[11pt,a4paper,headinclude,footinclude,DIV16,normalheadings]{scrreprt}
\usepackage[automark]{scrpage2}
\usepackage[ansinew]{inputenc}
\usepackage{amsmath}
\usepackage{amsfonts}
6
\usepackage{amssymb}
Bernd Flemisch's avatar
Bernd Flemisch committed
7
8
9
10
11
12
\usepackage{theorem}
\usepackage{color}
\usepackage{listings}
\lstset{language=C++, basicstyle=\ttfamily, 
  keywordstyle=\color{black}\bfseries, tabsize=4, stringstyle=\ttfamily,
  commentstyle=\it, extendedchars=true, escapeinside={/*@}{@*/}}
13

14
% for listings of bash code in install.tex
15
16
17
18
\definecolor{BashGrey}{rgb}{0.9,0.9,0.9}
\lstdefinestyle{Bash}
 {language=Bash,
 backgroundcolor=\color{BashGrey},
19
 basicstyle=\ttfamily\small,
20
21
22
 numbers=none,
 captionpos=b,
 tabsize=4,
23
24
25
26
27
28
 breaklines=true,
 breakatwhitespace=true,
 frame=single,
 rulecolor=\color{BashGrey},
 framerule=1pt,
 framesep=1pt,
29
30
31
 rulesep=0pt,
 aboveskip=\bigskipamount,
 belowskip=\bigskipamount
32
}
33

Bernd Flemisch's avatar
Bernd Flemisch committed
34
35
36
37
\usepackage{hyperref}
\usepackage{psfrag}
\usepackage{makeidx}
\usepackage{graphicx}
38
\usepackage{xspace}
Bernd Flemisch's avatar
Bernd Flemisch committed
39
40
41
42
\usepackage[htt]{hyphenat}
\usepackage{color}
\usepackage{lscape}
\usepackage{enumerate}
Philipp Nuske's avatar
Philipp Nuske committed
43
\usepackage{rotating}
44
\usepackage{subfig}
Bernd Flemisch's avatar
Bernd Flemisch committed
45

46
\usepackage[normalem]{ulem}
47
48
49
50
51
52
53
54
55
56
\usepackage{tabularx}
\usepackage{graphics}
\usepackage{pstricks}
\newcommand{\snakeline}{%
% {\uwave{\makebox[\linewidth]{\mbox{}}}}
\uwave{\mbox{}}
}
\usepackage{layout}


57
58
%\usepackage{ngerman}
\usepackage[english]{babel}
Bernd Flemisch's avatar
Bernd Flemisch committed
59
60
61

\DeclareGraphicsExtensions{.eps, .jpg}

62
\newcommand{\Dune}{{DUNE}\xspace}
63
\newcommand{\Dumux}{DuMu$^\text{x}$\xspace}
Bernd Flemisch's avatar
Bernd Flemisch committed
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
\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]
98
\newtheorem{example}[exc]{Example}
Bernd Flemisch's avatar
Bernd Flemisch committed
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
\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
Bernd Flemisch's avatar
Bernd Flemisch committed
128
{\normalsize \texttt{\url{http://dumux.org}}}\\
Bernd Flemisch's avatar
Bernd Flemisch committed
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
}

\makeindex

\begin{document}

\maketitle

\begin{abstract}

\end{abstract}

\tableofcontents

\input{intro}
\input{getting-started}
145
\input{designpatterns}
146
\input{propertysystem}
Bernd Flemisch's avatar
Bernd Flemisch committed
147
148
149
150
151
\input{tutorial}
\input{structure}
\input{models}
\input{DumuxFlow}
\input{NewtonInANutshell}
Philipp Nuske's avatar
Philipp Nuske committed
152
\input{TipsNTricks}
Bernd Flemisch's avatar
Bernd Flemisch committed
153
154
155
156
157
158


\bibliographystyle{plain}
\bibliography{dumux-handbook}
\printindex
\end{document}