Longtable mit Zeilenumbruch

Tabellen und Grafiken erstellen und anordnen


Gast007

Longtable mit Zeilenumbruch

Beitrag von Gast007 »

Hallo, wie kann ich in einer Longtable einen Zeilenumbruch in der Kopfzeile erreichen? Die Befehle für eine normale Tabelle funtkionieren leider nicht bei der Benutzung von Longtable

Hier ist mal ein Beispiel
\documentclass{article}

\usepackage{longtable}


\begin{document}

\begin{center}
\begin{longtable}{|c|c|c|l|}
\caption{A sample long table.} \label{tab:long} \\




\hline \multicolumn{1}{|c|}{\textbf{Abstand, \newline s in mm}} & \multicolumn{1}{c|}{\textbf{Kraft, F in N}} & \multicolumn{1}{c|}{\textbf{Messunsicherheit, u in km/h}}  & \multicolumn{1}{c|}{\textbf{Anmerkungen}} \\ \hline 
\endfirsthead

\multicolumn{4}{c}%
{{\bfseries \tablename\ \thetable{} -- continued from previous page}} \\
\hline \multicolumn{1}{|c|}{\textbf{Abstand, s in mm}} & \multicolumn{1}{c|}{\textbf{Kraft, F in N}} & \multicolumn{1}{c|}{\textbf{Messunsicherheit (km/h)}}  & \multicolumn{1}{c|}{\textbf{Messunsicherheit, u in km/h}} \\ \hline 
\endhead

\hline \multicolumn{4}{|r|}{{Continued on next page}} \\ \hline
\endfoot

\hline \hline
\endlastfoot

1	&	55,55	&	123,4567	&	abcdef ghjkl	\\
2	&	55,55	&	123,4567	&	abcdef ghjkl	\\
3	&	55,55	&	123,4567	&	abcdef ghjkl	\\
4	&	55,55	&	123,4567	&	abcdef ghjkl	\\
5	&	55,55	&	123,4567	&	abcdef ghjkl	\\
6	&	55,55	&	123,4567	&	abcdef ghjkl	\\
7	&	55,55	&	123,4567	&	abcdef ghjkl	\\
8	&	55,55	&	123,4567	&	abcdef ghjkl	\\
9	&	55,55	&	123,4567	&	abcdef ghjkl	\\
10	&	55,55	&	123,4567	&	abcdef ghjkl	\\
11	&	55,55	&	123,4567	&	abcdef ghjkl	\\
12	&	55,55	&	123,4567	&	abcdef ghjkl	\\
13	&	55,55	&	123,4567	&	abcdef ghjkl	\\
14	&	55,55	&	123,4567	&	abcdef ghjkl	\\
15	&	55,55	&	123,4567	&	abcdef ghjkl	\\
16	&	55,55	&	123,4567	&	abcdef ghjkl	\\
17	&	55,55	&	123,4567	&	abcdef ghjkl	\\
18	&	55,55	&	123,4567	&	abcdef ghjkl	\\
19	&	55,55	&	123,4567	&	abcdef ghjkl	\\
20	&	55,55	&	123,4567	&	abcdef ghjkl	\\
21	&	55,55	&	123,4567	&	abcdef ghjkl	\\
22	&	55,55	&	123,4567	&	abcdef ghjkl	\\
23	&	55,55	&	123,4567	&	abcdef ghjkl	\\
24	&	55,55	&	123,4567	&	abcdef ghjkl	\\
25	&	55,55	&	123,4567	&	abcdef ghjkl	\\
26	&	55,55	&	123,4567	&	abcdef ghjkl	\\
27	&	55,55	&	123,4567	&	abcdef ghjkl	\\
28	&	55,55	&	123,4567	&	abcdef ghjkl	\\
29	&	55,55	&	123,4567	&	abcdef ghjkl	\\
30	&	55,55	&	123,4567	&	abcdef ghjkl	\\
31	&	55,55	&	123,4567	&	abcdef ghjkl	\\
32	&	55,55	&	123,4567	&	abcdef ghjkl	\\
33	&	55,55	&	123,4567	&	abcdef ghjkl	\\
34	&	55,55	&	123,4567	&	abcdef ghjkl	\\
35	&	55,55	&	123,4567	&	abcdef ghjkl	\\
36	&	55,55	&	123,4567	&	abcdef ghjkl	\\
37	&	55,55	&	123,4567	&	abcdef ghjkl	\\
38	&	55,55	&	123,4567	&	abcdef ghjkl	\\
39	&	55,55	&	123,4567	&	abcdef ghjkl	\\
40	&	55,55	&	123,4567	&	abcdef ghjkl	\\
41	&	55,55	&	123,4567	&	abcdef ghjkl	\\
42	&	55,55	&	123,4567	&	abcdef ghjkl	\\
43	&	55,55	&	123,4567	&	abcdef ghjkl	\\
44	&	55,55	&	123,4567	&	abcdef ghjkl	\\
45	&	55,55	&	123,4567	&	abcdef ghjkl	\\
46	&	55,55	&	123,4567	&	abcdef ghjkl	\\
47	&	55,55	&	123,4567	&	abcdef ghjkl	\\
48	&	55,55	&	123,4567	&	abcdef ghjkl	\\
49	&	55,55	&	123,4567	&	abcdef ghjkl	\\
50	&	55,55	&	123,4567	&	abcdef ghjkl	\\
51	&	55,55	&	123,4567	&	abcdef ghjkl	\\
52	&	55,55	&	123,4567	&	abcdef ghjkl	\\
53	&	55,55	&	123,4567	&	abcdef ghjkl	\\
54	&	55,55	&	123,4567	&	abcdef ghjkl	\\
55	&	55,55	&	123,4567	&	abcdef ghjkl	\\



