Merge pull request #164 from adunning/patch-2

Make \euro conditional in Beamer for XeTeX/LuaTeX.
This commit is contained in:
John MacFarlane 2015-12-03 22:15:32 -08:00
commit 617e2af70c

View file

@ -42,7 +42,9 @@ $endif$
\usepackage{fontspec} \usepackage{fontspec}
\fi \fi
\defaultfontfeatures{Ligatures=TeX,Scale=MatchLowercase} \defaultfontfeatures{Ligatures=TeX,Scale=MatchLowercase}
$if(euro)$
\newcommand{\euro}{€} \newcommand{\euro}{€}
$endif$
$if(mainfont)$ $if(mainfont)$
\setmainfont[$for(mainfontoptions)$$mainfontoptions$$sep$,$endfor$]{$mainfont$} \setmainfont[$for(mainfontoptions)$$mainfontoptions$$sep$,$endfor$]{$mainfont$}
$endif$ $endif$