%%
%% Der LaTeX-Begleiter, zweite Auflage (September 2005)
%%
%% Beispiel 12-2-2 von Seite 716.
%%
%% 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{113.4372pt}

%% Wie immer zu wenig Platz in den Beispielen:
\sloppy
%% Die Bibliographie selbst wird im Beispiel nicht angezeigt,
%% daher kommt sie auf eine eigene Seite:
\AtEndDocument{\newpage\bibliography{tex}}

\StartShownPreambleCommands
\bibliographystyle{plain}    \usepackage{ifthen}
\makeatletter
\renewcommand\@cite[2]{({#1\ifthenelse{\boolean{@tempswa}}%
                               {,\nolinebreak[3] #2}{}})}
\makeatother
\StopShownPreambleCommands
\begin{document}
Die Farbunterst�tzung f�r \LaTeX{} ist in \cite{LGC97} und
das \texttt{hyperref}-Paket in \cite[S.~35--67]{LWC99}
beschrieben.
\end{document}