| 1 |
%%% =========================================================================== |
| 2 |
%%% main matter |
| 3 |
%%% =========================================================================== |
| 4 |
\mainmatter |
| 5 |
|
| 6 |
\part{The First} |
| 7 |
|
| 8 |
\chapter{This is a chapter title which is definitely quite long} |
| 9 |
|
| 10 |
\section{This is a section title which is also quite long, causing a line break} |
| 11 |
|
| 12 |
\subsection{A subsection title which -- again -- is quite long and will not fit into one line} |
| 13 |
|
| 14 |
\subsubsection{And finally a subsubsection title which is quite long as well, therefore requiring more than one line} |
| 15 |
|
| 16 |
\paragraph{This is a long paragraph heading. It will not fit into one line, either. At least not with this last sentence.} |
| 17 |
|
| 18 |
There is no line break after the paragraph heading. |
| 19 |
|
| 20 |
You can (moderately!) reduce the word spacing and stretching to avoid single words or syllables on the last line of a paragraph. For this purpose, the class provides the commands \verb|\reducewstr| and \verb|\reducewspc| (and, moreoever, \verb|\resetwstr| and \verb|\resetwspc| to reset the default values) to avoid situations like \emph{this}. |
| 21 |
|
| 22 |
In the following paragraph, the word spacing is reduced to 90\% of its default value and the single word on the last line of the paragraph disappears: |
| 23 |
|
| 24 |
\reducewspc[.9] You can (moderately!) reduce the word spacing and stretching to avoid single words or syllables on the last line of a paragraph. For this purpose, the class provides the commands \verb|\reducewstr| and \verb|\reducewspc| (and, moreoever, \verb|\resetwstr| and \verb|\resetwspc| to reset the default values) to avoid situations like \emph{this}.\resetwspc |
| 25 |
|
| 26 |
Use this feature with care to avoid ugly typesetting! |
| 27 |
|
| 28 |
|
| 29 |
\begin{description} |
| 30 |
\item[Minion] small, yellow creatures who have existed since the beginning of time |
| 31 |
\item[banana] a fruit, particularly cherished by Minions\footnote{with a meaningless footnote} |
| 32 |
\item[lorem] \blindtext |
| 33 |
\end{description} |
| 34 |
|
| 35 |
\begin{itemize} |
| 36 |
\item \blindtext |
| 37 |
\item \blindtext |
| 38 |
\end{itemize} |
| 39 |
|
| 40 |
\begin{enumerate} |
| 41 |
\item \blindtext |
| 42 |
\item \blindtext |
| 43 |
\end{enumerate} |
| 44 |
|
| 45 |
\begin{figure}\centering % |
| 46 |
\framebox[12em][l]{\parbox[c][12em][c]{12em}{\centering your advertisement here\\for only\\\$99 per month!}} |
| 47 |
\caption{a figure}% |
| 48 |
\label{fig:foo}% |
| 49 |
\end{figure} |
| 50 |
|
| 51 |
\begin{table}\centering% |
| 52 |
\begin{tabular}{lcr} |
| 53 |
\toprule |
| 54 |
first column & second column & third column |
| 55 |
\\ |
| 56 |
\midrule |
| 57 |
left & centered & right |
| 58 |
\\ |
| 59 |
aligned & & aligned |
| 60 |
\\ |
| 61 |
\bottomrule |
| 62 |
\end{tabular} |
| 63 |
\caption{a table} |
| 64 |
\label{tab:bar} |
| 65 |
\end{table} |
| 66 |
|
| 67 |
\chapter{Mathematical Showcase} |
| 68 |
|
| 69 |
\section{Some Formulas} |
| 70 |
|
| 71 |
\subsection{Mathematics} |
| 72 |
|
| 73 |
Euler's identity: |
| 74 |
\begin{equation} |
| 75 |
e^{i\pi} + 1 = 0 |
| 76 |
\label{eq:euler-identity} |
| 77 |
\end{equation} |
| 78 |
|
| 79 |
Fundamental theorem of calculus: |
| 80 |
\begin{equation} |
| 81 |
\int_a^b f^\prime\!\left(x\right)\,dx = f\!\left(b\right) - f\!\left(a\right) |
| 82 |
\label{eq:fundamental-theorem} |
| 83 |
\end{equation} |
| 84 |
|
| 85 |
\subsection{Physics} |
| 86 |
|
| 87 |
Einstein's general theory of relativity: |
| 88 |
\begin{equation} |
| 89 |
G_{\mu\nu} = 8 \pi G \left(T_{\mu\nu} + \rho_\Lambda g_{\mu\nu}\right) |
| 90 |
\label{eq:general-relativity} |
| 91 |
\end{equation} |
| 92 |
|
| 93 |
Einstein's special theory of relativity -- time dilatation: |
| 94 |
\begin{equation} |
| 95 |
t^\prime = t \frac{1}{\sqrt{1-\frac{v^2}{c^2}}} |
| 96 |
\label{eq:} |
| 97 |
\end{equation} |
| 98 |
|
| 99 |
Navier-Stokes equations in spherical coordinates: |
| 100 |
\begin{equation} |
| 101 |
\frac{\partial \rho}{\partial t} + \frac{1}{r^2}\frac{\partial}{\partial r}\left(\rho r^2 u_r\right) + |
| 102 |
\frac{1}{r \sin(\theta)}\frac{\partial \rho u_\phi}{\partial \phi} + |
| 103 |
\frac{1}{r \sin(\theta)}\frac{\partial}{\partial \theta}\left(\sin(\theta) \rho u_\theta\right) |
| 104 |
= 0 |
| 105 |
\label{eq:navier-stokes-continuity} |
| 106 |
\end{equation} |
| 107 |
|
| 108 |
\begin{align} |
| 109 |
\begin{split} |
| 110 |
r:\ & |
| 111 |
\rho \left(\frac{\partial u_r}{\partial t} + u_r \frac{\partial u_r}{\partial r} + \frac{u_{\phi}}{r \sin(\theta)} \frac{\partial u_r}{\partial \phi} + |
| 112 |
\frac{u_{\theta}}{r} \frac{\partial u_r}{\partial \theta} - \frac{u_{\phi}^2 + u_{\theta}^2}{r}\right) = |
| 113 |
-\frac{\partial p}{\partial r} + \rho g_r + \\ |
| 114 |
&\mu \left[\frac{1}{r^2} \frac{\partial}{\partial r}\left(r^2 \frac{\partial u_r}{\partial r}\right) + |
| 115 |
\frac{1}{r^2 \sin(\theta)^2} \frac{\partial^2 u_r}{\partial \phi^2} + |
| 116 |
\frac{1}{r^2 \sin(\theta)} \frac{\partial}{\partial \theta}\left(\sin(\theta) \frac{\partial u_r}{\partial \theta}\right)\right.\\ |
| 117 |
&\left.- 2\frac{u_r + |
| 118 |
\frac{\partial u_{\theta}}{\partial \theta} + u_{\theta} \cot(\theta)}{r^2} - \frac{2}{r^2 \sin(\theta)} \frac{\partial u_{\phi}}{\partial \phi} |
| 119 |
\right] |
| 120 |
\end{split} |
| 121 |
\label{eq:navier-stokes-momentum-r} |
| 122 |
\\ |
| 123 |
\begin{split} |
| 124 |
\phi:\ &\rho \left(\frac{\partial u_{\phi}}{\partial t} + u_r \frac{\partial u_{\phi}}{\partial r} + |
| 125 |
\frac{u_{\phi}}{r \sin(\theta)} \frac{\partial u_{\phi}}{\partial \phi} + \frac{u_{\theta}}{r} \frac{\partial u_{\phi}}{\partial \theta} + |
| 126 |
\frac{u_r u_{\phi} + u_{\phi} u_{\theta} \cot(\theta)}{r}\right) =\\ |
| 127 |
&-\frac{1}{r \sin(\theta)} \frac{\partial p}{\partial \phi} + \rho g_{\phi} + \\ |
| 128 |
&\mu \left[\frac{1}{r^2} \frac{\partial}{\partial r}\left(r^2 \frac{\partial u_{\phi}}{\partial r}\right) + |
| 129 |
\frac{1}{r^2 \sin(\theta)^2} \frac{\partial^2 u_{\phi}}{\partial \phi^2} + |
| 130 |
\frac{1}{r^2 \sin(\theta)} \frac{\partial}{\partial \theta}\left(\sin(\theta) \frac{\partial u_{\phi}}{\partial \theta}\right) +\right.\\ |
| 131 |
&\left. |
| 132 |
\frac{2 \sin(\theta) \frac{\partial u_r}{\partial \phi} + 2 \cos(\theta) \frac{\partial u_{\theta}}{\partial \phi} - |
| 133 |
u_{\phi}}{r^2 \sin(\theta)^2} |
| 134 |
\right] |
| 135 |
\end{split} |
| 136 |
\label{eq:navier-stokes-momentum-phi} |
| 137 |
\\ |
| 138 |
\begin{split} |
| 139 |
\theta:\ &\rho \left(\frac{\partial u_{\theta}}{\partial t} + u_r \frac{\partial u_{\theta}}{\partial r} + |
| 140 |
\frac{u_{\phi}}{r \sin(\theta)} \frac{\partial u_{\theta}}{\partial \phi} + |
| 141 |
\frac{u_{\theta}}{r} \frac{\partial u_{\theta}}{\partial \theta} + \frac{u_r u_{\theta} - u_{\phi}^2 \cot(\theta)}{r}\right) =\\ |
| 142 |
&-\frac{1}{r} \frac{\partial p}{\partial \theta} + \rho g_{\theta} + \\ |
| 143 |
&\mu \left[\frac{1}{r^2} \frac{\partial}{\partial r}\left(r^2 \frac{\partial u_{\theta}}{\partial r}\right) + |
| 144 |
\frac{1}{r^2 \sin(\theta)^2} \frac{\partial^2 u_{\theta}}{\partial \phi^2} + |
| 145 |
\frac{1}{r^2 \sin(\theta)} \frac{\partial}{\partial \theta}\left(\sin(\theta) \frac{\partial u_{\theta}}{\partial \theta}\right) +\right.\\ |
| 146 |
&\left. |
| 147 |
\frac{2}{r^2} \frac{\partial u_r}{\partial \theta} - \frac{u_{\theta} + |
| 148 |
2 \cos(\theta) \frac{\partial u_{\phi}}{\partial \phi}}{r^2 \sin(\theta)^2} |
| 149 |
\right]. |
| 150 |
\label{eq:navier-stokes-momentum-theta} |
| 151 |
\end{split} |
| 152 |
\end{align} |
| 153 |
|
| 154 |
|
| 155 |
\part{The Second} |
| 156 |
|
| 157 |
\Blinddocument |
| 158 |
|
| 159 |
|
| 160 |
\part{The Third} |
| 161 |
|
| 162 |
\blinddocument |