summaryrefslogtreecommitdiff
path: root/info/examples/lb2/2-2-2.ltx
diff options
context:
space:
mode:
Diffstat (limited to 'info/examples/lb2/2-2-2.ltx')
-rw-r--r--info/examples/lb2/2-2-2.ltx34
1 files changed, 34 insertions, 0 deletions
diff --git a/info/examples/lb2/2-2-2.ltx b/info/examples/lb2/2-2-2.ltx
new file mode 100644
index 0000000000..f3d91f04d0
--- /dev/null
+++ b/info/examples/lb2/2-2-2.ltx
@@ -0,0 +1,34 @@
+%%
+%% Der LaTeX-Begleiter, zweite Auflage (September 2005)
+%%
+%% Beispiel 2-2-2 von Seite 28.
+%%
+%% 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
+\renewcommand\thesubsection
+ {\fbox{\thesection.\arabic{subsection}}}
+\StopShownPreambleCommands
+\begin{document}
+\setcounter{section}{3}
+\subsection{Ein Fehler}\label{falsch}
+Ein Querverweis in diesem Format erzeugt
+ein lustiges Ergebnis, wie man mit einem
+Blick auf Unterabschnitt~\ref{falsch} sieht.
+Man erhält einen eingerahmten Verweis.
+\end{document}