From b4fc5f639874db951177ec539299d20908adb654 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Mon, 9 Jan 2006 00:44:40 +0000 Subject: doc 4 git-svn-id: svn://tug.org/texlive/trunk@80 c570f23f-e606-0410-a88d-b1316a301751 --- .../texmf-dist/doc/latex/texpower/prosperdemo.tex | 67 ++++++++++++++++++++++ 1 file changed, 67 insertions(+) create mode 100644 Master/texmf-dist/doc/latex/texpower/prosperdemo.tex (limited to 'Master/texmf-dist/doc/latex/texpower/prosperdemo.tex') diff --git a/Master/texmf-dist/doc/latex/texpower/prosperdemo.tex b/Master/texmf-dist/doc/latex/texpower/prosperdemo.tex new file mode 100644 index 00000000000..734cb6638ba --- /dev/null +++ b/Master/texmf-dist/doc/latex/texpower/prosperdemo.tex @@ -0,0 +1,67 @@ +%% +%% This is file `prosperdemo.tex', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% texpower-doc.dtx (with options: `prosperdemo') +%% +%% -------------------------------------------------------------- +%% TeXPower bundle - dynamic online presentations with LaTeX +%% Copyright (C) 1999-2004 Stephan Lehmke +%% +%% This program is free software; you can redistribute it and/or +%% modify it under the terms of the GNU General Public License +%% as published by the Free Software Foundation; either version 2 +%% of the License, or (at your option) any later version. +%% +%% This program is distributed in the hope that it will be useful, +%% but WITHOUT ANY WARRANTY; without even the implied warranty of +%% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +%% GNU General Public License for more details. +%% -------------------------------------------------------------- +%% +%% The list of all files belonging to the TeXPower bundle is +%% given in the file `00readme.txt'. +%% +\ProvidesFile{prosperdemo.tex}% + [2004/07/27 TeXPower example file] +%----------------------------------------------------------------------------------------------------------------- +% File: prosperdemo.tex +% +\documentclass[pdf,colorBG,slideColor,whitecross]{prosper} +\usepackage[display]{texpower} +\begin{document} +\ifpdf + No way to compile a prosper document with pdftex! + \else +\stepwise[\boxedsteps] +{% +\begin{slide}{An aligned equation} + \begin{eqnarray} + \step{\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{eqnarray} +\end{slide} +} +\fi + + +\end{document} +\endinput +%% +%% End of file `prosperdemo.tex'. -- cgit v1.2.3