mehrteilige Tabellen und deren Nummerierung

Tabellen und Grafiken erstellen und anordnen


mons
Forum-Anfänger
Forum-Anfänger
Beiträge: 23
Registriert: So 19. Okt 2008, 20:44
Wohnort: Anhalt

mehrteilige Tabellen und deren Nummerierung

Beitrag von mons »

Hallo,

nun arbeite ich rund ein viertel Jahr intensiv mit LaTex. Mein Editionsprojekt "Historische und statistische Beschreibung des Kammerdepartments Warschau" von 1804 erschlägt mich mit Tabellen, kein Wunder bei einem Statistikwerk.
Mein Problem ist eher, dass einige Tabellen für DIN A 5 zu breit statt zu lang sind.
Dem wollte ich mit einem Umstieg auf das DIN A 4 Format ausweichen, was aber nicht so einfach wie vorgestellt geht. Der Austausch des Formats in der Dokumentenklasse half trotz mehrfachem Kompilierens nur insofern, dass nun das "Blatt" größer war, sich aber am Statzspiegel nichts änderte. Weil ich auch die von Markus Kohm sorgfältig gesetzte Titelei hätte abändern müssen, bin ich dann halt bei DIN A 5 geblieben.

Ich habe dann so viele Tabellen wie möglich mittels rotating und rotfloat gedreht und schließlich einer Anregung von Herbert Voß "Tabellen mit LaTex" folgend, die breiten und langen Tabellen als gegenüberliegende Seiten gesetzt. Das Problem ist natürlich, dass beide Tabellen auf gleicher Höhe beginnen müssen und die "Tabelle" auch noch eine Überschrift hat.

Die benutzte Dokumentenclass sieht wie folgt aus:

\documentclass[ngerman,paper=A5,fontsize=10pt,DIV=calc,BCOR=12mm, headlines=1.5,pagesize,headsepline,footinclude,tablecaptionabove,draft,
smallheadings,cleardoublepage=empty,parskip=full-] {scrbook}[2008/10/07]

Mit dem Hinweis von H. Voß mittels einer \phantom Anweisung auf der rechten Seite einen Ausgleich herbeizuführen, kam ich nicht zurecht.
Ich habe dann dort \caption*{} gesetzt und schon stimmt die Sache.

Nun mein Problem. Die Nummerierung der Tabellen ist etwas eigenartig, wenn auch in sich schlüssig. Die breiteste und längste Tabelle besteht jetzt halt aus vier Einzeltabellen, bei der ersten ist die Überschrift zu lesen, bei den drei weiteren unterdrückt. Aber diese Tabellen zählen logischerweise als Tabellen. Ich habe nun in der Nummerierungsfolge Sprünge von zwei bis vier Nummern.
Das gilt es zu vermeiden, aber wie?

Nach dem aufgegebenen Versuch auf DIN A 4 umzusteigen, habe ich versucht den Zähler mit negativen \addtocounter Anweisungen beizukommen, was nur bei der ersten "Rücksetzung" des Zählers funktionierte. Bei nachfolgenden "Rücksetzungen" wurde gemeldet, dass die Nummerierung bereits vergeben sei. Dann las ich irgendwo in einem Forum, wo keine Überschrift, da keine Nummer. Das stimmt nicht. Ich habe die \caption*{} auskommentiert, nichts änderte sich, außer dass die Tabellen nun nicht mehr auf gleicher Höhe gegenüber lagen.

Das ich die Nummerierung der Tabellen gern von kapitelweiser Nummerierung auf eine einfache 1, 2, 3 ... Nummerierung umstellen möchte, dürfte mit einem \renewcommand zu machen sein, dass kann ich nachlesen

Den Profis dürfte sicherlich eine Lösung einfallen.

Vielen Dank und einen guten Rutsch wünscht

mons

Benutzeravatar
KOMA
TeX-Entwickler
TeX-Entwickler
Beiträge: 2958
Registriert: Fr 4. Jul 2008, 17:28
Kontaktdaten:

Beitrag von KOMA »

Du verheimlichst uns offensichtlich etwas, denn KOMA-Script kennt kein \caption*. Wenn Du Hilfe willst, musst Du schon selbst etwas dafür tun.

mons
Forum-Anfänger
Forum-Anfänger
Beiträge: 23
Registriert: So 19. Okt 2008, 20:44
Wohnort: Anhalt

mehrteilige Tabellen und deren Nummerierung

Beitrag von mons »

Hallo Koma,

gut ins neue Jahre gekommen?
Ich wünsche alles Gute.
Koma-Skript kennt kein \caption* ?
Ähm..., das erklärt einiges, aber was nun tun?
Ich füge mal einen aussagekräftigen Code-Ausschnitt an.
Eine .tex Datei kann ist ja hier nicht anhängen und bei der Umwandlung ins .doc Format verändert OpenOffice einige Zeichen, so dass dieses Beispiel dann nicht lauffähig wäre.
Dort sind der Header und und drei Tabellen, zwei große "vierteilige" und eine einteilige enthalten. Wenn es sein muss, stelle ich diesen großen "Schnipsel" aber auch hier ein.
Besser habe ich es nicht hinbekommen, wenn die Sache mit der Nummerierung nicht wäre, wäre ich auch zufrieden, was nicht heißt, dass ich nicht jeden guten Hinweis dankbar entgegennehme.

Ich hoffe, es haut so hin.

Gruß
mons

\documentclass[ngerman,paper=A5,fontsize=10pt,DIV=calc,BCOR=12mm,
headlines=1.5,pagesize,headsepline,footinclude,tablecaptionabove,draft,
  smallheadings,cleardoublepage=empty,parskip=full-] {scrbook}[2008/10/07]
