Create a gist now

Instantly share code, notes, and snippets.

anonymous /pxpgfmark.sty
Created Feb 18, 2013

Embed
What would you like to do?
LaTeX: To utilize PGF's position marking on e-pTeX
% pxpgfmark.sty
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{pxpgfmark}[2013/02/18 v0.1]
\@ifpackageloaded{pgfcore}{}{%else
\PackageError{pxpgfmark}{Package 'pgfcore' must be loaded}\@ehc}
\def\pxqmk@tempa{pgfsys-dvipdfmx.def}
\ifx\pgfsysdriver\pxqmk@tempa
\@tempswatrue
\ifx\pdfsavepos\@undefined \@tempswafalse \fi
\ifx\pdflastxpos\@undefined \@tempswafalse \fi
\ifx\pdflastypos\@undefined \@tempswafalse \fi
\ifx\pgf@sys@pdf@dvi@tracker\@undefined \@tempswafalse \fi
\if@tempswa
\pgf@sys@pdf@dvi@tracker
\PackageInfo{pxpgfmark}{Position marking enabled}
\fi
\fi
%% EOF
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment