%% %% Der LaTeX-Begleiter, zweite Auflage (September 2005) %% %% Beispiel 6-5-10 von Seite 328. %% %% 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{137.4372pt} \setlength\textfloatsep{10pt} \tolerance=500 \StartShownPreambleCommands \usepackage{subfig} \captionsetup[table] {position=top,aboveskip=5pt} \captionsetup[subtable]{singlelinecheck=false, format=hang,font={sl,small}, justification=raggedright} \renewcommand\thesubtable{\thetable.\arabic{subtable}} \newcommand\TAB[2] {\fbox{\parbox{#2\textwidth}{Tabelle #1}}} \StopShownPreambleCommands \begin{document} \begin{table} \caption{Drei Untertabellen}\label{tbl} \subfloat[Eins] {\TAB{1}{.4}\label{tbl1}}\hfill \subfloat[Zwei]{\TAB{2}{.4}\label{tbl2}}\\ \subfloat[Dritte Tabelle mit viel längerer Legende] {\TAB{3}{.8}\label{tbl3}} \end{table} Tabelle \ref{tbl} enthält die Untertabellen \subref{tbl1} bis \subref{tbl3}. Aber jetzt nicht \ref{tbl3} verwenden (siehe Text). \end{document}