\end{longtable}
\end{center}

\end{document}
Vielen Dank

Bartman
Forum-Meister
Forum-Meister
Beiträge: 2456
Registriert: Do 16. Jul 2009, 21:41
Wohnort: Hessische Provinz

Beitrag von Bartman »

Dafür eignet sich ein Spaltentyp wie p{...} mit einer zu übergebenden Längenangabe. Du könntest aber auch einfach für Formelzeichen und Einheit eine weitere Zeile anlegen. Für Letztere solltest Du Dir das Paket siunitx ansehen.

Mein etwas stärker von Deiner Tabelle abweichender Vorschlag wäre:
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage[ngerman]{babel}
\usepackage{longtable}
\usepackage{booktabs}
\usepackage{siunitx}

\sisetup{
	locale=DE, 
	per-mode=symbol
}

\begin{document}
\begin{longtable}{SSSl}
\caption{A sample long table.} 
\label{tab:long} \\
\toprule
{Abstand} & {Kraft} & {Messunsicherheit} & Anmerkungen \\ 
{$s$ in \si{\mm}} & {$F$ in \si{\N}} & {$u$ in \si{\km\per\hour}} &\\
\midrule
\endfirsthead

%\multicolumn{4}{c}%
%{{\bfseries \tablename\ \thetable{} -- continued from previous page}} \\
\caption[]{continued from previous page}\\
\toprule
{Abstand} & {Kraft} & {Messunsicherheit} & Anmerkungen \\ 
{$s$ in \si{\mm}} & {$F$ in \si{\N}} & {$u$ in \si{\km\per\hour}} &\\
\midrule
\endhead

\midrule
\multicolumn{4}{r}{{Continued on next page}} \\ 
\bottomrule
\endfoot

