Skip to content
Discussion options

You must be logged in to vote

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:

#show figure.where(kind: "quarto-float-tbl"): set block(breakable: true)

---
title: "Demo Document"
format: typst
---

```{=typst}
#[
  #show figure: set block(breakable: true)
```

::: {#tbl-large}

| Header 1 | Header 2 | Header 3 |
|----------|----------|----------|
| Cell 1   | Cell 2   | Cel…

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
6 replies
@mcanouil
Comment options

Answer selected by the-solipsist
@mcanouil
Comment options

@the-solipsist
Comment options

@mcanouil
Comment options

@the-solipsist
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
crossref tables Issues with Tables including the gt integration typst lua Issues related to the lua codebase, filter chain, etc
2 participants