aboutsummaryrefslogtreecommitdiff
path: root/default.latex
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-12-03 10:35:15 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2015-12-03 10:35:15 -0800
commit293e847b76eada99c53ca7699ce5b35ded79b9e0 (patch)
tree1d95101d8ff8e1859df847e7d0f8cd6ac2f13ad0 /default.latex
parentb766694c0b93b17bccf42a9cb59e1d2a38a53554 (diff)
parente45a3fac77e5bd876b20a6b8a0dcbf54f5aa12ab (diff)
downloadpandoc-293e847b76eada99c53ca7699ce5b35ded79b9e0.tar.gz
Merge pull request #162 from adunning/patch-3
Make \euro conditional for XeTeX/LuaTeX.
Diffstat (limited to 'default.latex')
-rw-r--r--default.latex2
1 files changed, 2 insertions, 0 deletions
diff --git a/default.latex b/default.latex
index 4b62c8fcb..51e8fde7b 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$