Debian Codegraph @

texmf-dist/doc/latex/deutschesmuseum/sample.tex

raw
1 \documentclass[nocfonts,fleqn,folios]{deutschesmuseum}
2 \usepackage{kantlipsum, booktabs, graphicx}
3 \begin{document}
4 \title{Typographical samples}
5 \subtitle{Sample file for Deutsches Museum}
6 \author{Boris Veytsman \and C.~O.~Respondent}
7 \maketitle
8
9 \begin{abstract}
10 This is a demo for the Deutsches Museum contribution style.
11 \end{abstract}
12
13 \section{Introduction}
14 \label{sec:intro}
15
16 We can have numbered sections. Quotations, for
17 example\cite[][Article~7]{UNDeclaration}:
18 \begin{quote}
19 All are equal before the law and are entitled without any
20 discrimination to equal protection of the law. All are entitled to
21 equal protection against any discrimination in violation of this
22 Declaration and against any incitement to such discrimination.
23 \end{quote}
24
25 \subsection{Subsection example}
26 \label{sec:subsection}
27
28 We can have subsections and footnotes\footnote{A normal footnote}.
29
30 \section{Mathematics}
31 \label{sec:math}
32
33 The samples below are based on the example from the \emph{Free Math
34 Fonts Survey}\cite{Hartke06,
35 free-math-font-survey}.
36
37
38 \textbf{Theorem 1 (Residue Theorem).}
39 Let $f$ be analytic in the region $G$ except for the isolated singularities $a_1,a_2,\ldots,a_m$. If $\gamma$ is a closed rectifiable curve in $G$ which does not pass through any of the points $a_k$ and if $\gamma\approx 0$ in $G$ then
40 \[
41 \frac{1}{2\pi i}\int_\gamma f = \sum_{k=1}^m n(\gamma;a_k) \text{Res}(f;a_k).
42 \]
43
44 \textbf{Theorem 2 (Maximum Modulus).}
45 \emph{Let $G$ be a bounded open set in $\mathbb{C}$ and suppose that $f$ is a continuous function on $G^-$ which is analytic in $G$. Then}
46 \[
47 \max\{|f(z)|:z\in G^-\}=\max \{|f(z)|:z\in \partial G \}.
48 \]
49
50 Maxwell's equations
51 \begin{align}
52 \nabla\cdot\mathbf{E} &= \frac{\rho}{\epsilon_0}\\
53 \nabla\cdot\mathbf{B} &= 0\\
54 \nabla\times\mathbf{E} &= - \frac{\partial\mathbf{B}}{\partial t}\\
55 \nabla\times\mathbf{B} &= \mu_0\left(
56 \mathbf{J} +
57 \epsilon_0\frac{\partial\mathbf{E}}{\partial
58 t}
59 \right).
60 \end{align}
61
62 We also can have figures (Fig.~\ref{fig:vitruvian}) and tables
63 (Table~\ref{tab:one}).
64
65 \begin{figure}
66 \centering
67 \includegraphics{vitruvian}
68 \caption{Vitruvian man}
69 \label{fig:vitruvian}
70 \end{figure}
71
72 \begin{table}
73 \caption[Sed blandit, tortor a auctor]{Sed blandit, tortor a auctor
74 imperdiet, wisi nibh ornare leo,
75 ac dictum nibh enim eu orci}
76 \begin{tabular}{lll}
77 \toprule
78 \bfseries Phasellus & \bfseries At Dui & \bfseries Donec Commodo \\
79 \midrule
80 Augue At Nunc & Nunc In sapien & Et magna mollis \\
81 Sagittis & Morbi eu elit & Phasellus lacus\\
82 Donec a quam & Etiam pulvinar sapien & Sed nibh magna\\
83 \bottomrule
84 \end{tabular}
85 \label{tab:one}
86 \end{table}
87
88
89 \section{Some pseudo-Kant}
90 \label{sec:kant}
91
92
93 We are using \textsl{kantlipsum} package\cite{kantlipsum}.
94
95 \kant[1-25]
96
97
98
99 \bibliographystyle{plainnat}
100 \bibliography{sample}
101
102 \end{document}