How to change the kind of a figure with a table?

How can I change the kind of this “figure” from table to figure as it will be labled as a table…

#figure(
table(
columns: (auto),
image(“images/0_progress 1000.png”),
image(“images/0_performance 1000.png”)
),
caption: “progress (top) & performance (bottom) for 1000 episodes”)
<1000episodes>

You can either

  • use a grid instead of a table. They are almost the same thing but with different default for spacing and strokes
  • Pass the figure function this exact parameter: kind: image. So the value to the parameter is the image function (element).
1 Like

The correct approach is to use a grid instead of a table. The difference is in semantics: you use a table to display data. You use a grid only to lay things out visually in a grid or side by side, as you are doing here. So you should use a grid and only use a table when you’re displaying data in the document for the best results.

3 Likes