<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><br><blockquote type="cite"><div>On the other hand, when you write algorithms that somehow calculate the<br>parshape from some other parameters, the way lua does this is exactly<br>what you want, together with the parameter normalization to scaled<br>points.<br></div></blockquote><br></div><div>just to add some background information. See the attached image. The yellow cells are "allocated cells" in a grid and the text flows around it automatically. The text is generated "manually" with glyph nodes and other Lua(TeX) nodes and the function tex.linebreak(). Therefore I need the Lua equivalent of \parshape to get the text shaped as it should be.</div><div><br></div><div>Patrick</div><div><br></div><div><br></div><img id="57353dc6-b080-4f1f-8ada-ea754306c9ed" height="504" width="833" apple-width="yes" apple-height="yes" src="cid:3997B426-6DE5-4BC8-AB29-6943CC43B406"></body></html>