diff options
-rw-r--r-- | tests/lhs-test.latex | 3 | ||||
-rw-r--r-- | tests/lhs-test.latex+lhs | 3 | ||||
-rw-r--r-- | tests/writer.latex | 3 |
3 files changed, 9 insertions, 0 deletions
diff --git a/tests/lhs-test.latex b/tests/lhs-test.latex index 4bb2ab1a6..2f178a67e 100644 --- a/tests/lhs-test.latex +++ b/tests/lhs-test.latex @@ -4,12 +4,15 @@ \ifxetex \usepackage{fontspec,xltxtra,xunicode} \defaultfontfeatures{Mapping=tex-text,Scale=MatchLowercase} + \newcommand{\euro}{€} \else \ifluatex \usepackage{fontspec} \defaultfontfeatures{Mapping=tex-text,Scale=MatchLowercase} + \newcommand{\euro}{€} \else \usepackage[utf8]{inputenc} + \usepackage{eurosym} \fi \fi \usepackage{color} diff --git a/tests/lhs-test.latex+lhs b/tests/lhs-test.latex+lhs index d80d02a38..fc0d7adca 100644 --- a/tests/lhs-test.latex+lhs +++ b/tests/lhs-test.latex+lhs @@ -4,12 +4,15 @@ \ifxetex \usepackage{fontspec,xltxtra,xunicode} \defaultfontfeatures{Mapping=tex-text,Scale=MatchLowercase} + \newcommand{\euro}{€} \else \ifluatex \usepackage{fontspec} \defaultfontfeatures{Mapping=tex-text,Scale=MatchLowercase} + \newcommand{\euro}{€} \else \usepackage[utf8]{inputenc} + \usepackage{eurosym} \fi \fi \usepackage{listings} diff --git a/tests/writer.latex b/tests/writer.latex index 55cf57970..ba2a40e65 100644 --- a/tests/writer.latex +++ b/tests/writer.latex @@ -4,12 +4,15 @@ \ifxetex \usepackage{fontspec,xltxtra,xunicode} \defaultfontfeatures{Mapping=tex-text,Scale=MatchLowercase} + \newcommand{\euro}{€} \else \ifluatex \usepackage{fontspec} \defaultfontfeatures{Mapping=tex-text,Scale=MatchLowercase} + \newcommand{\euro}{€} \else \usepackage[utf8]{inputenc} + \usepackage{eurosym} \fi \fi \usepackage{fancyvrb} |