summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex')
-rw-r--r--Master/texmf-dist/tex/latex/wrapstuff/wrapstuff.sty13
1 files changed, 6 insertions, 7 deletions
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 <sobenlee@gmail.com> $
+\GetIdInfo$Id: wrapstuff.dtx 3be38c0 2022-08-05 21:01:02 +0800 Qing Lee <sobenlee@gmail.com> $
{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