LaTeX and pandoc templates
Still off-topic but you can print the default template with pandoc -D latex
, edit it and put it in your personal data directory ($HOME/.pandoc
on linux):
pandoc -D latex > ~/.pandoc/default.latex && $EDITOR ~/.pandoc/default.latex
All of this is documented here: https://pandoc.org/MANUAL.html
If you do pandoc -D latex
the template is printed. This works for any format. You could save that template as e.g. 'template.latex' and edit it. You can then point Pandoc to the edited template by doing e.g. pandoc --template=template.latex
. Or you could call it 'default.latex' and place it in Pandoc's data directory. This will make it the default template.