\bottomrule
\endlastfoot
1   &   55,55   &   123,4567   &   abcdef ghjkl   \\
2   &   55,55   &   123,4567   &   abcdef ghjkl   \\
3   &   55,55   &   123,4567   &   abcdef ghjkl   \\
4   &   55,55   &   123,4567   &   abcdef ghjkl   \\
5   &   55,55   &   123,4567   &   abcdef ghjkl   \\
6   &   55,55   &   123,4567   &   abcdef ghjkl   \\
7   &   55,55   &   123,4567   &   abcdef ghjkl   \\
8   &   55,55   &   123,4567   &   abcdef ghjkl   \\
9   &   55,55   &   123,4567   &   abcdef ghjkl   \\
10   &   55,55   &   123,4567   &   abcdef ghjkl   \\
11   &   55,55   &   123,4567   &   abcdef ghjkl   \\
12   &   55,55   &   123,4567   &   abcdef ghjkl   \\
13   &   55,55   &   123,4567   &   abcdef ghjkl   \\
14   &   55,55   &   123,4567   &   abcdef ghjkl   \\
15   &   55,55   &   123,4567   &   abcdef ghjkl   \\
16   &   55,55   &   123,4567   &   abcdef ghjkl   \\
17   &   55,55   &   123,4567   &   abcdef ghjkl   \\
18   &   55,55   &   123,4567   &   abcdef ghjkl   \\
19   &   55,55   &   123,4567   &   abcdef ghjkl   \\
20   &   55,55   &   123,4567   &   abcdef ghjkl   \\
21   &   55,55   &   123,4567   &   abcdef ghjkl   \\
22   &   55,55   &   123,4567   &   abcdef ghjkl   \\
23   &   55,55   &   123,4567   &   abcdef ghjkl   \\
24   &   55,55   &   123,4567   &   abcdef ghjkl   \\
25   &   55,55   &   123,4567   &   abcdef ghjkl   \\
26   &   55,55   &   123,4567   &   abcdef ghjkl   \\
27   &   55,55   &   123,4567   &   abcdef ghjkl   \\
28   &   55,55   &   123,4567   &   abcdef ghjkl   \\
29   &   55,55   &   123,4567   &   abcdef ghjkl   \\
30   &   55,55   &   123,4567   &   abcdef ghjkl   \\
31   &   55,55   &   123,4567   &   abcdef ghjkl   \\
32   &   55,55   &   123,4567   &   abcdef ghjkl   \\
33   &   55,55   &   123,4567   &   abcdef ghjkl   \\
34   &   55,55   &   123,4567   &   abcdef ghjkl   \\
35   &   55,55   &   123,4567   &   abcdef ghjkl   \\
36   &   55,55   &   123,4567   &   abcdef ghjkl   \\
37   &   55,55   &   123,4567   &   abcdef ghjkl   \\
38   &   55,55   &   123,4567   &   abcdef ghjkl   \\
39   &   55,55   &   123,4567   &   abcdef ghjkl   \\
40   &   55,55   &   123,4567   &   abcdef ghjkl   \\
41   &   55,55   &   123,4567   &   abcdef ghjkl   \\
42   &   55,55   &   123,4567   &   abcdef ghjkl   \\
43   &   55,55   &   123,4567   &   abcdef ghjkl   \\
44   &   55,55   &   123,4567   &   abcdef ghjkl   \\
45   &   55,55   &   123,4567   &   abcdef ghjkl   \\
46   &   55,55   &   123,4567   &   abcdef ghjkl   \\
47   &   55,55   &   123,4567   &   abcdef ghjkl   \\
48   &   55,55   &   123,4567   &   abcdef ghjkl   \\
49   &   55,55   &   123,4567   &   abcdef ghjkl   \\
50   &   55,55   &   123,4567   &   abcdef ghjkl   \\
51   &   55,55   &   123,4567   &   abcdef ghjkl   \\
52   &   55,55   &   123,4567   &   abcdef ghjkl   \\
53   &   55,55   &   123,4567   &   abcdef ghjkl   \\
54   &   55,55   &   123,4567   &   abcdef ghjkl   \\
55   &   55,55   &   123,4567   &   abcdef ghjkl   \\
\end{longtable}
\end{document}
Zuletzt geändert von Bartman am Mi 14. Nov 2018, 18:17, insgesamt 2-mal geändert.

Gast007

Beitrag von Gast007 »

Danke für dein Tipp, leider werden die Zelleninhalte der Kopfzeile beim Spaltentyp p nicht mehr zentriert (weder horizontal noch vertikal) was dann leider etwas komisch aussieht

Bartman
Forum-Meister
Forum-Meister
Beiträge: 2456
Registriert: Do 16. Jul 2009, 21:41
Wohnort: Hessische Provinz

Beitrag von Bartman »

Ich habe noch einen Vorschlag hinzugefügt. Was hältst Du von davon? Für senkrechtes Zentrieren gibt es den Spaltentyp m{...}. Im Tabellenteil einer LaTeX-Einführung dürften beide Arten hoffentlich erwähnt werden.

Deine Sprachwahl ist verwirrend. Soll das Dokument in deutscher oder englischer Sprache verfasst sein?

Gast007

Beitrag von Gast007 »

Vielen Dank für deine Mühe, der Tabellenkopf in deinem Vorschlag sieht sehr gut aus. Leider haben die Tabellen in meinen Dokument vertikale Trennlinien und wenn ich die dort hinzufüge werden aus irgendeinem Grund nicht geschlossen
\documentclass{article}
\usepackage{longtable}
\usepackage{booktabs}
\usepackage[per-mode=symbol]{siunitx}

\begin{document}
\begin{longtable}{|S|S|S|l|}
\caption{A sample long table.} 
\label{tab:long} \\
\toprule
{Abstand} & {Kraft} & {Messunsicherheit} & Anmerkungen \\ 
{$s$ in \si{\mm}} & {$F$ in \si{\N}} & {$u$ in \si{\km\per\hour}} &\\
\midrule
\endfirsthead

%\multicolumn{4}{c}%
%{{\bfseries \tablename\ \thetable{} -- continued from previous page}} \\
\caption[]{continued from previous page}\\
\toprule
{Abstand} & {Kraft} & {Messunsicherheit} & Anmerkungen \\ 
{$s$ in \si{\mm}} & {$F$ in \si{\N}} & {$u$ in \si{\km\per\hour}} &\\
\midrule
\endhead

\midrule
\multicolumn{4}{r}{{Continued on next page}} \\ 
\bottomrule
\endfoot

\bottomrule
\endlastfoot
1   &   55,55   &   123,4567   &   abcdef ghjkl   \\
2   &   55,55   &   123,4567   &   abcdef ghjkl   \\
3   &   55,55   &   123,4567   &   abcdef ghjkl   \\
4   &   55,55   &   123,4567   &   abcdef ghjkl   \\
5   &   55,55   &   123,4567   &   abcdef ghjkl   \\
6   &   55,55   &   123,4567   &   abcdef ghjkl   \\
7   &   55,55   &   123,4567   &   abcdef ghjkl   \\
8   &   55,55   &   123,4567   &   abcdef ghjkl   \\
9   &   55,55   &   123,4567   &   abcdef ghjkl   \\
10   &   55,55   &   123,4567   &   abcdef ghjkl   \\
11   &   55,55   &   123,4567   &   abcdef ghjkl   \\
12   &   55,55   &   123,4567   &   abcdef ghjkl   \\
13   &   55,55   &   123,4567   &   abcdef ghjkl   \\
14   &   55,55   &   123,4567   &   abcdef ghjkl   \\
15   &   55,55   &   123,4567   &   abcdef ghjkl   \\
16   &   55,55   &   123,4567   &   abcdef ghjkl   \\
17   &   55,55   &   123,4567   &   abcdef ghjkl   \\
18   &   55,55   &   123,4567   &   abcdef ghjkl   \\
19   &   55,55   &   123,4567   &   abcdef ghjkl   \\
20   &   55,55   &   123,4567   &   abcdef ghjkl   \\
21   &   55,55   &   123,4567   &   abcdef ghjkl   \\
22   &   55,55   &   123,4567   &   abcdef ghjkl   \\
23   &   55,55   &   123,4567   &   abcdef ghjkl   \\
24   &   55,55   &   123,4567   &   abcdef ghjkl   \\
25   &   55,55   &   123,4567   &   abcdef ghjkl   \\
26   &   55,55   &   123,4567   &   abcdef ghjkl   \\
27   &   55,55   &   123,4567   &   abcdef ghjkl   \\
28   &   55,55   &   123,4567   &   abcdef ghjkl   \\
29   &   55,55   &   123,4567   &   abcdef ghjkl   \\
30   &   55,55   &   123,4567   &   abcdef ghjkl   \\
31   &   55,55   &   123,4567   &   abcdef ghjkl   \\
32   &   55,55   &   123,4567   &   abcdef ghjkl   \\
33   &   55,55   &   123,4567   &   abcdef ghjkl   \\
34   &   55,55   &   123,4567   &   abcdef ghjkl   \\
35   &   55,55   &   123,4567   &   abcdef ghjkl   \\
36   &   55,55   &   123,4567   &   abcdef ghjkl   \\
37   &   55,55   &   123,4567   &   abcdef ghjkl   \\
38   &   55,55   &   123,4567   &   abcdef ghjkl   \\
39   &   55,55   &   123,4567   &   abcdef ghjkl   \\
40   &   55,55   &   123,4567   &   abcdef ghjkl   \\
41   &   55,55   &   123,4567   &   abcdef ghjkl   \\
42   &   55,55   &   123,4567   &   abcdef ghjkl   \\
43   &   55,55   &   123,4567   &   abcdef ghjkl   \\
44   &   55,55   &   123,4567   &   abcdef ghjkl   \\
45   &   55,55   &   123,4567   &   abcdef ghjkl   \\
46   &   55,55   &   123,4567   &   abcdef ghjkl   \\
47   &   55,55   &   123,4567   &   abcdef ghjkl   \\
48   &   55,55   &   123,4567   &   abcdef ghjkl   \\
49   &   55,55   &   123,4567   &   abcdef ghjkl   \\
50   &   55,55   &   123,4567   &   abcdef ghjkl   \\
51   &   55,55   &   123,4567   &   abcdef ghjkl   \\
52   &   55,55   &   123,4567   &   abcdef ghjkl   \\
53   &   55,55   &   123,4567   &   abcdef ghjkl   \\
54   &   55,55   &   123,4567   &   abcdef ghjkl   \\
55   &   55,55   &   123,4567   &   abcdef ghjkl   \\
\end{longtable}
\end{document}

