summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2022-08-05 21:33:40 +0000
committerKarl Berry <karl@freefriends.org>2022-08-05 21:33:40 +0000
commit5627c9f15d7142e0756a366f193c57443239ebed (patch)
tree959cf67a5ebced842a07b2f292e006ea8b8588b4 /Master/texmf-dist/tex/latex
parent57edcb3ad2e282933a7637471f3efd789ed0f028 (diff)
wrapstuff (5aug22)
git-svn-id: svn://tug.org/texlive/trunk@64058 c570f23f-e606-0410-a88d-b1316a301751
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