part_examples.tex 5.82 KB
Newer Older
1 2 3 4
\part{Examples}
\makepart
\section{Features}
\selectlanguage{english}
Andreas Beckmann's avatar
Andreas Beckmann committed
5
\begin{frame}
Andreas Beckmann's avatar
Andreas Beckmann committed
6 7 8 9
        \frametitle{\LaTeX{}-Beamer Features}
        The following slides show how {\tt Latex-Beamer} constructs work within the
        template.
        \begin{itemize}
10 11 12 13 14 15 16 17 18 19
      %\item Framebreaks
      \item Lists, numbered lists
      \item Plain slides, background images
      \item Theorems, proofs
      \item Definitions, examples
      \item Blocks, alert blocks
      \item Highlight options
      \item Formulae
      \item Verbatim environments
    \end{itemize}
Andreas Beckmann's avatar
Andreas Beckmann committed
20
\end{frame}
21 22 23

\section{Lists}
\begin{frame}
Andreas Beckmann's avatar
Andreas Beckmann committed
24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46
        \frametitle{Lots of lists}
        \framesubtitle{Another Subtitle}
        \begin{itemize}
          \item using the \texttt{pause} command:
          \begin{itemize}
            \item First item.
            \pause
            \item Second item.
          \end{itemize}
          \item using overlay specifications:
          \begin{enumerate}
            \item<3-> First numbered item.
            \item<4-> Second numbered item.
            \begin{itemize}
              \item 3rd level item!
            \end{itemize}
          \end{enumerate}
          \item using the general \texttt{uncover} command:
          \begin{itemize}
            \uncover<5->{\item First item.}
            \uncover<6->{\item Second item.}
          \end{itemize}
        \end{itemize}
47 48 49
\end{frame}

\begin{frame}[fragile]
Andreas Beckmann's avatar
Andreas Beckmann committed
50 51
        \frametitle{Plain Frames}
        \begin{itemize}
52 53 54
      \item The next slide shows a plain frame.
      \item To use plain frames add the \verb![plain]! parameter to your \verb!\begin{frame}! statement.
    \end{itemize}
Andreas Beckmann's avatar
Andreas Beckmann committed
55
        \begin{block}{How to use plain frames}
56 57
    \scriptsize
    \verbatiminput{frame_plain}
Andreas Beckmann's avatar
Andreas Beckmann committed
58
        \end{block}
59 60 61 62 63
\end{frame}

%\input{frame_plain}

\begin{frame}[c,plain]
Andreas Beckmann's avatar
Andreas Beckmann committed
64 65 66 67
        \frametitle{Plain Frame}
        \begin{center}
                {\tiny Enough} {\scriptsize space} for {\Large your} {\huge big} {\Huge ideas.} {\TINY (or holiday pictures)}
        \end{center}
68 69
\end{frame}

70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85
\section{Backgrounds}
\begin{frame}[fragile]
    \frametitle{Background Images}
    \framesubtitle{On Standard Frames}
    \begin{itemize}
      \item The next slide shows an image, embedded into the background of the frame layout.
      \item The background image is automatically cropped to the frame dimensions.
    \end{itemize}
    \begin{block}{How to install a background image}
        \scriptsize
        \verbatiminput{frame_background}
    \end{block}
\end{frame}

\input{frame_background}

86 87 88
\section{Beamer Block Constructs}
\subsection{Theorem, Proof}
\begin{frame}
Andreas Beckmann's avatar
Andreas Beckmann committed
89 90 91 92 93 94 95 96 97 98 99 100 101 102
        \frametitle{Block Constructs}
        \framesubtitle{{\tt theorem, proof}}
        \begin{theorem}
        There is no largest prime number.
        \end{theorem}

        \begin{proof}
                \begin{enumerate}
                        \item<1-| alert@1> Suppose $p$ were the largest prime number.
                        \item<2-> Let $q$ be the product of the first $p$ numbers.
                        \item<3-> Then $q+1$ is not divisible by any of them.
                        \item<1-> Thus $q+1$ is also prime and greater than $p$.\qedhere
                \end{enumerate}
        \end{proof}
103 104 105 106
\end{frame}

\subsection{Definition, Example}
\begin{frame}
Andreas Beckmann's avatar
Andreas Beckmann committed
107 108 109 110 111 112 113 114 115 116 117 118
        \frametitle{Block Constructs}
        \framesubtitle{{\tt definition, example}}
        \begin{definition}
                A \alert{prime number} is a number that has exactly two divisors.
        \end{definition}
        \begin{example}
                \begin{itemize}
                        \item 2 is prime (two divisors: 1 and 2).
                        \item 3 is prime (two divisors: 1 and 3).
                        \item 4 is not prime (\alert{three} divisors: 1, 2, and 4).
                \end{itemize}
        \end{example}
119 120 121 122
\end{frame}

\subsection{Block, Alert Block}
\begin{frame}
Andreas Beckmann's avatar
Andreas Beckmann committed
123 124 125 126 127 128 129 130
        \frametitle{Block Constructs}
        \framesubtitle{{\tt block, alertblock}}
        \begin{block}{Simple Block}
                Just some text.
        \end{block}
        \begin{alertblock}{Alert Block}
                This block seems to be pretty important.
        \end{alertblock}
131 132 133 134
\end{frame}

\section{Highlight important information}
\begin{frame}[fragile]
Andreas Beckmann's avatar
Andreas Beckmann committed
135 136 137 138 139 140 141 142 143 144
        \frametitle{Highlight important information}
        \framesubtitle{Use ``Jülich'' colors to attract attention }
        \begin{block}{Use {\tt \textbackslash{}emph\{\}}}
                \verb+This text is \emph{important}.+ \\
                This text is \emph{important}.
        \end{block}
        \begin{block}{Use {\tt \textbackslash{}alert\{\}}}
                \verb+This text is \alert{really} important!+ \\
                This text is \alert{really} important!
        \end{block}
145 146 147 148
\end{frame}

\section{Math Environment}
\begin{frame}
Andreas Beckmann's avatar
Andreas Beckmann committed
149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168
        \frametitle{Math Environment}
        \framesubtitle{Use your {\LaTeX} formulae inside your slides without hassle}
        \[
            \iiint\limits_V \operatorname{div} \vec{F} \, dV
            = \iint\limits_S \vec{F}\cdot d\vec{S}
        \]
        \[
         \prod_{k=1}^n k = n! \,,\quad \sum_{k=1}^n k=\frac{n(n+1)}{2}\,,
          \quad \int_0^{2\pi}\sin t\,dt=0
        \]
        \[
            p(x)=\sum_{i=0}^n f_{i}q_{i}(x) \quad\mbox{with}\quad
            q_{i}(x)=\prod_{\substack{k=0 \\ k\neq i}}^n
            \frac{x-x_{k}}{x_{i}-x_{k}}\,.
        \]
        \[
            \iint\limits_S (U \operatorname{grad} W)\cdot d\vec{S}
            =\iiint\limits_V (\operatorname{grad} U\cdot
             \operatorname{grad} W +U\Delta W)\,dV
        \]
169 170 171 172
\end{frame}

\section{Code Environment}
\begin{frame}[fragile]
Andreas Beckmann's avatar
Andreas Beckmann committed
173 174 175
        \frametitle{Verbatim Environment}
        \framesubtitle{Code Snippets}
        \begin{itemize}
176 177 178 179 180 181 182
      \item Slides containing \verb!\verb! statements must be defined \verb+fragile+
    \end{itemize}
    \scriptsize
    \verbatiminput{frame_verbatim}
\end{frame}

\input{frame_verbatim}