summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/presentations-en/01-01-4.ltx2
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2012-08-20 22:38:02 +0000
committerKarl Berry <karl@freefriends.org>2012-08-20 22:38:02 +0000
commit0e41a49f208f79c08d67dd315eefc1e118b1ab45 (patch)
treec24fe68c66cb22fa2da4e4e4c24603d6630610b5 /Master/texmf-dist/doc/latex/presentations-en/01-01-4.ltx2
parent4b4e52c44aa751126df4f8692344da23f9e14847 (diff)
new example set presentations-en (20aug12)
git-svn-id: svn://tug.org/texlive/trunk@27471 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/presentations-en/01-01-4.ltx2')
-rw-r--r--Master/texmf-dist/doc/latex/presentations-en/01-01-4.ltx253
1 files changed, 53 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/presentations-en/01-01-4.ltx2 b/Master/texmf-dist/doc/latex/presentations-en/01-01-4.ltx2
new file mode 100644
index 00000000000..291ae623490
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/presentations-en/01-01-4.ltx2
@@ -0,0 +1,53 @@
+%%
+%% An UIT Edition example
+%%
+%% 1st edition
+%%
+%% Example 01-01-4 on page 7.
+%%
+%% Copyright (C) 2012 Herbert 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]{exafoils}
+\pagestyle{empty}
+\usepackage[utf8]{inputenc}
+\usepackage[scaled]{helvet}
+%\StartShownPreambleCommands
+\documentclass[landscape]{foils}
+\usepackage{fixseminar,amsmath,url} \usepackage[display]{texpower}
+%\StopShownPreambleCommands
+\begin{document}
+\title{The \texttt{texpower} / {\normalfont \texttt{foils} demonstration}}
+\author{Herbert Voß\\\url{mailto:herbert@dante.de}}
+\maketitle
+\foilhead{A list environment} \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}