Skip to content

How to crossref raw typst tables? #13081

Answered by mcanouil
produnis asked this question in Q&A
Discussion options

You must be logged in to vote

You can't overtake Quarto's cross-reference system and that's also the case for table in LaTeX or generated via R.

You should only generate the table, not the rest, then use a cross-reference div.

:::{#tbl-whatever}
Content

Caption
::: 

A reference to @tbl-whatever

Put whatever you like in "content".

https://quarto.org/docs/authoring/cross-references-divs.html

In your case:

:::{#tbl-LABEL}
```{=typst}
#table(  MY COOL TYPST TABLE)
```

CAPTION
::: 

A reference to @tbl-LABEL

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@produnis
Comment options

Answer selected by produnis
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
2 participants