So in the final PDF, it will just say "\scriptsize" above each listing, instead of changing the font size.
It works with a yaml header, but it seems that currently it cannot work from the command line.
I am not sure if I am just handling the backslash on the command line wrong, however.
I would be grateful for help either way.
Hi,
thanks for this great template!
I tried setting the font size in code listings using pandoc's metadata flag:
(or other variants using quotes) but this is parsed to the latex template as
\textbackslash scriptsize
:So in the final PDF, it will just say "\scriptsize" above each listing, instead of changing the font size.
It works with a yaml header, but it seems that currently it cannot work from the command line. I am not sure if I am just handling the backslash on the command line wrong, however. I would be grateful for help either way.