Replies: 3 comments
Answer selected by
mcanouil
-
I'm sorry that I didn't find that issue already published. Happy to find out this is behaviour somewhat by design:
|
Beta Was this translation helpful? Give feedback.
0 replies
-
All is fine. 😉 |
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
Consider the following minimal example:
The output pdf contains one figure without being centered, although I declared
fig-align: center
in the header.To make my point clearer, let us take a closer look. The figure is outputted by the corresponding TeX command, which is
\includegraphics{test_files/mediabag/test_files/figure-pdf/unnamed-chunk-1-1.pdf}
Adding
#| fig-align: center
at the beginning of the cell will wrap the command with thecenter
environment:However, this behaviour should already have been triggered by the global header YAML option.
Am I missing something here? Thanks in advance.
Additional Information
Quarto:
1.6.39
TinyTeX:
v2024.12
MacOS:
15.1.1(24B91)
Beta Was this translation helpful? Give feedback.
All reactions