Where is the default LaTeX template that is used by rmarkdown pdf_document

I would like to customize the default LaTeX template used by rmarkdown's pdf_document. I have looked through the source code of the rmarkdown package and it does not appear to be there. The only .tex files there are the following.


These are just fragments.
In the past, it seems like the template was available in inst/rmd (see https://stackoverflow.com/a/52779863).

Is the default template for pdf_document just using pandoc's default template? I presume not.

It seems as of 2019-11-25, rmarkdown is using (and patching) pandoc's default template


Thanks for the info.

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