From 032af5eceed4cf832ced3348bd0b9013da4120a6 Mon Sep 17 00:00:00 2001 From: Yihui Xie Date: Tue, 6 May 2014 00:21:02 -0700 Subject: upquote must be used after fontenc otherwise single quotes in verbatim environments will be in trouble; see an example at http://stackoverflow.com/a/12852815/559676 --- default.beamer | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/default.beamer b/default.beamer index 3291bb3f2..9775b332b 100644 --- a/default.beamer +++ b/default.beamer @@ -14,7 +14,6 @@ $endif$ \usepackage{amssymb,amsmath} \usepackage{ifxetex,ifluatex} \usepackage{fixltx2e} % provides \textsubscript -\IfFileExists{upquote.sty}{\usepackage{upquote}}{} \usepackage{lmodern} \ifxetex \usepackage{fontspec,xltxtra,xunicode} @@ -33,6 +32,7 @@ $endif$ $endif$ \fi \fi +\IfFileExists{upquote.sty}{\usepackage{upquote}}{} % use microtype if available \IfFileExists{microtype.sty}{\usepackage{microtype}}{} $if(natbib)$ -- cgit v1.2.3