You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
Hi,
thanks for this great template!
I tried setting the font size in code listings using pandoc's metadata flag:
pandoc ... -o out.tex ... -M code-block-font-size:\\scriptsize
(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.
The text was updated successfully, but these errors were encountered: