summaryrefslogtreecommitdiff
path: root/templates/after-header-includes.latex
diff options
context:
space:
mode:
authorJoe Carstairs <me@joeac.net>2026-06-23 11:05:45 +0100
committerJoe Carstairs <me@joeac.net>2026-06-23 11:05:45 +0100
commit180f4941740ffa840d2114b219960f36bf7e80d7 (patch)
tree4bfdd91c23ec1c23cc38bcba60f78bc54c8e9105 /templates/after-header-includes.latex
parent40de91158fcc4e4ee47fd0c2f55aad38f29e6008 (diff)
adds templates from https://github.com/jgm/pandoc-templates
Diffstat (limited to 'templates/after-header-includes.latex')
-rw-r--r--templates/after-header-includes.latex10
1 files changed, 10 insertions, 0 deletions
diff --git a/templates/after-header-includes.latex b/templates/after-header-includes.latex
new file mode 100644
index 0000000..2c59e87
--- /dev/null
+++ b/templates/after-header-includes.latex
@@ -0,0 +1,10 @@
+\usepackage{bookmark}
+\IfFileExists{xurl.sty}{\usepackage{xurl}}{} % add URL line breaks if available
+\urlstyle{$if(urlstyle)$$urlstyle$$else$same$endif$}
+$if(links-as-notes)$
+% Make links footnotes instead of hotlinks:
+\DeclareRobustCommand{\href}[2]{#2\footnote{\url{#1}}}
+$endif$
+$if(verbatim-in-note)$
+\VerbatimFootnotes % allow verbatim text in footnotes
+$endif$