Bartman
Forum-Meister
Forum-Meister
Beiträge: 2456
Registriert: Do 16. Jul 2009, 21:41
Wohnort: Hessische Provinz

Beitrag von Bartman »

Die Abstände sind bei booktabs beabsichtigt. Wenn Du die senkrechten Linien beibehalten musst oder möchtest, dann bleib bei \hline.

Gast007

Beitrag von Gast007 »

Ich schreibe in deutsch, ich habe jedoch eine englische longtable-Vorlage verwendet. Ich war nur zu faul alles einzudeutschen, weil die Tabelle noch nicht meinen Vorstellungen entspricht

Bartman
Forum-Meister
Forum-Meister
Beiträge: 2456
Registriert: Do 16. Jul 2009, 21:41
Wohnort: Hessische Provinz

Beitrag von Bartman »

Eine vorstellbare Version mit \hline:
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage[ngerman]{babel}
\usepackage{longtable}
\usepackage{siunitx}

\sisetup{
   locale=DE,
   per-mode=symbol
}

\begin{document}
\begin{longtable}{|S|S|S|l|}
\caption{A sample long table.} 
\label{tab:long} \\
\hline
{Abstand} & {Kraft} & {Messunsicherheit} & Anmerkungen \\ 
{$s$ in \si{\mm}} & {$F$ in \si{\N}} & {$u$ in \si{\km\per\hour}} &\\
\hline
\endfirsthead

%\multicolumn{4}{c}%
%{{\bfseries \tablename\ \thetable{} -- continued from previous page}} \\
\caption[]{continued from previous page}\\
\hline
{Abstand} & {Kraft} & {Messunsicherheit} & Anmerkungen \\ 
{$s$ in \si{\mm}} & {$F$ in \si{\N}} & {$u$ in \si{\km\per\hour}} &\\
\hline
\endhead

\hline
\multicolumn{4}{r}{{Continued on next page}} \\ 
\endfoot

