Tabelle, bei der Zellen mit mehreren Zeilen über mehrere Seiten hinweg umbrochen werden können?

Tabelle, bei der Zellen mit mehreren Zeilen über mehrere Seiten hinweg umbrochen werden können?

Nehmen Sie eine Tabelle an, bei der einige Tabellenzeilen vollständig aus Zellen bestehen, die mehrere Zeilen enthalten.

In der folgenden Tabelle ist Zeile 2 eine solche Zeile.

+-----------------------+-----------------------+-----------------------+
|       row1/col1       |       row1/col2       |        row1/col3      |
+-----------------------+-----------------------+-----------------------+ _____pagebreak here can be done with longtable
|  line 1 of row2/col1  |  line 1 of row2/col2  |   line 1 of row2/col3 | __ Allow pagebreak here
|  line 2 of row2/col1  |  line 2 of row2/col2  |   line 2 of row2/col3 | __ Allow pagebreak here
|  line 3 of row2/col1  |  line 3 of row2/col2  |   line 3 of row2/col3 | __ Allow pagebreak here
|  line 4 of row2/col1  |  line 4 of row2/col2  |   line 4 of row2/col3 |
+-----------------------+-----------------------+-----------------------+ _____pagebreak here can be done with longtable
|       row3/col1       |       row3/col2       |        row3/col3      |
+-----------------------+-----------------------+-----------------------+

Ist es in LaTeX möglich, Tabellen zu haben, bei denen ein Seitenumbruch zwischen den Zeilen einer solchen Zeile zulässig ist?

(longtable ist hierfür nicht geeignet - es erlaubt Seitenumbrüche zwischen den Zeilen einer Tabelle, jedoch nicht zwischen den zu einer Zeile gehörenden Zeilen.)

Antwort1

+-----------------------+-----------------------+-----------------------+
|       row1/col1       |       row1/col2       |        row1/col3      |
+-----------------------+-----------------------+-----------------------+  _____pagebreak here can be done with longtable
|  line 1 of row2/col1  |  line 1 of row2/col2  |   line 1 of row2/col3 | 
.  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  . __ row where no horizontal rule is drawn
|  line 2 of row2/col1  |  line 2 of row2/col2  |   line 2 of row2/col3 |
.  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  . __ row where no horizontal rule is drawn
|  line 3 of row2/col1  |  line 3 of row2/col2  |   line 3 of row2/col3 | 
.  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  . __ row where no horizontal rule is drawn
|  line 4 of row2/col1  |  line 4 of row2/col2  |   line 4 of row2/col3 |
+-----------------------+-----------------------+-----------------------+ _____pagebreak here can be done with longtable
|       row3/col1       |       row3/col2       |        row3/col3      |
+-----------------------+-----------------------+-----------------------+

Wenn Sie die Linien innerhalb der Tabellenzeilen in Tabellenzeilen umwandeln können, für die anschließend keine horizontale Linie gezeichnet wird, dann kann longtable diese Aufgabe erledigen.

Dies erfordert, dass sämtliche Zeilenumbrüche innerhalb der Zellen der Zeile 2 „von Hand“ vorgenommen werden.

verwandte Informationen