From 621e43e0ec2d0ee81436c01256d994a514d9824c Mon Sep 17 00:00:00 2001 From: Andrew Dunning Date: Fri, 8 Sep 2017 22:17:31 +0100 Subject: Write euro symbol directly in LaTeX MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The textcomp package allows pdfLaTeX to parse `€` directly, making the \euro command unneeded. Closes #3801. --- data/templates/default.latex | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'data') 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$ -- cgit v1.2.3