aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--default.beamer11
-rw-r--r--default.latex10
2 files changed, 13 insertions, 8 deletions
diff --git a/default.beamer b/default.beamer
index 1dcc77e4e..497aa23f9 100644
--- a/default.beamer
+++ b/default.beamer
@@ -97,6 +97,9 @@ $for(bibliography)$
\addbibresource{$bibliography$}
$endfor$
$endif$
+$if(verbatim-in-note)$
+\usepackage{fancyvrb}
+$endif$
\hypersetup{
$if(title-meta)$
pdftitle={$title-meta$},
@@ -116,6 +119,10 @@ $else$
pdfborder={0 0 0},
$endif$
breaklinks=true}
+\urlstyle{same} % don't use monospace font for urls
+$if(verbatim-in-note)$
+\VerbatimFootnotes % allows verbatim text in footnotes
+$endif$
$if(listings)$
\usepackage{listings}
$endif$
@@ -125,10 +132,6 @@ $endif$
$if(highlighting-macros)$
$highlighting-macros$
$endif$
-$if(verbatim-in-note)$
-\usepackage{fancyvrb}
-\VerbatimFootnotes % allows verbatim text in footnotes
-$endif$
$if(tables)$
\usepackage{longtable,booktabs}
\usepackage{caption}
diff --git a/default.latex b/default.latex
index ab9c7c547..585979690 100644
--- a/default.latex
+++ b/default.latex
@@ -61,6 +61,9 @@ $if(geometry)$
\usepackage[$for(geometry)$$geometry$$sep$,$endfor$]{geometry}
$endif$
\PassOptionsToPackage{hyphens}{url} % url is loaded by hyperref
+$if(verbatim-in-note)$
+\usepackage{fancyvrb}
+$endif$
\usepackage[unicode=true]{hyperref}
$if(colorlinks)$
\PassOptionsToPackage{usenames,dvipsnames}{color} % color is loaded by hyperref
@@ -85,6 +88,9 @@ $else$
$endif$
breaklinks=true}
\urlstyle{same} % don't use monospace font for urls
+$if(verbatim-in-note)$
+\VerbatimFootnotes % allows verbatim text in footnotes
+$endif$
$if(lang)$
\ifnum 0\ifxetex 1\fi\ifluatex 1\fi=0 % if pdftex
\usepackage[shorthands=off,$for(babel-otherlangs)$$babel-otherlangs$,$endfor$main=$babel-lang$]{babel}
@@ -118,10 +124,6 @@ $endif$
$if(highlighting-macros)$
$highlighting-macros$
$endif$
-$if(verbatim-in-note)$
-\usepackage{fancyvrb}
-\VerbatimFootnotes % allows verbatim text in footnotes
-$endif$
$if(tables)$
\usepackage{longtable,booktabs}
% Fix footnotes in tables (requires footnote package)