diff options
author | Karl Berry <karl@freefriends.org> | 2018-09-21 21:07:02 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2018-09-21 21:07:02 +0000 |
commit | a7130f1e9343b9d655100fef8c49e689549cbfe2 (patch) | |
tree | 5744cc9ba6a853c46ac72afdc41b85ebe7d86443 /Master/texmf-dist/tex/latex/plautopatch/pxpgfrcs.sty | |
parent | 9444430d73ece7ecf9adaf5b3f4ee373896f95be (diff) |
plautopatch (21sep18)
git-svn-id: svn://tug.org/texlive/trunk@48723 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/plautopatch/pxpgfrcs.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/plautopatch/pxpgfrcs.sty | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/plautopatch/pxpgfrcs.sty b/Master/texmf-dist/tex/latex/plautopatch/pxpgfrcs.sty new file mode 100644 index 00000000000..578e26de0b6 --- /dev/null +++ b/Master/texmf-dist/tex/latex/plautopatch/pxpgfrcs.sty @@ -0,0 +1,34 @@ +% +% pxpgfrcs.sty +% written by Hironobu Yamashita (@aminophen) +% +% This package is part of the plautopatch bundle. +% https://github.com/aminophen/plautopatch +% + +%% package declaration +\NeedsTeXFormat{pLaTeX2e} +\ProvidesPackage{pxpgfrcs} + [2018/09/21 v0.1] +\RequirePackage{pgfrcs} + +% Note: I chose the name "pxpgfrcs.sty" +% (instead of "pgfutil-platex.def") because +% * "pgfrcs.sty" is the only package +% which contains \input pgfutil-latex.def. +% * It is not common for LaTeX users to use +% such an interface like \input pgfutil-platex.def. + +% patch pgfutil-latex.def +\RequirePackage{pxeveryshi}% pgfutil-latex.def requires everyshi +\def\pgfutil@insertatbegincurrentpagefrombox#1{% + \edef\pgf@temp{\the\wd\pgfutil@abb}% + \global\setbox\pgfutil@abb\hbox{% + \yoko %%% add \yoko + \unhbox\pgfutil@abb% + \hskip-\pgf@temp\relax% + #1% + }% +}% + +\endinput |