I've read you can specify papersize by pandoc -V papersize:"a4paper" ...
. This doesn't seem to work anymore. I've managed to specify B5
using
pandoc -V papersize:b5 -o out.pdf in.md
But this fails for e.g. b6
. The following -V
arguments also all appear to have no effect:
-V papersize:b5paper
-V papersize:"b5paper"
-V "papersize:b5paper"
What is the proper way to format this, or am I missing something more fundamental? In my opinion the documentation is far from clear, lacking e.g. any examples.
pandoc -s -V papersize:a4
Pandoc's LaTeX template will append paper
to a4
...