\hline
\endlastfoot
1   &   55,55   &   123,4567   &   abcdef ghjkl   \\
2   &   55,55   &   123,4567   &   abcdef ghjkl   \\
3   &   55,55   &   123,4567   &   abcdef ghjkl   \\
4   &   55,55   &   123,4567   &   abcdef ghjkl   \\
5   &   55,55   &   123,4567   &   abcdef ghjkl   \\
6   &   55,55   &   123,4567   &   abcdef ghjkl   \\
7   &   55,55   &   123,4567   &   abcdef ghjkl   \\
8   &   55,55   &   123,4567   &   abcdef ghjkl   \\
9   &   55,55   &   123,4567   &   abcdef ghjkl   \\
10   &   55,55   &   123,4567   &   abcdef ghjkl   \\
11   &   55,55   &   123,4567   &   abcdef ghjkl   \\
12   &   55,55   &   123,4567   &   abcdef ghjkl   \\
13   &   55,55   &   123,4567   &   abcdef ghjkl   \\
14   &   55,55   &   123,4567   &   abcdef ghjkl   \\
15   &   55,55   &   123,4567   &   abcdef ghjkl   \\
16   &   55,55   &   123,4567   &   abcdef ghjkl   \\
17   &   55,55   &   123,4567   &   abcdef ghjkl   \\
18   &   55,55   &   123,4567   &   abcdef ghjkl   \\
19   &   55,55   &   123,4567   &   abcdef ghjkl   \\
20   &   55,55   &   123,4567   &   abcdef ghjkl   \\
21   &   55,55   &   123,4567   &   abcdef ghjkl   \\
22   &   55,55   &   123,4567   &   abcdef ghjkl   \\
23   &   55,55   &   123,4567   &   abcdef ghjkl   \\
24   &   55,55   &   123,4567   &   abcdef ghjkl   \\
25   &   55,55   &   123,4567   &   abcdef ghjkl   \\
26   &   55,55   &   123,4567   &   abcdef ghjkl   \\
27   &   55,55   &   123,4567   &   abcdef ghjkl   \\
28   &   55,55   &   123,4567   &   abcdef ghjkl   \\
29   &   55,55   &   123,4567   &   abcdef ghjkl   \\
30   &   55,55   &   123,4567   &   abcdef ghjkl   \\
31   &   55,55   &   123,4567   &   abcdef ghjkl   \\
32   &   55,55   &   123,4567   &   abcdef ghjkl   \\
33   &   55,55   &   123,4567   &   abcdef ghjkl   \\
34   &   55,55   &   123,4567   &   abcdef ghjkl   \\
35   &   55,55   &   123,4567   &   abcdef ghjkl   \\
36   &   55,55   &   123,4567   &   abcdef ghjkl   \\
37   &   55,55   &   123,4567   &   abcdef ghjkl   \\
38   &   55,55   &   123,4567   &   abcdef ghjkl   \\
39   &   55,55   &   123,4567   &   abcdef ghjkl   \\
40   &   55,55   &   123,4567   &   abcdef ghjkl   \\
41   &   55,55   &   123,4567   &   abcdef ghjkl   \\
42   &   55,55   &   123,4567   &   abcdef ghjkl   \\
43   &   55,55   &   123,4567   &   abcdef ghjkl   \\
44   &   55,55   &   123,4567   &   abcdef ghjkl   \\
45   &   55,55   &   123,4567   &   abcdef ghjkl   \\
46   &   55,55   &   123,4567   &   abcdef ghjkl   \\
47   &   55,55   &   123,4567   &   abcdef ghjkl   \\
48   &   55,55   &   123,4567   &   abcdef ghjkl   \\
49   &   55,55   &   123,4567   &   abcdef ghjkl   \\
50   &   55,55   &   123,4567   &   abcdef ghjkl   \\
51   &   55,55   &   123,4567   &   abcdef ghjkl   \\
52   &   55,55   &   123,4567   &   abcdef ghjkl   \\
53   &   55,55   &   123,4567   &   abcdef ghjkl   \\
54   &   55,55   &   123,4567   &   abcdef ghjkl   \\
55   &   55,55   &   123,4567   &   abcdef ghjkl   \\
\end{longtable}
\end{document}

Gast007

Beitrag von Gast007 »

gibt es eine Möglichkeit um "Continued on next page" auch noch einen Rahmen zu zeichnen?

\documentclass{article}
\usepackage{longtable}
\usepackage{booktabs}
\usepackage[per-mode=symbol]{siunitx}

\begin{document}
\begin{longtable}{|S|S|S|l|}
\caption{A sample long table.} 
\label{tab:long} \\
\hline
{Abstand} & {Kraft} & {Messunsicherheit} & Anmerkungen \\ 
{$s$ in \si{\mm}} & {$F$ in \si{\N}} & {$u$ in \si{\km\per\hour}} &\\
\hline
\endfirsthead

%\multicolumn{4}{c}%
%{{\bfseries \tablename\ \thetable{} -- continued from previous page}} \\
\caption[]{continued from previous page}\\
\hline
{Abstand} & {Kraft} & {Messunsicherheit} & Anmerkungen \\ 
{$s$ in \si{\mm}} & {$F$ in \si{\N}} & {$u$ in \si{\km\per\hour}} &\\
\hline
\endhead

\hline
\multicolumn{4}{r}{{Continued on next page}} \\ 
\hline
\endfoot

