
一部の表の行が複数の行を含むセルのみで構成されている表を想定します。
下の表の 2 行目がそのような行です。
+-----------------------+-----------------------+-----------------------+
| 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 |
+-----------------------+-----------------------+-----------------------+
LaTeX では、このような行の行間でページ区切りが許可される表を作成できますか?
(longtable は適していません。表の行間では改ページが可能ですが、行に属する行間では改ページはできません。)
答え1
+-----------------------+-----------------------+-----------------------+
| 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 |
+-----------------------+-----------------------+-----------------------+
テーブル行内の線をテーブル行に変換し、その後に水平線を描画しない場合は、longtable でその作業を実行できます。
この場合、2 行目のセル内のすべての改行を「手動で」行う必要があります。