#Defining an object prevents it from being tagged

10 messages · Page 1 of 1 (latest)

karmic grove
#
#table(
    columns: (auto, auto),
    ["This"], ["is a test"]
) <mytable>

@mytable is an example.

Tables can be tagged.

However once I define it to easily call it in another table I can no longer tag it.

#let myfigure = table(
    columns: (auto, auto),
    ["This"], ["is a test"]
) <myfigure>

@mytable is an example.

expected semicolon or line break

sonic sparrow
#

labels only work in markup mode

#

use [#table(...) <myfigure>]

#

also that wont work well cuz you need to wrap your table in a figure to reference it

#

so [#figure(table(...)) <myfigure>]

karmic grove
#

?r

jade ravineBOT
# karmic grove ?r

couldn't find a valid code block
Use ?help render for usage. Feel free to edit or delete your message and the bot will react.

karmic grove
#

?r

#let myfigure = [#figure(table(
    columns: (auto, auto),
    ["This"], ["is a test"]
))<mytable>]

#myfigure @mytable is an example.
karmic grove
#

Thank you so much for your quick reply ❤️