diff options
author | John MacFarlane <fiddlosopher@gmail.com> | 2014-05-06 09:05:46 -0700 |
---|---|---|
committer | John MacFarlane <fiddlosopher@gmail.com> | 2014-05-06 09:05:46 -0700 |
commit | 5de411030bfcf0b369d10ff084caaad8b37ccfd6 (patch) | |
tree | 3540e0a4d95eedd20d12b475c434bcaded67d284 | |
parent | 3719269b45aaf62f5273e37fdd6c31bf3ed19017 (diff) | |
download | pandoc-5de411030bfcf0b369d10ff084caaad8b37ccfd6.tar.gz |
Load upquote after fontenc in latex template.
-rw-r--r-- | default.beamer | 1 | ||||
-rw-r--r-- | default.latex | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/default.beamer b/default.beamer index 9775b332b..3aa3c5963 100644 --- a/default.beamer +++ b/default.beamer @@ -32,6 +32,7 @@ $endif$ $endif$ \fi \fi +% use upquote if available, for straight quotes in verbatim environments \IfFileExists{upquote.sty}{\usepackage{upquote}}{} % use microtype if available \IfFileExists{microtype.sty}{\usepackage{microtype}}{} diff --git a/default.latex b/default.latex index f1b1d19b4..5cfd7620c 100644 --- a/default.latex +++ b/default.latex @@ -3,8 +3,6 @@ \usepackage{amssymb,amsmath} \usepackage{ifxetex,ifluatex} \usepackage{fixltx2e} % provides \textsubscript -% use upquote if available, for straight quotes in verbatim environments -\IfFileExists{upquote.sty}{\usepackage{upquote}}{} \ifnum 0\ifxetex 1\fi\ifluatex 1\fi=0 % if pdftex \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} @@ -33,6 +31,8 @@ $if(mathfont)$ \setmathfont(Digits,Latin,Greek){$mathfont$} $endif$ \fi +% use upquote if available, for straight quotes in verbatim environments +\IfFileExists{upquote.sty}{\usepackage{upquote}}{} % use microtype if available \IfFileExists{microtype.sty}{\usepackage{microtype}}{} $if(geometry)$ |