aboutsummaryrefslogtreecommitdiff
path: root/default.beamer
diff options
context:
space:
mode:
authorAndrew Dunning <adunning@users.noreply.github.com>2015-12-03 22:38:55 -0500
committerAndrew Dunning <adunning@users.noreply.github.com>2015-12-03 22:38:55 -0500
commit809f2f09c6fe3b726e92a99b47a37c376681878b (patch)
tree69fdd484048fc4a508e624a7fc590e91f0f0c5ba /default.beamer
parent293e847b76eada99c53ca7699ce5b35ded79b9e0 (diff)
downloadpandoc-809f2f09c6fe3b726e92a99b47a37c376681878b.tar.gz
Make \euro conditional in Beamer for XeTeX/LuaTeX.
Implements the change made for LaTeX in <https://github.com/jgm/pandoc-templates/commit/e45a3fac77e5bd876b20a6b8a0dcbf54f5aa12ab>.
Diffstat (limited to 'default.beamer')
-rw-r--r--default.beamer2
1 files changed, 2 insertions, 0 deletions
diff --git a/default.beamer b/default.beamer
index 774916492..f0a266c7e 100644
--- a/default.beamer
+++ b/default.beamer
@@ -42,7 +42,9 @@ $endif$
\usepackage{fontspec}
\fi
\defaultfontfeatures{Ligatures=TeX,Scale=MatchLowercase}
+$if(euro)$
\newcommand{\euro}{€}
+$endif$
$if(mainfont)$
\setmainfont[$for(mainfontoptions)$$mainfontoptions$$sep$,$endfor$]{$mainfont$}
$endif$