
일부 테이블 행이 여러 줄을 포함하는 셀로 완전히 구성된 테이블을 가정합니다.
아래 표의 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의 셀 내의 모든 줄 바꿈을 "수동으로" 수행해야 합니다.