%%
%% Der LaTeX-Begleiter, zweite Auflage (September 2005)
%%
%% Beispiel A-1-15 von Seite 889.
%%
%% 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{161.4372pt}
\StartShownPreambleCommands

\StopShownPreambleCommands
\begin{document}
\newcommand{\HS}[1][1.]{\hspace{\stretch{#1}}}
\begin{center}
links \hfill                            rechts\\
links \HS[2]\fbox{$\frac{2}{5}$}\HS[5]  rechts\\
links \HS         mittig \hfill         rechts\\
links \hrulefill\ mittig \hrulefill\    rechts\\
links \dotfill\                         rechts\\
links \dotfill\ \HS[.5] \dotfill\       rechts\\
links \dotfill\ \HS     \dotfill\       rechts\\
links \dotfill\ \HS[2.] \dotfill\       rechts
\end{center}
\end{document}