Issues with Figures and Divs for PDF rendering #11632
Unanswered
friosavila
asked this question in
Q&A
Replies: 1 comment
-
The correct syntax is the following as documented: https://quarto.org/docs/authoring/cross-references-divs.html I don't believe a mix of the inline and cross-reference div syntax is documented anywhere, but maybe I missed it. If so, please point to where it is as it is a mistake. ---
title: "Untitled"
format: pdf
---
:::{#tbl-f2}
![](tidyplot_test.png)
caption
::: In which version did the mix syntax work precisely? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description
Im currently using Quarto 1.6.39
For a while, I have been using the following code to wrap tables and figures, so I could create a consistent setup to post tables and figures on PDF and HTML
However, now that im doing that it gives me an error associated with \centering.
Seems that when creating the latex, its creating the following:
In other words, trying to create a figure within a figure. Thus breaking.
Is there a work around the problem?
The simplified version of the code is
Beta Was this translation helpful? Give feedback.
All reactions