• Apfeltalk ändert einen Teil seiner Allgemeinen Geschäftsbedingungen (AGB), das Löschen von Useraccounts betreffend.
    Näheres könnt Ihr hier nachlesen: AGB-Änderung
  • Viele hassen ihn, manche schwören auf ihn, wir aber möchten unbedingt sehen, welche Bilder Ihr vor Eurem geistigen Auge bzw. vor der Linse Eures iPhone oder iPad sehen könnt, wenn Ihr dieses Wort hört oder lest. Macht mit und beteiligt Euch an unserem Frühjahrsputz ---> Klick

Latex: Breite Tabelle im Querformat auf mehreren Seiten

schatzspatz

Ingrid Marie
Registriert
02.03.06
Beiträge
265
Hallo an alle Latex-Experten,

wie ich schon im Titel versucht habe zu erklären, geht es wieder einmal um Tabellen...

Bei mir handelt es sich eine mit besonders viel Spalten - also ganz breit. Diese habe ich nun mit verschiedenen Befehlen auch schon um 90° gedreht bekommen, so dass sie quer auf dem A4 Blatt vorliegt. Als mögliche Optionen hab ich verwendet:

\begin{landscape}.... \end{landscape} oder %\begin{sidewaystable}.... %\end{sidewaystable}

Leider ergibt sich als Ergebnis das im Anhang dargestellte Bild. Ich muss also meiner table-Umgebung noch angeben, dass er die Tabelle auf mehrere Seiten verteilen soll. Laut Dante und anderen Hilfeseiten soll es über:

\begin{supertabular} ..... \end{supertabular} oder \begin{longtable}.... \end{longtable} möglich sein. Leider ändert dies nichts an meiner Tabelle - sieht teilt sich nicht auf mehrere Seiten auf. Ein Minimalbeispiel sei hier unten nochmal aufgeführt und am Ende als *.tex in der *.txt angehängt.

DANKE für Tipps im Voraus und eine schöne Nacht.... :innocent:

Code:
%Minimalbeispiel

\documentclass[smallheadings,headsepline,12pt,a4paper,oneside]{scrbook}
\usepackage{geometry}
\geometry{left=3cm,right=2.5cm,top=3cm,bottom=3cm,} 
\usepackage{multicol}
\usepackage{longtable}
\usepackage{ltxtable}
\usepackage{supertabular}
\usepackage{lscape}
\usepackage{caption}
\usepackage{rotating}

%––––––––––––––––––––––––––––––––––––––––––––––––––––––––

\begin{document}

\clearpage

\begin{landscape}

%\begin{sidewaystable}

                        %\begin{minipage}{\textheight} 


\begin{table}[h]

%\begin{supertabular}{|l|l|r|r|r|r|r|r|r|r|r|r|r|r|r|r|r|r|r|}

\begin{longtable}{|l|l|r|r|r|r|r|r|r|r|r|r|r|r|r|r|r|r|r|}

\hline
Zeit & \multicolumn{1}{r|}{0,6} & 7 & 8 & 9 & 10 & 11 & 12 & 14 & 16 & 18 & 19 & 19,5 & 20 & 20,5 & 21 & 22 & 26 & 30 \\ \hline
Temp &  & 25 & 25,5 & 25,8 & 26 & 26,5 & 26,8 & 30 & 38 & 60 & 75 & 79 & 80 & 79 & 75 & 65 & 35 & 25 \\ \hline
 &  & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} \\ \hline
