aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dunning <adunning@users.noreply.github.com>2015-11-30 22:53:19 -0500
committerAndrew Dunning <adunning@users.noreply.github.com>2015-11-30 22:53:19 -0500
commite45a3fac77e5bd876b20a6b8a0dcbf54f5aa12ab (patch)
treec66f53a00f6e9a69b0cceb8336d6e15b98e59763
parent5e9fad4cafe45a883001dcd41e701b3453e08337 (diff)
downloadpandoc-e45a3fac77e5bd876b20a6b8a0dcbf54f5aa12ab.tar.gz
Make \euro conditional for XeTeX/LuaTeX.
Mirrors behaviour for pdfTeX.
-rw-r--r--default.latex2
1 files changed, 2 insertions, 0 deletions
diff --git a/default.latex b/default.latex
index fa19f2bc1..095d4b51d 100644
--- a/default.latex
+++ b/default.latex
@@ -24,7 +24,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$