blob: 8f9fae11110e12968a9d7b4adf857a3a02738377 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
%%
%% Ein DANTE-Edition Beispiel
%%
%% Beispiel 01-01-4 auf Seite 5.
%%
%% Copyright (C) 2010 Voss
%%
%% It may be distributed and/or modified under the conditions
%% of the LaTeX Project Public License, either version 1.3
%% of this license or (at your option) any later version.
%%
%% See http://www.latex-project.org/lppl.txt for details.
%%
% Show page(s) 1,5,12
\documentclass[landscape]{foils}
\pagestyle{empty}
\setcounter{page}{6}
\usepackage[utf8]{inputenc}
\usepackage[scaled]{helvet}
\usepackage{fixseminar,amsmath,url} \usepackage[display]{texpower}
\begin{document}
\title{Die \texttt{texpower} / {\normalfont \texttt{foils} Demonstration}}
\author{Herbert Voß\\\url{mailto:herbert@dante.de}}
\maketitle
\foilhead{Eine Listenumgebung} \pause
\stepwise{
\begin{description}
\item[foo.] \step{bar.}
\step{\item[baz.]} \step{foobar.}
\end{description}}
\foilhead{An aligned equation}\pause
\parstepwise{
\begin{align}
\sum_{i=1}^{n} i & \step{=} \restep{1 + 2 + \cdots + (n-1) + n}\\
& \step{=} \restep{1 + n + 2 + (n-1) + \cdots}\\
& \step{=} \restep {
\switch {\vphantom{\underbrace{(1 + n) + \cdots + (1 + n)}_{\times\frac{n}{2}}}%
(1 + n) + \cdots + (1 + n)%
}{\underbrace{(1 + n) + \cdots + (1 + n)}_{\times\frac{n}{2}}}%
}\\
& \step{=} \restep{\frac{(1 + n)\step{{}\cdot n}}{\restep{2}}}
\end{align}
}
\end{document}
|