\usepackage[utf8x]{inputenc}
\usepackage[TS1,T1]{fontenc}
\usepackage{lmodern}
\usepackage{ogonek}
\usepackage{ucs}
\usepackage{textcomp}
\usepackage{microtype}
\usepackage{babel}
\usepackage[automark,komastyle]{scrpage2}
\usepackage[hang]{footmisc}

%\usepackage{enumerate}
\usepackage[flushright,newitem,newenum]{paralist}
\usepackage{expdlist}
%\usepackage{mdwlist}
\usepackage{pdflscape}
\usepackage{float}
\usepackage{longtable}
\usepackage{array,dcolumn,booktabs,tabularx,ragged2e}
\usepackage{flafter}
\usepackage{rotating}
\usepackage{rotfloat}
\usepackage{units}
\usepackage{marvosym}
\usepackage{hhline}

\usepackage[ngerman]{varioref}

\usepackage[makeindex,idxcommands]{splitidx}
%\usepackage{makeidx}
%\usepackage{multind}
\usepackage{multicol}
\usepackage{multirow}

\usepackage[pdftex]{graphicx}%[2006/02/20]
% vorher gibt es Option "demo" nicht!
\usepackage[pdftex]{hyperref}
\usepackage{setspace}

\setcounter{secnumdepth}{2}
\setcounter{tocdepth}{2}

\addtokomafont{caption}{\itshape}
\addtokomafont{captionlabel}{\itshape}


\raggedbottom

