How do I make labelled tables span across multiple pages? #13961
-
DescriptionSummary: If there's a table label, then Quarto->Typst tries to cram the whole table into a single page. If there's no table label, then Quarto->Typst correctly spans the table across multiple pages. I am trying to convert from QMD to Typst. I have a table that starts off:
Also note, that setting table column width doesn't work for the HTML table, regardless of whether I set it in the caption: |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
|
Important Accessibility: To improve accessibility, please add alternative text to your screenshots. This helps all users, including those using screen readers, to understand the context of the images. A brief description can make a big difference! See Good Alt Text, Bad Alt Text — Making Your Content Perceivable. |
Beta Was this translation helpful? Give feedback.
-
|
Could you share a small self-contained "working" (reproducible) example to work with, i.e., a complete Quarto document or a Git repository? The goal is to make it as easy as possible for us to recreate your problem so that we can fix it: please help us help you! Thanks. Without code to play with, hard to help, but Typst has a concept of breakable blocks. It's an option that can be enabled/disabled. You can share a self-contained "working" (reproducible) Quarto document using the following syntax, i.e., using more backticks than you have in your document (usually four If you have multiple files (and if it is absolutely required to have multiple files), please share as a Git repository.
Additionally and if not already given, please share the output of |
Beta Was this translation helpful? Give feedback.


I took some time to make an example, you probably have to adapt it.
In Typst, "figure" are not breakable by default, so you need to modify the rule they obey.
Below is an approach to specifically target one figure.
If you want to do this globally, set the show rule at the beginning of your document and drop the
#[..].You could even be specific and target only the figure that has a table inside: