the following code worked for me for a rotated multipage table.
Looks like:
- You do not even need to put it in a separate .typ file.
- All text before and after is within the regular vertical page context.
- No unnecessary blank page created
- The regular document page number appears on every rotated table page as well.
#{
set page(flipped: true)
show figure: set block(breakable: true)
figure(
table(
columns: 3,
[Column 1],
[Column 2],
[Column 3],
[Row 1 \
d \ d \ d \ d \ d \ d \ d \ d \ d \ d \
d \ d \ d \ d \ d \ d \ d \ d \ d \ d \
d \ d \ d \ d \ d \ d \ d \ d \ d \ d \
d \ d \ d \ d \ d \ d \ d \ d \ d \ d \
d \ d \ d \ d \ d \ d \ d \ d \ d \ d \
d \ d \ d \ d \ d \ d \ d],
[A],
[B],
[Row 2], [C], [D],
[Row 3], [E], [F],
[Row 4], [G], [H],
[Row 5], [I], [J],
[Row 6], [K], [L],
[Row 7], [M], [N],
[Row 8], [O], [P],
[Row 9], [Q], [R],
[Row 10], [S], [T],
),
caption: [Basic breakable table],
)
}
in the above code replace this part
[Column 1],
[Column 2],
[Column 3],
[Row 1 \
d \ d \ d \ d \ d \ d \ d \ d \ d \ d \
d \ d \ d \ d \ d \ d \ d \ d \ d \ d \
d \ d \ d \ d \ d \ d \ d \ d \ d \ d \
d \ d \ d \ d \ d \ d \ d \ d \ d \ d \
d \ d \ d \ d \ d \ d \ d \ d \ d \ d \
d \ d \ d \ d \ d \ d \ d],
[A],
[B],
[Row 2], [C], [D],
[Row 3], [E], [F],
[Row 4], [G], [H],
[Row 5], [I], [J],
[Row 6], [K], [L],
[Row 7], [M], [N],
[Row 8], [O], [P],
[Row 9], [Q], [R],
[Row 10], [S], [T],
with your actual table. This is just to illustrate a table with a really long cell.