Give an example with tbl-pos="t" that also needs layout-ncol="1" to w…
…ork in PDF
See the comment at https://github.com/quarto-dev/quarto-cli/discussions/4849#discussioncomment-11622517
I'm suggesting an example be added to the documentation, as it took me a long time to figure this out!
/deploy-preview
🚀 Deployed on https://deploy-preview-1549.quarto.org
looks good to me at https://deploy-preview-1549.quarto.org/docs/authoring/cross-references-divs.html#tables
Thanks, this looks good indeed.
Re-reading your example in preview raises one question: Why layout-ncol=1 is needed ? This looks like a problem that should be solved, and not just documented officially. 🤔
Did we look into that in an issue and not just the comment linked ?
@cscheid does this seem right to you that we document we need layout-ncol=1 to trigger the float positionning ?
::: {#tbl-tm2 tbl-pos="t" layout-nrow=1}
| A | B | C |
|---|---|---|
| 1 | 2 | 3 |
Caption
:::