\makeatletter
\newcolumntype{d}[1]{>{\DC@{.}{.}{#1}}l<{\DC@end}}
\makeatother

\newcolumntype{C}{>{\footnotesize}c}
\newcolumntype{L}{>{\footnotesize}l}
\newcolumntype{R}{>{\footnotesize}r}

\newcommand{\Dh}[1]{\multicolumn{1}{C}{#1}}

\makeatletter
% Gruppenkopf
\newcommand*{\heading}[1]{%
  \makebox[0pt][l]{%                    Box für Linie
    \rule[-3pt]{\linewidth}{0.5pt}}%    Linie über Textbreite
  \textsf{\textbf{\Large #1}}\hfil\nopagebreak\vspace{4pt}} % Dieser Abschnitt ergibt kombiniert mit index03.ist (bsp_index03.ist) einen schönen einspaltigen Index mit horizontaler Linie
                                                            % und Gruppenbuchstabe.
\makeatother


%\makeindex{idx}
%\makeindex{per}
%\makeindex{ort}






\begin{document}
     \frontmatter % die Titelei soll in die römische Seitennummerierung
             % des Vorderteils einfließen
\pagenumbering{Roman}


\listoftables

\mainmatter

\begin{table}[htb]
\begin{centering}
\begin{longtable}[c]{@{}lcccc@{}}
\caption{Bevölkerung in den Land - Oertern}
\label{tab:ak}\tabularnewline \specialrule{1pt}{0pt}{5pt}
&\Dh{I.}&\Dh{II.}&\Dh{III.}&\Dh{IV.} \tabularnewline
&\Dh{Blonier}&\Dh{Brzeszyner}&\Dh{Czersker}&\Dh{Gostininer} \tabularnewline
& & & & \tabularnewline \cmidrule{2-5}
&\multicolumn{4}{@{}C}{---\,Kreis\,---}\tabularnewline  \cmidrule{2-5} \addlinespace[2ex]
Edelleute & & &  &  \tabularnewline %\addlinespace[0.5ex]
\hspace*{1em} so Güther besitzen & 192 & 128 & 93 & 160 \tabularnewline %\addlinespace[0.5ex]
\hspace*{1em} so keine Güther besitzen & 35 & 44 & 51 & 130 \tabularnewline %\addlinespace[0.5ex]
\hspace*{1em} Generalpächer & & & & \tabularnewline %\addlinespace[0.5ex]
\hspace*{1em} und Beamte & 26 & 13 & 59 & 10 \tabularnewline %\addlinespace[0.5ex]
Entrepreneurs von & & & &  \tabularnewline %\addlinespace[0.5ex]
Fabriken und Glashütten & 4 &---& 3 &---  \tabularnewline %\addlinespace[0.5ex]
Königliche Bediente & 5 & 4 & 30 & 7 \tabularnewline %\addlinespace[0.5ex]
Verwalter und Unterpächter & 144 & 161 & 210 & 165 \tabularnewline %\addlinespace[0.5ex]
Förster,& & & &\tabularnewline %\addlinespace[0.5ex]
Forst- und Jagdbediente & 60 & 67 & 93 & 72 \tabularnewline %\addlinespace[0.5ex]
Prediger & 23 & 26 & 40 & 23 \tabularnewline %\addlinespace[0.5ex]
Küster und Schulbediente & 19 & 20 & 29 & 53 \tabularnewline %\addlinespace[0.5ex]
Frei- und Lehn-Schulzen & 16 & 8 & 3 & 15 \tabularnewline %\addlinespace[0.5ex]
Selz Schulzen & 169 & 227 & 189 & 193 \tabularnewline %\addlinespace[0.5ex]
Müller & 71 & 68 & 84 & 92 \tabularnewline %\addlinespace[0.5ex]
Bauern & & & & \tabularnewline %\addlinespace[0.5ex]
\hspace*{1em} Ganze & 1.572 & 512 & 2.150 & 1.496 \tabularnewline %\addlinespace[0.5ex]
\hspace*{1em} Halbe & 344 & 1.781 & 492 & 1.791 \tabularnewline %\addlinespace[0.5ex]
Kossäthen & & & &\tabularnewline %\addlinespace[0.5ex]
\hspace*{1em} Ganze & 61 & 285 & 262 & 48 \tabularnewline %\addlinespace[0.5ex]
\hspace*{1em} Halbe & 46 & 256 & 264 & 71 \tabularnewline \bottomrule
\multicolumn{5}{@{}R}{\textit{ }}   %\tabularnewline
\end{longtable}
\end{centering}
\end{table}

\clearpage

\begin{table}[htb]
\begin{centering}
\begin{longtable}[c]{@{}cccccc@{}}
\caption*{}
\tabularnewline \specialrule{1pt}{0pt}{5pt}
\Dh{V./VI.}&\Dh{VII.}&\Dh{VIII.}&\Dh{IX.}&{X.}& \tabularnewline
\Dh{Lenczyc\,-\,}&\Dh{Orlower}&\Dh{Rewaer}&\Dh{Sochaczewer}&\Dh{Warschauer}& \tabularnewline
\Dh{Zgierzer}& & & \tabularnewline \cmidrule{1-5}
\multicolumn{5}{@{}C}{---\,Kreis\,---}&\Dh{Summe}\tabularnewline  \cmidrule{1-6}\addlinespace[2ex]
& & & & & \tabularnewline %\addlinespace[0.5ex]
240 & 214 & 207 & 43 & 51 & 1.328 \tabularnewline %\addlinespace[0.5ex]
423 & 93 & 113 & 37 & 7 & 933 \tabularnewline %\addlinespace[0.5ex]
& & & & & \tabularnewline %\addlinespace[0.5ex]
10 & 1 & 5 & 7 & 12 & 143 \tabularnewline %\addlinespace[0.5ex]
& & & & & \tabularnewline %\addlinespace[0.5ex]
3 &---& 1 &---&---& 11  \tabularnewline %\addlinespace[0.5ex]
9 & 3 & 8 & 12 & 23 & 101 \tabularnewline %\addlinespace[0.5ex]
141 & 235 & 139 & 186 & 132 & 1.513 \tabularnewline %\addlinespace[0.5ex]
& & & & & \tabularnewline %\addlinespace[0.5ex]
70 & 36 & 48 & 59 & 63 & 568 \tabularnewline %\addlinespace[0.5ex]
40 & 25 & 31 & 30 & 24 & 262 \tabularnewline %\addlinespace[0.5ex]
57 & 31 & 35 & 44 & 30 & 318 \tabularnewline %\addlinespace[0.5ex]
1 & 3 & 22 & 26 &---& 94 \tabularnewline %\addlinespace[0.5ex]
399 & 183 & 237 & 223 & 172 & 1.992 \tabularnewline %\addlinespace[0.5ex]
164 & 58 & 72 & 60 & 79 & 748 \tabularnewline %\addlinespace[0.5ex]
& & & & & \tabularnewline %\addlinespace[0.5ex]
835 & 604 & 2.162 & 2.128 & 1.194 & 12.653 \tabularnewline %\addlinespace[0.5ex]
2.543 & 1.301 & 617 & 1.748 & 828 & 11.445 \tabularnewline %\addlinespace[0.5ex]
& & & & & \tabularnewline %\addlinespace[0.5ex]
878 & 73 & 526 & 108 & 385 & 2.626 \tabularnewline %\addlinespace[0.5ex]
230 & 57 & 71 & 87 & 218 & 1.300 \tabularnewline \bottomrule
\multicolumn{6}{@{}R}{\textit{Fortsetzung nächste Doppelseite}\ldots}
\end{longtable}
\end{centering}
\end{table}

\clearpage

\begin{table}[htb]
\begin{centering}
\begin{longtable}[c]{@{}lcccc@{}}
\caption*{}
\tabularnewline \specialrule{1pt}{0pt}{5pt}
&\Dh{I.}&\Dh{II.}&\Dh{III.}&\Dh{IV.} \tabularnewline
&\Dh{Blonier}&\Dh{Brzeszyner}&\Dh{Czersker}&\Dh{Gostininer} \tabularnewline %\cmidrule{2-5}
& & & & \tabularnewline \cmidrule{2-5}
&\multicolumn{4}{@{}C}{---\,Kreis\,---}\tabularnewline  \cmidrule{2-5} \addlinespace[2ex]
Köthner und Büdner & 201 & 100 & 94  & 513 \tabularnewline %\addlinespace[0.5ex]
Altsitzer & 99 & 49 & 203 & 241 \tabularnewline %\addlinespace[0.5ex]
Krüger & 225 & 226 & 291 & 175\tabularnewline %\addlinespace[0.5ex]
Schäfer & 27 & 75 & 32 & 59 \tabularnewline %\addlinespace[0.5ex]
Hopfen- und Kreis Gärtner &---& 1 & 1 & 2 \tabularnewline %\addlinespace[0.5ex]
Gärtner & 32 & 14 & 39 & 32 \tabularnewline %\addlinespace[0.5ex]
Böttcher & 13 & 8 & 17 & 30 \tabularnewline %\addlinespace[0.5ex]
Drechsler &---&---&---& 8 \tabularnewline %\addlinespace[0.5ex]
Bäcker &---& 1 & 1 &--- \tabularnewline %\addlinespace[0.5ex]
Fischer &---&---& 1 & 4 \tabularnewline %\addlinespace[0.5ex]
Färber &---&---& 4 &--- \tabularnewline %\addlinespace[0.5ex]
Feldscherer & 4 &---& 3 &--- \tabularnewline %\addlinespace[0.5ex]
Glaßer / Glasmacher & 6 & 2 &---& 2 \tabularnewline %\addlinespace[0.5ex]
Hirten & 193 & 193 & 249 & 204 \tabularnewline %\addlinespace[0.5ex]
Leinweber & 8 & 2 & 18 & 12 \tabularnewline %\addlinespace[0.5ex]
Maurer & 15 & 6 & 8 & 10 \tabularnewline %\addlinespace[0.5ex]
Rademacher & 25 & 9 & 15 & 45 \tabularnewline %\addlinespace[0.5ex]
Kossäthen Höfe & 1 & 2 & 9 & 3 \tabularnewline %\addlinespace[0.5ex]
Büdner- oder & & & & \tabularnewline %\addlinespace[0.5ex]
Käthner Höfe & 2 & 26 & 10 & 130 \tabularnewline %\addlinespace[0.5ex]
Frauen und & & & & \tabularnewline %\addlinespace[0.5ex]
übrige Wittwen & 4.279 & 4.605 & 5.916 & 7.048 \tabularnewline \bottomrule
\multicolumn{5}{@{}R}{\textit{ }}   %\tabularnewline
\end{longtable}
\end{centering}
\end{table}

\clearpage

\begin{table}[htb]
\begin{centering}
\begin{longtable}[c]{@{}cccccc@{}}
\caption*{}
\tabularnewline \specialrule{1pt}{0pt}{5pt}
\Dh{V./VI.}&\Dh{VII.}&\Dh{VIII.}&\Dh{IX.}&{X.}& \tabularnewline
\Dh{Lenczyc\,-\,}&\Dh{Orlower}&\Dh{Rewaer}&\Dh{Sochaczewer}&\Dh{Warschauer}& \tabularnewline
\Dh{Zgierzer}& & & \tabularnewline \cmidrule{1-5}
\multicolumn{5}{@{}C}{---\,Kreis\,---}&\Dh{Summe}\tabularnewline  \cmidrule{1-6} \addlinespace[2ex]
659 & 283 & 137 & 240 & 277 & 2.504 \tabularnewline %\addlinespace[0.5ex]
133 & 130 & 7 & 73 & 103 & 1.038 \tabularnewline %\addlinespace[0.5ex]
368 & 189 & 267 & 214 & 249 & 2.204 \tabularnewline %\addlinespace[0.5ex]
128 & 72 & 67 & 24 & 22 & 506 \tabularnewline %\addlinespace[0.5ex]
1 &---&---&---&---& 5 \tabularnewline %\addlinespace[0.5ex]
39 & 11 & 21 & 16 & 35 & 239 \tabularnewline %\addlinespace[0.5ex]
18 & 3 & 15 & 11 & 14 & 129 \tabularnewline %\addlinespace[0.5ex]
1 & 1 & 3 &---& 1 & 14 \tabularnewline %\addlinespace[0.5ex]
2 &---&---& 1 & 2 & 7 \tabularnewline %\addlinespace[0.5ex]
2 & 2 & 1 & 7 & 7 & 24 \tabularnewline %\addlinespace[0.5ex]
---&---&---&---&---& 4\tabularnewline %\addlinespace[0.5ex]
---&---&---& 7 & 7 & 21 \tabularnewline %\addlinespace[0.5ex]
42 &---& 17 & 1 &---& 70 \tabularnewline %\addlinespace[0.5ex]
334 & 199 & 186 & 224 & 201 & 1.983 \tabularnewline %\addlinespace[0.5ex]
13 & 9 & 8 & 5 & 9 & 84 \tabularnewline %\addlinespace[0.5ex]
4 & 3 & 9 & 14 & 4 & 73 \tabularnewline %\addlinespace[0.5ex]
17 & 7 & 34 & 15 & 16 & 183 \tabularnewline %\addlinespace[0.5ex]
1 & 1 & 13 & 5 & 17 & 52 \tabularnewline %\addlinespace[0.5ex]
& & & & & \tabularnewline %\addlinespace[0.5ex]
17 & 9 & 26 & 3 & 23 & 246 \tabularnewline %\addlinespace[0.5ex]
& & & & & \tabularnewline %\addlinespace[0.5ex]
9.278 & 4.456 & 5.742 & 6.582 & 5.174 & 53.080 \tabularnewline \bottomrule
\multicolumn{6}{@{}R}{\textit{Fortsetzung nächste Doppelseite}\ldots}
\end{longtable}
\end{centering}
\end{table}

\clearpage

\begin{table}[htb]
\begin{centering}
\begin{longtable}[c]{@{}lcccc@{}}
\caption*{}
\tabularnewline \specialrule{1pt}{0pt}{5pt}
&\Dh{I.}&\Dh{II.}&\Dh{III.}&\Dh{IV.} \tabularnewline
&\Dh{Blonier}&\Dh{Brzeszyner}&\Dh{Czersker}&\Dh{Gostininer} \tabularnewline %\cmidrule{2-5}
& & & & \tabularnewline \cmidrule{2-5}
&\multicolumn{4}{@{}C}{---\,Kreis\,---}\tabularnewline  \cmidrule{2-5} \addlinespace[2ex]
Söhne & & & & \tabularnewline %\addlinespace[0.5ex]
\hspace*{1em} über 10 Jahre & 1.761 & 1.835 & 2.292 & 2.966 \tabularnewline %\addlinespace[0.5ex]
\hspace*{1em} unter 10 Jahre & 3.037 & 2.527 & 4.110 & 4.839 \tabularnewline %\addlinespace[0.5ex]
Töchter & & & & \tabularnewline %\addlinespace[0.5ex]
\hspace*{1em} über 10 Jahre & 1.394 & 1.653 & 2.038 & 2.554 \tabularnewline %\addlinespace[0.5ex]
\hspace*{1em} unter 10 Jahre & 2.827 & 2.562 & 3.854 & 4.433 \tabularnewline %\addlinespace[0.5ex]
Knechte & 1.409 & 681 & 2.087  & 1.465 \tabularnewline %\addlinespace[0.5ex]
Dienstjungen & 921 & 402 & 723 & 853 \tabularnewline %\addlinespace[0.5ex]
Dienstmägdte & 899 & 431 & 1.314 & 946\tabularnewline \midrule
Summe aller Menschen & 20.987 & 19.570 & 28.279 & 31.853 \tabularnewline \addlinespace[2ex]
hierunter sind & & & & \tabularnewline %\addlinespace[0.5ex]
würkliche Soldaten & & & & \tabularnewline %\addlinespace[0.5ex]
Angesessene &---& 6 & 3 & 14 \tabularnewline %\addlinespace[0.5ex]
Unterthan Söhne & 224 & 221 & 134 & 360 \tabularnewline %\addlinespace[0.5ex]
Enrollirte & 6.598 & 5.164 & 1.677 & 8.924 \tabularnewline %\addlinespace[0.5ex]
Juden & 866 & 570 & 1.724 & 817 \tabularnewline %\addlinespace[0.5ex]
Klostergeistliche &---&---& 16 & 13 \tabularnewline %\addlinespace[0.5ex]
An Familien haben  & & & & \tabularnewline %\addlinespace[0.5ex]
sich in diesem & & & & \tabularnewline %\addlinespace[0.5ex]
Jahre angebauet & 20 & 14 & 56 & 316 \tabularnewline \bottomrule
\end{longtable}
\end{centering}
\end{table}

\clearpage

\begin{table}[htb]
\begin{centering}
\begin{longtable}[c]{@{}cccccc@{}}
\caption*{}
\tabularnewline \specialrule{1pt}{0pt}{5pt}
\Dh{V./VI.}&\Dh{VII.}&\Dh{VIII.}&\Dh{IX.}&{X.}& \tabularnewline
\Dh{Lenczyc\,-\,}&\Dh{Orlower}&\Dh{Rewaer}&\Dh{Sochaczewer}&\Dh{Warschauer}& \tabularnewline
\Dh{Zgierzer}& & & \tabularnewline \cmidrule{1-5}
\multicolumn{5}{@{}C}{---\,Kreis\,---}&\Dh{Summe}\tabularnewline  \midrule \addlinespace[2ex]
& & & & & \tabularnewline %\addlinespace[0.5ex]
4.247 & 1.675 & 1.982 & 2.597 & 1.917 & 21.272 \tabularnewline %\addlinespace[0.5ex]
6.681 & 3.058 & 3.627 & 4.034 & 3.523 & 35.436 \tabularnewline %\addlinespace[0.5ex]
& & & & & \tabularnewline %\addlinespace[0.5ex]
3.562 & 1.505 & 1.854 & 2.041 & 1.617 & 18.218 \tabularnewline %\addlinespace[0.5ex]
5.825 & 2.871 & 3.263  & 3.647 & 3.355 & 32.637 \tabularnewline %\addlinespace[0.5ex]
1.773 & 1.037 & 1.323 & 1.362 & 1.698 & 12.835 \tabularnewline %\addlinespace[0.5ex]
1.242 & 741 & 864 & 717 & 809 & 7.272 \tabularnewline %\addlinespace[0.5ex]
1.627 & 858 & 1.191 & 995 & 1.211 & 9.472\tabularnewline \midrule
43.680 & 29.779 & 25.984 & 28.802 & 24.426 & 244.360 \tabularnewline \addlinespace[2ex]
& & & & & \tabularnewline %\addlinespace[0.5ex]
& & & & & \tabularnewline %\addlinespace[0.5ex]
10 & 2 & 61 & 86 & 10 & 192 \tabularnewline %\addlinespace[0.5ex]
613 & 212 & 166 & 271 & 107 & 2.308 \tabularnewline %\addlinespace[0.5ex]
10.340 & 5.517 & 5.813 & 1.850 & 6.395 & 52.278 \tabularnewline %\addlinespace[0.5ex]
1.194 & 671 & 1.431 & 349 & 1.214 & 8.836 \tabularnewline %\addlinespace[0.5ex]
19 & 7 & 4 & 17 & 24 & 100 \tabularnewline %\addlinespace[0.5ex]
& & & & & \tabularnewline %\addlinespace[0.5ex]
& & & & & \tabularnewline %\addlinespace[0.5ex]
22 &---& 22 & 16 & 19 & 485 \tabularnewline \bottomrule
\end{longtable}
\end{centering}
\end{table}

\clearpage


%\begin{table}[htb]
\begin{sidewaystable}
\begin{centering}
\begin{longtable}[c]{@{}lccc|ccc|ccc|ccc|ccc@{}}
\caption{Getreideaussaat bei denen Städten} \label{tab:ao}\tabularnewline \specialrule{1pt}{0pt}{5pt}
& \multicolumn{3}{@{}C}{bei der Stadt} & \multicolumn{9}{@{}C}{in der Steuerräthlichen Inspection} & \tabularnewline \cmidrule(lr){5-13} %\addlinespace[1ex]
& \multicolumn{3}{@{}C}{Warschau} & \multicolumn{3}{@{}C}{Warschau} & \multicolumn{3}{@{}C}{Lowitz} & \multicolumn{3}{@{}C}{Lentschitz} & \multicolumn{3}{@{}C}{Summa} \tabularnewline \cmidrule(lr){2-4}\cmidrule(lr){5-7}\cmidrule(lr){8-10}\cmidrule(lr){11-13}\cmidrule(lr){14-16}
\footnotesize{Getreidesorten} & \Dh{W} & \Dh{S}& \Dh{M} & \Dh{W} & \Dh{S} & \Dh{M} & \Dh{W} & \Dh{S} & \Dh{M} & \Dh{W} & \Dh{S} & \Dh{M} & \Dh{W} & \Dh{S} & \Dh{M}\tabularnewline \midrule %\addlinespace[2ex]
Weitzen & 15 & 20 & 8 & 25 & 9 & 12 & 26 & 10 & 14 & 47 & 8 & 15 & 115 & 2 & 1 \tabularnewline %\addlinespace[0.5ex]
Roggen & 51 & 14 & 8 & 193 & 4 & 6 & 168 & 20 & 17 & 166 & 20 & 15 & 580 & 12 & 8\tabularnewline %\addlinespace[0.5ex]
Gerste & 53 & 11 & 8 & 76 & 5 & 7 & 55 & 18 & 1 & 104 & 13 & 3 & 290 &---& 3 \tabularnewline %\addlinespace[0.5ex]
Haaber & 19 &---& 8 & 143 & 21 & 15 & 93 & 17 & 14 & 100 & 19 & 6 & 357 & 11 & 11 \tabularnewline %\addlinespace[0.5ex]
Erbsen & 2 & 8 & 9 & 13 & 12 & 13 & 13 & 20 & 3 & 21 & 21 & 8 & 51 & 15 & 1 \tabularnewline %\addlinespace[0.5ex]
Linsen &---&---&---&---&---&---&---&---&---&---&---&---&---&---&---\tabularnewline %\addlinespace[0.5ex]
Wicken &---&---&---&---&---&---&---&---&---&---&---&---&---&---&--- \tabularnewline %\addlinespace[0.5ex]
Hirse & 1 & 1 & 6 & 5 & 8 & 12 & 4 & 3 & 1 & 5 & 1 & 7 & 15 & 14 & 10 \tabularnewline %\addlinespace[0.5ex]
Erdtoffeln & 13 & 17 &---& 74 & 11 & 6 & 86 & 2 & 6 & 87 & 13 & 12 & 261 & 14 & 8 \tabularnewline %\addlinespace[0.5ex]
Buchweitzen & 2 &---&---& 21 & 10 & 14 & 18 & 13 &---& 22 & 13 & 7 & 64 & 23 & 5 \tabularnewline \bottomrule
%\multicolumn{4}{@{}R}{\textit{ }}   %\tabularnewline
\end{longtable}
\end{centering}
\end{sidewaystable}
%\end{table}

\clearpage
\begin{sidewaystable}
\begin{centering}
\begin{longtable}[c]{@{}lccc|ccc|ccc|ccc@{}}
\caption{Getreideaussaat auf dem Lande} \label{tab:ap}\tabularnewline \specialrule{1pt}{0pt}{5pt}
& \multicolumn{12}{@{}C}{---\,im\,---} \tabularnewline \cmidrule{2-13} %\addlinespace[1ex]
& \multicolumn{3}{@{}C}{Blonier} & \multicolumn{3}{@{}C}{Brzyner} & \multicolumn{3}{@{}C}{Czersker} & \multicolumn{3}{@{}C}{Gostinier} \tabularnewline \cmidrule{2-13}
& \multicolumn{12}{@{}C}{---\,Kreise\,---} \tabularnewline \cmidrule(lr){2-4}\cmidrule(lr){5-7}\cmidrule(lr){8-10}\cmidrule(lr){11-13}
\footnotesize{Getreidesorten} & \Dh{W} & \Dh{S}& \Dh{M} & \Dh{W} & \Dh{S} & \Dh{M} & \Dh{W} & \Dh{S} & \Dh{M} & \Dh{W} & \Dh{S} & \Dh{M} \tabularnewline \midrule %\addlinespace[2ex]
Weitzen & 313 & 11 & 11 & 79 & 21 & 11 & 204 & 1 &---& 225 & 23 & 11 \tabularnewline %\addlinespace[0.5ex]
Roggen & 1.039 & 6 & 13 & 995 & 13 & 4 & 1.377 & 4 &---& 1.005 & 22 & 7 \tabularnewline %\addlinespace[0.5ex]
Gerste & 531 & 9 & 12 & 328 & 3 & 5 & 451 & 17 &---& 502 & 7 & 9 \tabularnewline %\addlinespace[0.5ex]
Haaber & 776 & 17 & 10 & 641 & 13 & 7 & 948 & 21 &---& 594 & 18 & 2 \tabularnewline %\addlinespace[0.5ex]
Erbsen & 63 & 14 & 13 & 78 & 17 & 8 & 83 & 21 &---& 103 & 17 & 4 \tabularnewline %\addlinespace[0.5ex]
Linsen &---&---& 14 &---&---&---&---&---&---&---&---&---\tabularnewline %\addlinespace[0.5ex]
Wicken &---&---&---&---& 3 &---&---&---&---&---&---&---\tabularnewline %\addlinespace[0.5ex]
Hirse & 26 & 13 & 3 & 20 & 21 & 3 & 29 & 17 &---& 27 & 17 & 5 \tabularnewline %\addlinespace[0.5ex]
Erdtoffeln & 294 & 14 & 10 & 153 & 11 & 8 & 227 & 7 &---& 242 & 21 & 14 \tabularnewline %\addlinespace[0.5ex]
Buchweitzen & 93 & 13 & 14 & 92 & 11 & 8 & 137 & 18 &---& 97 & 4 & 14 \tabularnewline \bottomrule
\multicolumn{13}{@{}R}{\textit{Fortsetzung nächste Seite}\ldots}
\end{longtable}
\end{centering}
\end{sidewaystable}


\clearpage

\begin{sidewaystable}
\begin{centering}
\begin{longtable}[c]{@{}lccc|ccc|ccc|ccc@{}}
\caption*{ } \tabularnewline \specialrule{1pt}{0pt}{5pt}
& \multicolumn{12}{@{}C}{---\,im\,---} \tabularnewline \cmidrule{2-13} %\addlinespace[1ex]
& \multicolumn{3}{@{}C}{Lent.-Zgierzer} & \multicolumn{3}{@{}C}{Orlower} & \multicolumn{3}{@{}C}{Rawaer} & \multicolumn{3}{@{}C}{Sochatschewer} \tabularnewline \cmidrule{2-13}
& \multicolumn{12}{@{}C}{---\,Kreise\,---} \tabularnewline \cmidrule(lr){2-4}\cmidrule(lr){5-7}\cmidrule(lr){8-10}\cmidrule(lr){11-13}
\footnotesize{Getreidesorten} & \Dh{W} & \Dh{S}& \Dh{M} & \Dh{W} & \Dh{S} & \Dh{M} & \Dh{W} & \Dh{S} & \Dh{M} & \Dh{W} & \Dh{S} & \Dh{M} \tabularnewline \midrule %\addlinespace[2ex]
Weitzen & 171 & 18 & 7 & 233 & 4 & 8 & 85 & 7 & 12 & 283 & 13 & 10 \tabularnewline %\addlinespace[0.5ex]
Roggen & 1.354 & 14 & 2 & 797 & 5 & 8 & 1.696 & 23 & 14 & 1.241 & 13 & 3 \tabularnewline %\addlinespace[0.5ex]
Gerste & 123 & 2 & 13 & 404 & 11 & 8 & 382 & 17 & 11 & 495 & 21 &--- \tabularnewline %\addlinespace[0.5ex]
Haaber & 673 & 4 & 4 & 405 & 4 &---& 902 & 8 & 15 & 781 & 11 & 5  \tabularnewline %\addlinespace[0.5ex]
Erbsen & 120 & 15 & 9 & 70 & 18 & 13 & 170 & 14 & 6 & 97 & 10 & 2 \tabularnewline %\addlinespace[0.5ex]
Linsen &---& 1 & 6 &---&---&---&---&---& 4 &---&---&--- \tabularnewline %\addlinespace[0.5ex]
Wicken &---& 2 & 2 &---&---&---&---& 13 & 11 &---&---&--- \tabularnewline %\addlinespace[0.5ex]
Hirse & 30 & 23 & 11 & 20 & 14 & 4 & 21 & 23 & 1 & 38 & 19 & 4 \tabularnewline %\addlinespace[0.5ex]
Erdtoffeln & 242 & 14 & 5 & 159 & 17 & 8 & 213 & 8 &---& 375 & 12 & 15  \tabularnewline %\addlinespace[0.5ex]
Buchweitzen & 95 &---& 14 & 57 & 20 & 10 & 138 & 19 & 3 & 66 & 17 & 4  \tabularnewline \bottomrule
\multicolumn{13}{@{}R}{\textit{Fortsetzung nächste Seite}\ldots}
\end{longtable}
\end{centering}
\end{sidewaystable}

\clearpage

%\begin{table}[H]
\begin{sidewaystable}
\begin{centering}
\begin{longtable}[c]{@{}lccc|ccc@{}}
\caption*{ } \tabularnewline \specialrule{1pt}{0pt}{5pt}
& \multicolumn{3}{@{}C}{im} & \multicolumn{3}{@{}C}{ } \tabularnewline %\cmidrule{2-4}\addlinespace[1ex]
& \multicolumn{3}{@{}C}{Warschauer} & \multicolumn{3}{@{}C}{ } \tabularnewline %\cmidrule{2-4}
& \multicolumn{3}{@{}C}{Kreise} & \multicolumn{3}{@{}C}{Summa} \tabularnewline \cmidrule(lr){2-4}\cmidrule(lr){5-7}
\footnotesize{Getreidesorten} & \Dh{W} & \Dh{S}& \Dh{M} & \Dh{W} & \Dh{S} & \Dh{M} \tabularnewline \midrule %\addlinespace[2ex]
Weitzen & 146 & 7 & 13 & 1.743 & 14 & 3 \tabularnewline %\addlinespace[0.5ex]
Roggen & 1.108 & 16 & 10 & 10.616 & 3 & 13 \tabularnewline %\addlinespace[0.5ex]
Gerste & 405 & 22 & 6 & 3.625 & 17 &---\tabularnewline %\addlinespace[0.5ex]
Haaber & 752 & 15 & 4 & 6.476 & 17 & 15 \tabularnewline %\addlinespace[0.5ex]
Erbsen & 61 & 22 & 15 & 851 & 8 & 6  \tabularnewline %\addlinespace[0.5ex]
Linsen &---&---& 6 &---& 2 & 14 \tabularnewline %\addlinespace[0.5ex]
Wicken &---& 8 & 11 & 1 & 3 & 8 \tabularnewline %\addlinespace[0.5ex]
Hirse & 28 & 3 & 8 & 245 & 8 & 7 \tabularnewline %\addlinespace[0.5ex]
Erdtoffeln & 336 & 13 &---& 2.246 &---& 12 \tabularnewline %\addlinespace[0.5ex]
Buchweitzen & 169 &---& 10 & 948 & 10 & 13 \tabularnewline \bottomrule
%\multicolumn{7}{@{}R}{\textit{Fortsetzung nächste Seite}\ldots}
\end{longtable}
\end{centering}
\end{sidewaystable}
%\end{table}


\clearpage


\end{document}
Zuletzt geändert von mons am Do 1. Jan 2009, 16:49, insgesamt 1-mal geändert.

mons
Forum-Anfänger
Forum-Anfänger
Beiträge: 23
Registriert: So 19. Okt 2008, 20:44
Wohnort: Anhalt

mehrteilige Tabellen und deren Nummerierung

Beitrag von mons »

Hallo,

ich habe eben den großen "Codeschnipsel" in der Nachricht hochgeladen, eine andere Möglichkeit fand ich nicht.
Das auskommentierte \addlinespace[0.5ex] soll nicht stören. Das hatte ich mir für die Umwandlung ins DIN A 4 Format vorgehalten.
In diesem Falle könnte ich mit dem Zeilenabstand etwas großzügiger umgehen.

Gruß mons

Benutzeravatar
KOMA
TeX-Entwickler
TeX-Entwickler
Beiträge: 2958
Registriert: Fr 4. Jul 2008, 17:28
Kontaktdaten:

Re: mehrteilige Tabellen und deren Nummerierung

Beitrag von KOMA »

mons hat geschrieben:Ich hoffe, es haut so hin.
Ich habe Dich schon einmal darauf aufmerksam gemacht, dass Du Dir mit Deinen Minimalbeispielen mehr Mühe geben solltest. Da Du das trotzdem nicht für notwendig erachtest, und es auch nicht einmal für erforderlich hältst, die in der BBCode-Hilfe angegebenen und im Eingabedialog per Button verfügbare Code-Auszeichnungen zu verwenden, sehe ich mich leider außer Stande Dir weiter zu helfen.

mons
Forum-Anfänger
Forum-Anfänger
Beiträge: 23
Registriert: So 19. Okt 2008, 20:44
Wohnort: Anhalt

mehrteilige Tabellen und deren Nummerierung

Beitrag von mons »

Koma, bist wohl mit dem falschen Fuß aufgestanden?
Das Jahr ist erst rund 13 Stunden alt und schon muss man sich so etwas antun. Erst soll man mehr Informationen liefern. Ich mache mir die Mühe etwas Aussagekräftiges auszuschneiden, zu bereinigen, probiert hin- und her mit dem Format usw. und dann ist es auch nicht recht.

Wenn ich bei den Projekten, die ich in unserem Hause zu betreuen habe, solch ein kommunikatives Mitglied hätte, hätte ich nicht eines zu einem erfolgreichen Abschluss bringen können.

Sei es drumm, schreib doch gleich, dass du in der Sache nicht weiterhelfen kannst und schiebe es nicht auf das Beispiel.
Kann ich auch akzeptieren.

Wie ich schon schrieb, mit negativem addtocounter geht es nicht und das die Tabellen und nicht die Überschriften gezählt werden, ist für mich nachvollziehbar.
Insofern hätte es des "Codeschnipsels" nicht bedurft, den habe ich nur auf deine Aufforderung hin nachgereicht.

Bei logischer Betrachtung kann es mit einem automatischen Zähler nicht anders gehen, man müsste wohl auf eine Einzelnummerierung zurückgreifen. Ich werde mich da mal einlesen.

mons
Forum-Anfänger
Forum-Anfänger
Beiträge: 23
Registriert: So 19. Okt 2008, 20:44
Wohnort: Anhalt

mehrteilige Tabellen und deren Nummerierung

Beitrag von mons »

So, habe nun meinen verunglückten "Codeschnipsel" hoffentlich richtig eingebunden.

sommerfee
Forum-Century
Forum-Century
Beiträge: 219
Registriert: Sa 12. Jul 2008, 08:02

Re: mehrteilige Tabellen und deren Nummerierung

Beitrag von sommerfee »

mons hat geschrieben:Dann las ich irgendwo in einem Forum, wo keine Überschrift, da keine Nummer. Das stimmt nicht.
Doch, bei den gleitenden Umgebungen (figure, table, ...) stimmt das.
mons hat geschrieben:Wie ich schon schrieb, mit negativem addtocounter geht es nicht und das die Tabellen und nicht die Überschriften gezählt werden, ist für mich nachvollziehbar.
Das gemeine ist, daß das Verhalten hier innerhalb von LaTeX nicht konsistent ist. Bei figure und table-Umgebungen wird bei \caption weitergezählt, die longtable-Umgebung ist aber so implementiert, daß bei \begin{longtable} weitergezählt wird.
Insofern hätte es des "Codeschnipsels" nicht bedurft, den habe ich nur auf deine Aufforderung hin nachgereicht.
Ohne den Codeschnipsel hätte ich auch keine Ahnung gehabt, wie es zu den Unterbrechungen in der Nummerierung kommt. Denn daß es sich um longtables handelt, davon stand nichts im ersten Beitrag. \caption* hätte auch genauso gut der Befehl aus dem caption-Paket sein können, der auch bei normalen Gleitumgebungen einsetzbar ist.

Nun aber zum Problem:

Mit negativen \addtocounter zu arbeiten ist in der Regel keine gute Idee, spätestens bei der Verwendung mit hyperref führt dies zu falschen Sprungzielen.

Meine Idee wäre, das/mein ltcaption-Paket einzubinden. Dies stellt eine longtable*-Umgebung bereit, die im Gegensatz zu longtable nicht weiterzählt. \caption* kann in diesen Umgebungen weiterhin eingesetzt werden.

Liebe Grüße,
Axel

mons
Forum-Anfänger
Forum-Anfänger
Beiträge: 23
Registriert: So 19. Okt 2008, 20:44
Wohnort: Anhalt

mehrteilige Tabellen und deren Nummerierung

Beitrag von mons »

Hallo Axel,

vielen Dank für deine freundlichen Hinweise,
man lernt ja nie aus. Das sich die longtable-Umgebung in solche einem Punkt anders verhält wie die table, das muss man erst einmal wissen.
Es war also doch richtig den "Codebrocken" vorzulegen.

Nun bin ich auf das itcaption-Paket gespannt. Nur wo bekomme ich es her?
Weder die Debian-Pakages noch Google wirft einen Hinweis darauf aus.
Auch die Stichwortverzeichnisse aller von mir inzwischen angeschaffter LaTex-Bücher schweigen hierzu.

Ein kleiner Hinweis für die "Schnipseljagd" wäre sehr nett.

Viele Grüße und nochmals Danke

mons

sommerfee
Forum-Century
Forum-Century
Beiträge: 219
Registriert: Sa 12. Jul 2008, 08:02

Beitrag von sommerfee »

Hallo mons,

Das ltcaption-Paket ist seit September 2007 Bestandteil der caption-Paketsammlung und ist z.B. hier zu finden:

http://www.ctan.org/tex-archive/macros/ ... b/caption/

Wenn man das caption-Paket 3.1 installiert (hat), ist also automatisch das ltcaption-Paket dabei.

Liebe Grüße,
Axel

Antworten