diff options
author | Norbert Preining <norbert@preining.info> | 2020-11-27 03:02:22 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2020-11-27 03:02:22 +0000 |
commit | 5fab5fddb47ba1503acd9d37d1db7b340ed971af (patch) | |
tree | aae79210fb3409d09705b7bdc201f7145fde0525 /language/japanese/plautopatch/pxpgfrcs.sty | |
parent | 9b2936e52e60fc97ac4603c4f2e6a1296e1b9e6c (diff) |
CTAN sync 202011270302
Diffstat (limited to 'language/japanese/plautopatch/pxpgfrcs.sty')
-rw-r--r-- | language/japanese/plautopatch/pxpgfrcs.sty | 30 |
1 files changed, 20 insertions, 10 deletions
diff --git a/language/japanese/plautopatch/pxpgfrcs.sty b/language/japanese/plautopatch/pxpgfrcs.sty index a151a19437..38d72273ca 100644 --- a/language/japanese/plautopatch/pxpgfrcs.sty +++ b/language/japanese/plautopatch/pxpgfrcs.sty @@ -9,7 +9,7 @@ %% package declaration \NeedsTeXFormat{pLaTeX2e} \ProvidesPackage{pxpgfrcs} - [2020/10/10 v0.2 shadings etc in tate class] + [2020/11/26 v0.3 shadings etc in tate class] \RequirePackage{pgfrcs}% pgfutil-latex.def requires everyshi \ifx\@EveryShipout@Output\@undefined % LaTeX2e 2020-10-01: an emulation by ``everyshi-ltx.sty'' @@ -26,15 +26,25 @@ % * It is not common for LaTeX users to use % such an interface like \input pgfutil-platex.def. -% patch pgfutil-latex.def +% patch pgfutil-latex.def (based on 2020-11-21 v3.1.7) \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% - }% -}% + \edef\pgf@temp{\the\wd\pgfutil@abb}% + \global\setbox\pgfutil@abb\hbox{% + \yoko %%% add \yoko + \unhbox\pgfutil@abb% + % + % the order in which \pgfutil@insertatbegincurrentpagefrombox + % matters unless we make the following -shift! + % To see this, consider writing two such statements. The second + % one will (naturally) be placed more to the right, although there + % is no apparent reason why it should. + % + % CF observed problems when placing patterns in XObjects without + % this skip (dvipdfmx driver for pgfplots shader=interp) + \hskip\dimexpr\pgfutil@ifl@t@r\fmtversion{2020/10/01}{2in-2\hoffset}{}-\pgf@temp\relax% + #1% + \pgfutil@ifl@t@r\fmtversion{2020/10/01}{\hskip\dimexpr-2in-2\hoffset\relax}{}% + }% +} \endinput |