When rendering html documents with rmarkdown there are ways to make a two columns layout, e.g. here
Is there an easy way to render a pdf document with two column layout? Is there an example code somewhere?
When rendering html documents with rmarkdown there are ways to make a two columns layout, e.g. here
Is there an easy way to render a pdf document with two column layout? Is there an example code somewhere?
You can use the article option twocolumn
to format the whole document in two columns. Add this to your yaml front matter:
---
output:
pdf_document:
pandoc_args: [
"-V", "classoption=twocolumn"
]
---
More succinctly:
---
output:
pdf_document:
classoption: twocolumn
---
In addition to scoa's answer, in order to give the columns more space you can add a value to the header-includes:
, for example:
---
output:
pdf_document:
...
header-includes:
- \setlength{\columnsep}{18pt}
---