Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

LaTeX template: use ifxetex, ifluatex instead of iftex.

iftex is not in debian.
  • Loading branch information...
commit ba5f9741a1f96e521bdfbac3795524b83645e8fb 1 parent 8806382
@jgm authored
Showing with 8 additions and 9 deletions.
  1. +8 −9 default.latex
17 default.latex
@@ -2,19 +2,18 @@
\usepackage{fixltx2e} % provides \textsubscript
-\ifPDFTeX % use microtype with pdflatex if available
- \IfFileExists{microtype.sty}{\usepackage{microtype}}{}
+% use microtype if available
+\ifnum 0\ifxetex 1\fi\ifluatex 1\fi=0 % if pdftex
+\else % if luatex or xelatex
- \ifXeTeX
+ \ifxetex
@@ -82,7 +81,7 @@ $if(graphics)$
\usepackage[setpagesize=false, % page size defined by xetex
unicode=false, % unicode breaks when used with xetex
@@ -117,7 +116,7 @@ $if(verbatim-in-note)$
\VerbatimFootnotes % allows verbatim text in footnotes
Please sign in to comment.
Something went wrong with that request. Please try again.