![]() ![]() ![]() See in particular the -template=FILE command line argument and the Templates section. ![]() How you do this is documented in the Pandoc User Guide. However you'll need a way to tell Pandoc to use this by including it ins the LaTeX header applied to the converted md file. The geometry LaTeX package for example can be used to alter the margins of the page. This is a LaTeX question as Pandoc is rendering to PDF via LaTeX - what you linked to represents the default margins on a LaTeX document. Geometry: "left=3cm,right=3cm,top=2cm,bottom=2cm" \usepackageįor example, to specify margins that are 2cm in width one would include -įor more complex specifications to be passed to the geometry LaTeX package, string options together as you would with LaTeX:. What you specify in the geometry tag will be piped into the LaTeX template that ships with Pandoc via the following LaTeX snippet $if(geometry)$ In more recent versions of rmarkdown, the settings of margins can be done in the YAML header via the top-level element geometry. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |