LaTeX commands to deal with \euro command with every engine.

This commit is contained in:
John MacFarlane 2012-03-04 18:52:20 -08:00
parent 49e113d0d1
commit d8fc051068

View file

@ -4,12 +4,15 @@
\ifxetex \ifxetex
\usepackage{fontspec,xltxtra,xunicode} \usepackage{fontspec,xltxtra,xunicode}
\defaultfontfeatures{Mapping=tex-text,Scale=MatchLowercase} \defaultfontfeatures{Mapping=tex-text,Scale=MatchLowercase}
\newcommand{\euro}{€}
\else \else
\ifluatex \ifluatex
\usepackage{fontspec} \usepackage{fontspec}
\defaultfontfeatures{Mapping=tex-text,Scale=MatchLowercase} \defaultfontfeatures{Mapping=tex-text,Scale=MatchLowercase}
\newcommand{\euro}{€}
\else \else
\usepackage[utf8]{inputenc} \usepackage[utf8]{inputenc}
\usepackage{eurosym}
\fi \fi
\fi \fi
$if(natbib)$ $if(natbib)$