% Copyright 2006 by Will Robertson % % Distributable under the LaTeX Project Public License, % version 1.3b or higher (your choice). The latest version of % this license is at: http://www.latex-project.org/lppl.txt % % This work is "maintained" (as per LPPL maintenance status) % by Will Robertson. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% The ifxetex package %% %% Usage: LaTeX - \usepackage{ifxetex} %% Plain - \input ifxetex.sty %% %% Function: Provides the \ifxetex boolean for testing %% whether XeTeX is being used for typesetting. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % It's naughty, but I assume eTeX extensions here. % If a user has this package, then they're using eTeX. % (My assumption.) \ifdefined\ProvidesPackage \ProvidesPackage{ifxetex} [2006/06/12 v0.1 Provides ifxetex condition] \fi \unless\ifdefined\ifxetex \newif\ifxetex \fi \ifdefined\XeTeXversion \xetextrue \fi