summaryrefslogtreecommitdiff
path: root/info/examples/lb2/2-3-5.ltx
diff options
context:
space:
mode:
Diffstat (limited to 'info/examples/lb2/2-3-5.ltx')
-rw-r--r--info/examples/lb2/2-3-5.ltx57
1 files changed, 57 insertions, 0 deletions
diff --git a/info/examples/lb2/2-3-5.ltx b/info/examples/lb2/2-3-5.ltx
new file mode 100644
index 0000000000..b53c47d2ea
--- /dev/null
+++ b/info/examples/lb2/2-3-5.ltx
@@ -0,0 +1,57 @@
+%%
+%% Der LaTeX-Begleiter, zweite Auflage (September 2005)
+%%
+%% Beispiel 2-3-5 von Seite 56.
+%%
+%% 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{197.4372pt}
+\setlength\textheight{17\baselineskip}
+% Für die Beispiele im Buch verkürzen wir die Abstände vor und
+% nach den Überschriften und setzen diese in einem etwas kleineren
+% Font.
+\makeatletter
+\renewcommand\section{\@startsection {section}{1}{\z@}%
+ {-2.5ex \@plus -1ex \@minus -.2ex}%
+ {1.3ex}%
+ {\normalfont\large\bfseries}}
+\makeatother
+\setcounter{page}{1}
+\StartShownPreambleCommands
+\makeatletter
+\renewcommand\ext@table{lof}
+\makeatother
+\addto\captionsngerman{%
+ \renewcommand\listfigurename
+ {Abbildungen und Tabellen}}
+\StopShownPreambleCommands
+\begin{document}
+\listoffigures
+\section{Ein Abschnitt}
+Etwas Text \ldots
+\begin{table}[b]
+ \centering
+ \fbox{\scriptsize Eine Tabelle}
+ \caption{Tabellenunterschrift}
+\end{table}
+Verweistext zu Abbildung~\ref{fig} \ldots
+\begin{figure}
+ \centering
+ \fbox{\scriptsize Eine Abbildung}
+ \caption{Bildunterschrift}\label{fig}
+\end{figure}
+\end{document}