The wrapstuff
package provides another implementation of text wrapping.
Its implementation benefits from the paragraph hooks available since
LaTeX 2021-06-01.
The package only provides a user environment wrapstuff
.
\begin{wrapstuff}[<options>]
<wrapping stuff>
\end{wrapstuff}
<main text>
You can read the package manual (in both English and Chinese) for some explanations.
The package is still highly experimental and not fully tested. Issues and pull requests are always welcome.