[luatex] parshape

Patrick Gundlach patrick at gundla.ch
Mon Feb 27 08:03:51 CET 2012


Am 26.02.2012 um 22:49 schrieb Ingo Krabbe:

> On Sun, Feb 26, 2012 at 08:28:48PM +0100, Patrick Gundlach wrote:
>> Hello,
>> 
>> (4.13.13.2 tex.linebreak())
>> 
>> in tex.linebreak() I can give "parameters". How is the parshape table suppose to look like? Is it a table of 
>> 
>> { n, <glue_spec>,<glue_spec>, .. 2n <glue_spec> items}
>> ?
>> 
>> Or what do I need to fill in?
> 
> I don't have any clue about luatex, but most likely the texbook is still
> normative here:
> 
> "In general, '\parshape=n i1 l1 i2 l2 ... in ln' specifies a paragraph
> whose first n lines will have lengths l1, l2, ..., ln, respectively and
> they will be indented from the left margin by the respective amounts i1,
> i2, ..., in.

Hi Ingo,

everything I've tried so far gave me an error:

 parshape = {2,  0, 40 * 2^16, 0,37 * 2^16 }
 parshape = {2,  l0,n0,l1,n1 } -- l,n are glue_spec items
 parshape = {2,  "0pt","40pt","0pt","37pt" }

Patrick





More information about the luatex mailing list