Closed pratik-bhandari closed 2 years ago
R Markdown by default uses pdflatex
, but this can easily be changed: https://bookdown.org/yihui/rmarkdown/pdf-document.html
As you point out, pdflatex can have some issues with various more complicated unicode characters, which then requires people to set the latex engine to e.g. xelatex
Do you know if there would be any unexpected consequences if I were to simply change oxforddown
's default to xelatex
?
I work with this additional YAML line in the index.Rmd file: latex_engine: xelatex
(in line 165) without any problem. But for other projects, sometimes RStudio throws a rendering error related to tinytex
when the engine is xelatex
. Not sure why, and don't have the error message right now.\
Again, as far as oxforddown
is concerned, there is no problem with xelatex
.
Default latex engine is now xelatex
: b0a525afa58ae8c7f9d57b3f664491b487c4e851
Specify latex engine