summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorAndrew Dunning <andunning@gmail.com>2017-09-08 22:17:31 +0100
committerAndrew Dunning <andunning@gmail.com>2017-09-08 22:26:32 +0100
commit621e43e0ec2d0ee81436c01256d994a514d9824c (patch)
tree59afad3a384183053d016ca100ac16005e8be14c /data
parent3421f3eac71709566b9072e095048619cf813ace (diff)
Write euro symbol directly in LaTeX
The textcomp package allows pdfLaTeX to parse `€` directly, making the \euro command unneeded. Closes #3801.
Diffstat (limited to 'data')
-rw-r--r--data/templates/default.latex7
1 files changed, 1 insertions, 6 deletions
diff --git a/data/templates/default.latex b/data/templates/default.latex
index 152f21213..8dd3bdb12 100644
--- a/data/templates/default.latex
+++ b/data/templates/default.latex
@@ -29,9 +29,7 @@ $endif$
\ifnum 0\ifxetex 1\fi\ifluatex 1\fi=0 % if pdftex
\usepackage[$if(fontenc)$$fontenc$$else$T1$endif$]{fontenc}
\usepackage[utf8]{inputenc}
-$if(euro)$
- \usepackage{eurosym}
-$endif$
+ \usepackage{textcomp} % provides euro and other symbols
\else % if luatex or xelatex
$if(mathspec)$
\ifxetex
@@ -46,9 +44,6 @@ $endif$
$for(fontfamilies)$
\newfontfamily{$fontfamilies.name$}[$fontfamilies.options$]{$fontfamilies.font$}
$endfor$
-$if(euro)$
- \newcommand{\euro}{€}
-$endif$
$if(mainfont)$
\setmainfont[$for(mainfontoptions)$$mainfontoptions$$sep$,$endfor$]{$mainfont$}
$endif$