Load upquote after fontenc in latex template.

This commit is contained in:
John MacFarlane 2014-05-06 09:05:46 -07:00
parent 3719269b45
commit 5de411030b
2 changed files with 3 additions and 2 deletions

View file

@ -32,6 +32,7 @@ $endif$
$endif$ $endif$
\fi \fi
\fi \fi
% use upquote if available, for straight quotes in verbatim environments
\IfFileExists{upquote.sty}{\usepackage{upquote}}{} \IfFileExists{upquote.sty}{\usepackage{upquote}}{}
% use microtype if available % use microtype if available
\IfFileExists{microtype.sty}{\usepackage{microtype}}{} \IfFileExists{microtype.sty}{\usepackage{microtype}}{}

View file

@ -3,8 +3,6 @@
\usepackage{amssymb,amsmath} \usepackage{amssymb,amsmath}
\usepackage{ifxetex,ifluatex} \usepackage{ifxetex,ifluatex}
\usepackage{fixltx2e} % provides \textsubscript \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 \ifnum 0\ifxetex 1\fi\ifluatex 1\fi=0 % if pdftex
\usepackage[T1]{fontenc} \usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc} \usepackage[utf8]{inputenc}
@ -33,6 +31,8 @@ $if(mathfont)$
\setmathfont(Digits,Latin,Greek){$mathfont$} \setmathfont(Digits,Latin,Greek){$mathfont$}
$endif$ $endif$
\fi \fi
% use upquote if available, for straight quotes in verbatim environments
\IfFileExists{upquote.sty}{\usepackage{upquote}}{}
% use microtype if available % use microtype if available
\IfFileExists{microtype.sty}{\usepackage{microtype}}{} \IfFileExists{microtype.sty}{\usepackage{microtype}}{}
$if(geometry)$ $if(geometry)$