\hline
\endlastfoot
1   &   55,55   &   123,4567   &   abcdef ghjkl   \\
2   &   55,55   &   123,4567   &   abcdef ghjkl   \\
3   &   55,55   &   123,4567   &   abcdef ghjkl   \\
4   &   55,55   &   123,4567   &   abcdef ghjkl   \\
5   &   55,55   &   123,4567   &   abcdef ghjkl   \\
6   &   55,55   &   123,4567   &   abcdef ghjkl   \\
7   &   55,55   &   123,4567   &   abcdef ghjkl   \\
8   &   55,55   &   123,4567   &   abcdef ghjkl   \\
9   &   55,55   &   123,4567   &   abcdef ghjkl   \\
10   &   55,55   &   123,4567   &   abcdef ghjkl   \\
11   &   55,55   &   123,4567   &   abcdef ghjkl   \\
12   &   55,55   &   123,4567   &   abcdef ghjkl   \\
13   &   55,55   &   123,4567   &   abcdef ghjkl   \\
14   &   55,55   &   123,4567   &   abcdef ghjkl   \\
15   &   55,55   &   123,4567   &   abcdef ghjkl   \\
16   &   55,55   &   123,4567   &   abcdef ghjkl   \\
17   &   55,55   &   123,4567   &   abcdef ghjkl   \\
18   &   55,55   &   123,4567   &   abcdef ghjkl   \\
19   &   55,55   &   123,4567   &   abcdef ghjkl   \\
20   &   55,55   &   123,4567   &   abcdef ghjkl   \\
21   &   55,55   &   123,4567   &   abcdef ghjkl   \\
22   &   55,55   &   123,4567   &   abcdef ghjkl   \\
23   &   55,55   &   123,4567   &   abcdef ghjkl   \\
24   &   55,55   &   123,4567   &   abcdef ghjkl   \\
25   &   55,55   &   123,4567   &   abcdef ghjkl   \\
26   &   55,55   &   123,4567   &   abcdef ghjkl   \\
27   &   55,55   &   123,4567   &   abcdef ghjkl   \\
28   &   55,55   &   123,4567   &   abcdef ghjkl   \\
29   &   55,55   &   123,4567   &   abcdef ghjkl   \\
30   &   55,55   &   123,4567   &   abcdef ghjkl   \\
31   &   55,55   &   123,4567   &   abcdef ghjkl   \\
32   &   55,55   &   123,4567   &   abcdef ghjkl   \\
33   &   55,55   &   123,4567   &   abcdef ghjkl   \\
34   &   55,55   &   123,4567   &   abcdef ghjkl   \\
35   &   55,55   &   123,4567   &   abcdef ghjkl   \\
36   &   55,55   &   123,4567   &   abcdef ghjkl   \\
37   &   55,55   &   123,4567   &   abcdef ghjkl   \\
38   &   55,55   &   123,4567   &   abcdef ghjkl   \\
39   &   55,55   &   123,4567   &   abcdef ghjkl   \\
40   &   55,55   &   123,4567   &   abcdef ghjkl   \\
41   &   55,55   &   123,4567   &   abcdef ghjkl   \\
42   &   55,55   &   123,4567   &   abcdef ghjkl   \\
43   &   55,55   &   123,4567   &   abcdef ghjkl   \\
44   &   55,55   &   123,4567   &   abcdef ghjkl   \\
45   &   55,55   &   123,4567   &   abcdef ghjkl   \\
46   &   55,55   &   123,4567   &   abcdef ghjkl   \\
47   &   55,55   &   123,4567   &   abcdef ghjkl   \\
48   &   55,55   &   123,4567   &   abcdef ghjkl   \\
49   &   55,55   &   123,4567   &   abcdef ghjkl   \\
50   &   55,55   &   123,4567   &   abcdef ghjkl   \\
51   &   55,55   &   123,4567   &   abcdef ghjkl   \\
52   &   55,55   &   123,4567   &   abcdef ghjkl   \\
53   &   55,55   &   123,4567   &   abcdef ghjkl   \\
54   &   55,55   &   123,4567   &   abcdef ghjkl   \\
55   &   55,55   &   123,4567   &   abcdef ghjkl   \\
\end{longtable}
\end{document}

Bartman
Forum-Meister
Forum-Meister
Beiträge: 2456
Registriert: Do 16. Jul 2009, 21:41
Wohnort: Hessische Provinz

Beitrag von Bartman »

Benutze den \multicolumn-Befehl aus Deinem Eröffnungsbeitrag.

Antworten