diff options
Diffstat (limited to 'info/examples/lb2/3-4-31.ltx')
-rw-r--r-- | info/examples/lb2/3-4-31.ltx | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/info/examples/lb2/3-4-31.ltx b/info/examples/lb2/3-4-31.ltx new file mode 100644 index 0000000000..88311d35e6 --- /dev/null +++ b/info/examples/lb2/3-4-31.ltx @@ -0,0 +1,33 @@ +%% +%% Der LaTeX-Begleiter, zweite Auflage (September 2005) +%% +%% Beispiel 3-4-31 von Seite 177. +%% +%% Copyright (C) 2005 Frank Mittelbach, Michel Goossens, +%% Johannes Braams, David Carlisle, and Chris Rowley +%% +%% Uebersetzung: Copyright (C) 2005 Claudia Krysztofiak, +%% Rebecca Stiels und Frank Mittelbach +%% +%% 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. +%% + +\documentclass{lb2exa} +\pagestyle{empty} +\setcounter{page}{6} +\setlength\textwidth{173.4372pt} + +\StartShownPreambleCommands +\usepackage{algorithmic} +\StopShownPreambleCommands +\begin{document} +\begin{algorithmic} +\IF {$i\leq0$} \STATE $i\gets1$ \ELSE +\IF {$i\geq0$} \STATE $i\gets0$ \ENDIF +\ENDIF +\end{algorithmic} +\end{document} |