-
How do you put a caption for a tablex. I use the following code for standard table:
|
Beta Was this translation helpful? Give feedback.
Answered by
PgBiel
Dec 12, 2023
Replies: 1 comment 1 reply
-
Hi, you have to add //Insert a table, embedded within a figure for caption
#figure(
tablex(
columns: (1fr, auto, auto),
inset: 10pt,
align: horizon,
[ ],
[ *Area* ],
[ *Parameters* ],
image("./assets/aws.svg"),
$ pi h (D^2 - d^2) / 4 $,
[
$h$: height \
$D$: outer radius \
$d$: inner radius
],
image("./assets/aws.svg"),
$ sqrt(2) / 12 a^3 $,
[ $a$: edge length ],
),
kind: table,
caption: [A sample table]
) |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
PgBiel
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, you have to add
kind: table
to your figure so that it recognizes the tablex output as a table. See also #7