From 5627c9f15d7142e0756a366f193c57443239ebed Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 5 Aug 2022 21:33:40 +0000 Subject: wrapstuff (5aug22) git-svn-id: svn://tug.org/texlive/trunk@64058 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/wrapstuff/wrapstuff.sty | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'Master/texmf-dist/tex/latex') diff --git a/Master/texmf-dist/tex/latex/wrapstuff/wrapstuff.sty b/Master/texmf-dist/tex/latex/wrapstuff/wrapstuff.sty index ad2e4ad87bc..a627b97a77a 100644 --- a/Master/texmf-dist/tex/latex/wrapstuff/wrapstuff.sty +++ b/Master/texmf-dist/tex/latex/wrapstuff/wrapstuff.sty @@ -27,10 +27,10 @@ %% \NeedsTeXFormat{LaTeX2e}[2021-06-01] \@ifundefined{ExplLoaderFileDate}{\RequirePackage{expl3}}{} -\GetIdInfo$Id: wrapstuff.dtx e891159 2022-07-26 19:00:31 +0800 Qing Lee $ +\GetIdInfo$Id: wrapstuff.dtx 3be38c0 2022-08-05 21:01:02 +0800 Qing Lee $ {Wrapping text around stuff} \ProvidesExplPackage{\ExplFileName} - {\ExplFileDate}{0.2}{\ExplFileDescription} + {\ExplFileDate}{0.3}{\ExplFileDescription} \@ifl@t@r \fmtversion { 2021-06-01 } { } { @@ -267,14 +267,12 @@ \group_begin: \cs_set:Npn \__wstf_tmp:nn #1 { - \group_begin: - \exp_args:Ncc \__wstf_tmp_aux:NNn - { __wstf_if_last_ #1 : } - { c__wstf_ #1 _node } + \exp_args:Ncc \__wstf_tmp_aux:NNn + { __wstf_if_last_ #1 : } + { c__wstf_ #1 _node } } \cs_set:Npn \__wstf_tmp_aux:NNn #1#2#3 { - \group_end: \int_const:Nn #2 {#3} \prg_new_conditional:Npnn #1 { T , F , TF } { @@ -1911,6 +1909,7 @@ \__wstf_parshape_kern: \box_move_up:nn { + \box_dp:N \g__wstf_stuff_box + \box_ht:N \l__wstf_window_box - ( \l__wstf_window_ht_dim + \box_ht_plus_dp:N \g__wstf_stuff_box ) / 2 -- cgit v1.2.3