diff options
author | John MacFarlane <jgm@berkeley.edu> | 2011-07-22 13:56:04 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2011-07-22 13:56:04 -0700 |
commit | d611568237d047046705ea2590a1868e1db133f4 (patch) | |
tree | 7c7cf89cb18f7706731ac8ff405429b77467a5cc /tests/lhs-test.latex+lhs | |
parent | 581ec74a18864a3bd0eab52e46afcefd2b92b1ad (diff) | |
download | pandoc-d611568237d047046705ea2590a1868e1db133f4.tar.gz |
Updated tests for new latex templates.
Diffstat (limited to 'tests/lhs-test.latex+lhs')
-rw-r--r-- | tests/lhs-test.latex+lhs | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/tests/lhs-test.latex+lhs b/tests/lhs-test.latex+lhs index 6222866ea..0cd3185db 100644 --- a/tests/lhs-test.latex+lhs +++ b/tests/lhs-test.latex+lhs @@ -1,13 +1,24 @@ \documentclass{article} \usepackage{amssymb,amsmath} -\usepackage[mathletters]{ucs} -\usepackage[utf8x]{inputenc} +\usepackage{iftex} +\ifXeTeX + \usepackage{fontspec,xltxtra,xunicode} + \defaultfontfeatures{Mapping=tex-text,Scale=MatchLowercase} +\else + \ifLuaTeX + \usepackage{fontspec} + \defaultfontfeatures{Mapping=tex-text,Scale=MatchLowercase} + \else + \usepackage[mathletters]{ucs} + \usepackage[utf8x]{inputenc} + \fi +\fi \usepackage{listings} \lstnewenvironment{code}{\lstset{language=Haskell,basicstyle=\small\ttfamily}}{} \usepackage[breaklinks=true,unicode=true,pdfborder={0 0 0}]{hyperref} \setlength{\parindent}{0pt} \setlength{\parskip}{6pt plus 2pt minus 1pt} -\setlength{\emergencystretch}{3em} -- prevent overfull lines +\setlength{\emergencystretch}{3em} % prevent overfull lines \setcounter{secnumdepth}{0} |