E-modul Harz & variabel & 679 & 863 & 1047 & 1231 & 1415 & 1600 & 1784 & 1968 & 2152 & 2336 & 2521 & 2705 & 2889 & 3073 & 3257 & 3442 & 3500 \\ \hline
QKT & nu\_harz & 0,01487 & 0,04461 & 0,07435 & 0,10409 & 0,13383 & 0,16357 & 0,19330 & 0,22304 & 0,25278 & 0,28252 & 0,31226 & 0,34200 & 0,35200 & 0,35400 & 0,35600 & 0,35800 & 0,36000 \\ \hline
G-Modul & G\_H Emodul variabel & 334 & 413 & 487 & 558 & 624 & 687 & 747 & 805 & 859 & 911 & 960 & 1008 & 1068 & 1135 & 1201 & 1267 & 1287 \\ \hline
WAK Harz res & alpha\_ges(t) & -3,03E-03 & -3,29E-03 & -4,16E-03 & -4,98E-03 & -5,19E-03 & -5,15E-03 & -3,09E-03 & -1,50E-03 & -5,69E-04 & -3,80E-04 & -3,49E-04 & -3,47E-04 & -3,60E-04 & -4,02E-04 & -5,41E-04 & -2,29E-03 & -1,44E-02 \\ \hline
 &  & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} \\ \hline
E-modul Faser & E1 & 73000 & 73000 & 73000 & 73000 & 73000 & 73000 & 73000 & 73000 & 73000 & 73000 & 73000 & 73000 & 73000 & 73000 & 73000 & 73000 & 73000 \\ \hline
 & E2;3 & 73000 & 73000 & 73000 & 73000 & 73000 & 73000 & 73000 & 73000 & 73000 & 73000 & 73000 & 73000 & 73000 & 73000 & 73000 & 73000 & 73000 \\ \hline
G-Modul Faser & G & 29200 & 29200 & 29200 & 29200 & 29200 & 29200 & 29200 & 29200 & 29200 & 29200 & 29200 & 29200 & 29200 & 29200 & 29200 & 29200 & 29200 \\ \hline
Querkontraktion & ?12 v13 v23 & 0,25 & 0,25 & 0,25 & 0,25 & 0,25 & 0,25 & 0,25 & 0,25 & 0,25 & 0,25 & 0,25 & 0,25 & 0,25 & 0,25 & 0,25 & 0,25 & 0,25 \\ \hline
 &  & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} \\ \hline
WAK Faser & alpha\_1 & 5,30E-06 & 5,30E-06 & 5,30E-06 & 5,30E-06 & 5,30E-06 & 5,30E-06 & 5,30E-06 & 5,30E-06 & 5,30E-06 & 5,30E-06 & 5,30E-06 & 5,30E-06 & 5,30E-06 & 5,30E-06 & 5,30E-06 & 5,30E-06 & 5,30E-06 \\ \hline
 & alpha\_2,3 & 5,30E-06 & 5,30E-06 & 5,30E-06 & 5,30E-06 & 5,30E-06 & 5,30E-06 & 5,30E-06 & 5,30E-06 & 5,30E-06 & 5,30E-06 & 5,30E-06 & 5,30E-06 & 5,30E-06 & 5,30E-06 & 5,30E-06 & 5,30E-06 & 5,30E-06 \\ \hline
 &  & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} \\ \hline
 &  & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} \\ \hline
E-Modul Verbund & E1 variabel & 44071 & 44145 & 44219 & 44292 & 44366 & 44440 & 44514 & 44587 & 44661 & 44735 & 44808 & 44882 & 44956 & 45029 & 45103 & 45177 & 45200 \\ \hline
 & E2;3 variabel & 2892 & 3644 & 4391 & 5135 & 5881 & 6633 & 7394 & 8168 & 8959 & 9771 & 10608 & 11476 & 12211 & 12872 & 13523 & 14162 & 14375 \\ \hline
 &  & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} \\ \hline
variabel & G12 & 1412 & 1727 & 2024 & 2304 & 2573 & 2832 & 3084 & 3331 & 3577 & 3822 & 4069 & 4321 & 4572 & 4817 & 5058 & 5294 & 5368 \\ \hline
 & G13 & 1412 & 1727 & 2024 & 2304 & 2573 & 2832 & 3084 & 3331 & 3577 & 3822 & 4069 & 4321 & 4572 & 4817 & 5058 & 5294 & 5368 \\ \hline
 & G23 & 1251 & 1559 & 1857 & 2146 & 2427 & 2701 & 2969 & 3231 & 3488 & 3741 & 3989 & 4233 & 4475 & 4711 & 4943 & 5170 & 5241 \\ \hline
 &  & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} \\ \hline
