PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Caption für Supertabular



bonaqua
09-06-2006, 08:04
Hallo,

ich habe eine Tabelle gemacht, genauer gesagt eine "supertabular".
Leider kann ich zur Tabelle keine Caption machen, so dass sie im Tabellenverzeichnis angezeigt wird.

Kann mir vielleicht von Euch jemand sagen wie das geht, bzw. an welche Stelle die Caption eingefügt werden muss...???

Vielen Dank!

countbela666
09-06-2006, 12:29
Hallo und herzlich willkommen an Board,

du hast dir nicht zufällig mal die Doku zu dem Paket angesehen?

\tablecaption
\bottomcaption
\topcaption
These commands all take the same arguments as LATEX’s standard \caption command. They provide a caption for the super-table, either at the top or at the bottom of the table. When \tablecaption is used the caption will be placed at the default location, which is at the top.nichts für ungut,
Marcel

Salnic
09-06-2006, 12:41
Hi Bonaqua,

willkommen im Forum. Supertabular funktioniert ein wenig anders, als tabular, aber das wirst Du ja schon gemerkt haben. Die Anleitung zum Packet (http://www.tug.org/tex-archive/macros/latex/contrib/supertabular/supertabular.pdf) ist Dir sicher schon bekannt. Folgender Code erzeugt sowohl eine Tabellenüberschrift als auch einen Eintrag in das Tabellenverzeichnis. Mit dem Packet Caption kannst Du das Aussehen und die Ausrichtung der Tabellenüberschrift anpassen.


\documentclass{article}
\usepackage{ngerman}
\usepackage[latin1]{inputenc}
\usepackage{supertabular}

\begin{document}
\listoftables

\tablecaption{Tabellenüberschrift}
\begin{supertabular}{rrrrr}
1 & 1 & 1 & 1 \\
2 & 4 & 16 & 2 \\
3 & 9 & 81 & 6 \\
4 & 16 & 256 & 24 \\
\end{supertabular}

\end{document}Salnic

bonaqua
12-06-2006, 12:51
Hallo Salnic,

vielen Dank für Deine Hilfe!

Jetzt geht's, mein einziges Problem ist noch, ob ich die Überschrift auch unter die Tabelle bekomme.
Momentan steht die Tabellenüberschrift darüber.
Falls das aber nicht geht, ist es auch nicht so schlimm. ;-)

Grüße
bonaqua

countbela666
12-06-2006, 14:39
mein einziges Problem ist noch, ob ich die Überschrift auch unter die Tabelle bekomme.:confused: wie das geht, kannst du doch bereits meinem ersten Post entnehmen: \bottomcaption anstatt \tablecaption

Grüße,
Marcel