LaTeX documents: figure options passed to \includegraphics[]{} #5175
-
Hey everyone, when producing LaTeX documents with quarto (e.g. a normal pdf document or beamer slides), the resulting/intermediate .tex file will contain Cheers |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
There is no Markdown syntax to pass option to
It seems What you can do is use raw LaTeX in your document. If you target multi format, you can use condition content to insert the raw latex only when output is PDF. |
Beta Was this translation helpful? Give feedback.
-
(assuming a R/knitr document) You could ask knitr to produce directly the latex code for the figure and pass the scale value via
(that being said, I would not recommend this approach – I find it best to set the width/height directly with |
Beta Was this translation helpful? Give feedback.
-
FWIW related issue - we will track that there now |
Beta Was this translation helpful? Give feedback.
FWIW related issue - we will track that there now