git.iko.soy/typeable/pandoc
on master help sign in
Changed position of \VerbatimNotes and fancyvrb in latex, beamer templates.
60c9c45John MacFarlane
default.beamer+7−4
@@ -97,6 +97,9 @@ $for(bibliography)$
97\addbibresource{$bibliography$}
97\addbibresource{$bibliography$}
98$endfor$
98$endfor$
99$endif$
99$endif$
100+$if(verbatim-in-note)$
101+\usepackage{fancyvrb}
102+$endif$
100\hypersetup{
103\hypersetup{
101$if(title-meta)$
104$if(title-meta)$
102 pdftitle={$title-meta$},
105 pdftitle={$title-meta$},
@@ -116,6 +119,10 @@ $else$
116 pdfborder={0 0 0},
119 pdfborder={0 0 0},
117$endif$
120$endif$
118 breaklinks=true}
121 breaklinks=true}
122+\urlstyle{same} % don't use monospace font for urls
123+$if(verbatim-in-note)$
124+\VerbatimFootnotes % allows verbatim text in footnotes
125+$endif$
119$if(listings)$
126$if(listings)$
120\usepackage{listings}
127\usepackage{listings}
121$endif$
128$endif$
@@ -125,10 +132,6 @@ $endif$
125$if(highlighting-macros)$
132$if(highlighting-macros)$
126$highlighting-macros$
133$highlighting-macros$
127$endif$
134$endif$
128−$if(verbatim-in-note)$
129−\usepackage{fancyvrb}
130−\VerbatimFootnotes % allows verbatim text in footnotes
131−$endif$
132$if(tables)$
135$if(tables)$
133\usepackage{longtable,booktabs}
136\usepackage{longtable,booktabs}
134\usepackage{caption}
137\usepackage{caption}
default.latex+6−4
@@ -61,6 +61,9 @@ $if(geometry)$
61\usepackage[$for(geometry)$$geometry$$sep$,$endfor$]{geometry}
61\usepackage[$for(geometry)$$geometry$$sep$,$endfor$]{geometry}
62$endif$
62$endif$
63\PassOptionsToPackage{hyphens}{url} % url is loaded by hyperref
63\PassOptionsToPackage{hyphens}{url} % url is loaded by hyperref
64+$if(verbatim-in-note)$
65+\usepackage{fancyvrb}
66+$endif$
64\usepackage[unicode=true]{hyperref}
67\usepackage[unicode=true]{hyperref}
65$if(colorlinks)$
68$if(colorlinks)$
66\PassOptionsToPackage{usenames,dvipsnames}{color} % color is loaded by hyperref
69\PassOptionsToPackage{usenames,dvipsnames}{color} % color is loaded by hyperref
@@ -85,6 +88,9 @@ $else$
85$endif$
88$endif$
86 breaklinks=true}
89 breaklinks=true}
87\urlstyle{same} % don't use monospace font for urls
90\urlstyle{same} % don't use monospace font for urls
91+$if(verbatim-in-note)$
92+\VerbatimFootnotes % allows verbatim text in footnotes
93+$endif$
88$if(lang)$
94$if(lang)$
89\ifnum 0\ifxetex 1\fi\ifluatex 1\fi=0 % if pdftex
95\ifnum 0\ifxetex 1\fi\ifluatex 1\fi=0 % if pdftex
90 \usepackage[shorthands=off,$for(babel-otherlangs)$$babel-otherlangs$,$endfor$main=$babel-lang$]{babel}
96 \usepackage[shorthands=off,$for(babel-otherlangs)$$babel-otherlangs$,$endfor$main=$babel-lang$]{babel}
@@ -118,10 +124,6 @@ $endif$
118$if(highlighting-macros)$
124$if(highlighting-macros)$
119$highlighting-macros$
125$highlighting-macros$
120$endif$
126$endif$
121−$if(verbatim-in-note)$
122−\usepackage{fancyvrb}
123−\VerbatimFootnotes % allows verbatim text in footnotes
124−$endif$
125$if(tables)$
127$if(tables)$
126\usepackage{longtable,booktabs}
128\usepackage{longtable,booktabs}
127% Fix footnotes in tables (requires footnote package)
129% Fix footnotes in tables (requires footnote package)