Skip to content

How to center notes on tables figures etc. #8705

Answered by cscheid
friosavila asked this question in Q&A
Discussion options

You must be logged in to vote

All your use cases have multiple paragraphs of content in a div. That's not syntax we have considered deeply; I would suggest first trying to wrap the "content" of your float with a div by itself. I haven't tested the following, but something like:

::: {#tbl-table2}

::: {}

| Header 1 | Header 2 | Header 3 |
| -------- | -------- | -------- |
| Cell 1   | Cell 2   | Cell 3   |
| Cell 4   | Cell 5   | Cell 6   |

Note: Random note

:::

Table using Markdown code
:::

In the context of LaTeX specifically: You might need to, for now, use a hack like adding latex raw blocks that with \centering{ and } at the beginning and end of the div.

The general principle is that we attempt interpret the…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by friosavila
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
tables Issues with Tables including the gt integration
2 participants