Querkontraktion & ?12 & 0,16 & 0,17 & 0,18 & 0,19 & 0,20 & 0,22 & 0,23 & 0,24 & 0,25 & 0,26 & 0,27 & 0,29 & 0,29 & 0,29 & 0,29 & 0,29 & 0,29 \\ \hline
 & ?13 & 0,16 & 0,17 & 0,18 & 0,19 & 0,20 & 0,22 & 0,23 & 0,24 & 0,25 & 0,26 & 0,27 & 0,29 & 0,29 & 0,29 & 0,29 & 0,29 & 0,29 \\ \hline
 & ?23 & 0,16 & 0,17 & 0,18 & 0,20 & 0,21 & 0,23 & 0,25 & 0,26 & 0,28 & 0,31 & 0,33 & 0,36 & 0,36 & 0,37 & 0,37 & 0,37 & 0,37 \\ \hline
 &  & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} \\ \hline
WAK Verbund & ?1 Emodul Hvariabel & -1,34E-05 & -2,05E-05 & -3,42E-05 & -5,01E-05 & -6,10E-05 & -6,89E-05 & -4,44E-05 & -2,12E-05 & -5,77E-06 & -2,74E-06 & -2,68E-06 & -3,19E-06 & -4,08E-06 & -5,81E-06 & -1,05E-05 & -6,45E-05 & -4,42E-04 \\ \hline
 & ?2;3 Emodul Hvariabel & -1,67E-03 & -1,82E-03 & -2,30E-03 & -2,75E-03 & -2,87E-03 & -2,85E-03 & -1,72E-03 & -8,31E-04 & -3,15E-04 & -2,10E-04 & -1,94E-04 & -1,93E-04 & -2,01E-04 & -2,24E-04 & -3,02E-04 & -1,29E-03 & -8,12E-03 \\ \hline

%\end{supertabular}

\end{longtable}

\caption{Verbundkennwerte FE-Studie}
\label{tab:verbundkennwerte_studie}
\end{table}

%\end{minipage}

%\end{sidewaystable}

\end{landscape}
\clearpage


\end{document}
 

Anhänge

  • tabelle.pdf
    46,8 KB · Aufrufe: 1.219
  • minimalbsp.txt
    7,7 KB · Aufrufe: 259

Bölzebub

Querina
Registriert
27.05.05
Beiträge
180
Ein Kollege hatte ein ähnliches Problem, allerdings mit Zeilen statt Spalten (Mein erster Vorschlag war, den Inhalt der Zellen um 90° zu drehen und Spalten und Zeilen zu vertauschen, was dann im Prinzip zu deinem Problem führte). Nachdem ihm keiner weiterhelfen konnte hat er sich ein Perl-Skript gebastelt, welches die Tabelle entsprechend aufteilt. Vielleicht kannst du ja damit was anfangen. Ansonsten würde es mich auch interessieren, wie man soetwas mit irgend einem Paket oder mit (La)Tex direkt lösen kann.
 

schatzspatz

Ingrid Marie
Registriert
02.03.06
Beiträge
265
@Bölzebub - Danke für das Skript - mal schauen ob mir es weiter hilft. Für Tabellen mit extrem viel Zeilen habe ich einige Hilfen und Bsp. gefunden, die auch funzen sollen. Aber leider nicht mit extrem vielen Spalten. Und im Latex-Praxisbuch habe ich leider nur Lösungen für beide Probleme getrennt gefunden - entweder Quer oder auf mehrere Seiten. Kombiniert geht es leider nicht.

Hier mal ein Bsp für Tabellen mit vielen Zeilen als pdf-Anleitung: HU Berlin

Leider löst es nicht mein Problem...