diff options
author | Andrew Dunning <andunning@gmail.com> | 2017-09-08 22:17:31 +0100 |
---|---|---|
committer | Andrew Dunning <andunning@gmail.com> | 2017-09-08 22:26:32 +0100 |
commit | 621e43e0ec2d0ee81436c01256d994a514d9824c (patch) | |
tree | 59afad3a384183053d016ca100ac16005e8be14c /data/templates | |
parent | 3421f3eac71709566b9072e095048619cf813ace (diff) | |
download | pandoc-621e43e0ec2d0ee81436c01256d994a514d9824c.tar.gz |
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/templates')
-rw-r--r-- | data/templates/default.latex | 7 |
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$ |