Ich weis, es ist unüblich, aber ich habe bei mir die Tabellenbeschriftungen
unterhalb der Tabellen. Das ist auch kein Problem, sofern die Tabelle nicht
über mehrere Seiten geht.
Nun möchte ich in einer longtable-Umgebung die Beschriftung
auf der ersten Seite unterhalb der Tabelle anbringen.
Hat jemand eine Idee?
Hier mein Beispiel, die Beschriftung erscheint zwar wie ich es möchte,
aber im Tabellenverzeichnis taucht die Tabelle zweimal auf:
Code:
\documentclass[12pt,a5paper,ngerman]{article}
\usepackage{babel}
\usepackage[latin1]{inputenc}
\usepackage[T1]{fontenc} %% enable EC-Fonts (extended cork)
\usepackage{longtable} %% for long tables
\usepackage{booktabs} % table enhancements (excel2latex tool use it)
\usepackage{caption} %% for long tables
%% ---
\begin{document}
\listoftables
\section{Frage}
\label{sec:uberschrift}
Wie bekomme ich bei einer mehrseitigen Tabelle den zweiten Tabelleneintrag aus dem
Tabellenverzeichnis raus?
Bzw. wie kriege ich die erste Tabellenbeschriftung unter den Tabellenteil auf
der ersten Tabellenseite
\vspace{2cm}
\begin{longtable}[l]{lll}
\captionsetup{position=bottom}
\toprule
eins & zwei & drei \tabularnewline
\midrule
\endfirsthead
\caption*{Fortsetzung}\tabularnewline
\addlinespace
\toprule
eins & zwei & drei \tabularnewline
\midrule
\endhead
\midrule
\caption{Beschriftung}\tabularnewline
\endfoot
% --- Begin lastfoot
\addlinespace
\bottomrule
\caption*{\tablename \arabic{table}: Beschriftung}\tabularnewline
\endlastfoot
% ---
%% --- Begin Table body --- ###########################################################################################
1 & 2 & 3 \tabularnewline
1 & 2 & 3 \tabularnewline
1 & 2 & 3 \tabularnewline
1 & 2 & 3 \tabularnewline
1 & 2 & 3 \tabularnewline
1 & 2 & 3 \tabularnewline
1 & 2 & 3 \tabularnewline
1 & 2 & 3 \tabularnewline
1 & 2 & 3 \tabularnewline
1 & 2 & 3 \tabularnewline
1 & 2 & 3 \tabularnewline
1 & 2 & 3 \tabularnewline
1 & 2 & 3 \tabularnewline
1 & 2 & 3 \tabularnewline
1 & 2 & 3 \tabularnewline
1 & 2 & 3 \tabularnewline
1 & 2 & 3 \tabularnewline
1 & 2 & 3 \tabularnewline
1 & 2 & 3 \tabularnewline
1 & 2 & 3 \tabularnewline
1 & 2 & 3 \tabularnewline
1 & 2 & 3 \tabularnewline
1 & 2 & 3 \tabularnewline
1 & 2 & 3 \tabularnewline
1 & 2 & 3 \tabularnewline
1 & 2 & 3 \tabularnewline
1 & 2 & 3 \tabularnewline
1 & 2 & 3 \tabularnewline
1 & 2 & 3 \tabularnewline
1 & 2 & 3 \tabularnewline
1 & 2 & 3 \tabularnewline
1 & 2 & 3 \tabularnewline
1 & 2 & 3 \tabularnewline
1 & 2 & 3 \tabularnewline
1 & 2 & 3 \tabularnewline
1 & 2 & 3 \tabularnewline
1 & 2 & 3 \tabularnewline
1 & 2 & 3 \tabularnewline
1 & 2 & 3 \tabularnewline
\end{longtable}
\end{document}
Lesezeichen