summaryrefslogtreecommitdiff
path: root/info/examples/lb2/12-2-2.ltx
blob: c57e7b4e63b84841db8c23cd28308474fa670d3e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
%%
%% 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}