RMarkdown pdf xelatex not rendering images

I want to create a pdf file that has an image and also changes the font family.

I understand the I have to use xelatex in order to change the font family.

But using xelatex doesn't render the images (but it doesn't get an error)

I have tried

! ( image.png )

knitr::include_graphics("image.png")

\includegraphics{logo-qroma.png}

But nothing seems to work.

Check to see if your image is in your working directory; otherwise, you'll need to give either a full path if it's in a directory above your working directory or a relative path if under

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.