Skip to content

Instantly share code, notes, and snippets.

View yuwata's full-sized avatar

Yu Watanabe yuwata

View GitHub Profile
@yuwata
yuwata / prdvipdfmx.def
Created February 4, 2016 09:35 — forked from zr-tex8r/prdvipdfmx.def
LaTeX: To use priview package ('tightpage' option) with dvipdfmx
%
% prdvipdfmx.def
%
%% Avoids duplicate loading.
\csname bxpw@prdvipdfmx@loaded\endcsname
\def\bxpw@prdvipdfmx@loaded{\endinput}
%% If the engine is XeTeX or pdfTeX/LuaTeX then quits.
\@tempswatrue
\ifx\XeTeXversion\@undefined\else \@tempswafalse \fi
\ifx\pdfoutput\@undefined\else