[Logiweb] Ragged right expansion

Klaus Ebbe Grue grue at diku.dk
Tue Jun 20 10:17:13 CEST 2006

Hi Frederik,

> What's the effect of writing
> "[ ragged right expansion ]"
> at the beginning of your pyk file? (This is done in the "check" page).

Try to look up the macro expanded version of the check page at the 
following url:


You will see that the macro expanded version of the check page has a 
ragged right margin.

But if you look up the unexpanded version (the 'Body') you will see that 
the unexpanded version has a straight right margin.

The purpose is as follows: authors are supposed to invest hours of work in 
making the body look good, but the expansion is only used on rare 
occasions and for debugging purposes. Furthermore, it is difficult to 
control the exact layout of the expansion and it may contain an awful mix 
of short and long lines, so it is reasonable just to make it ragged right.

If you look up the definition of 'ragged right expansion' you will see 
that it macro expands to a construct which is rendered as '\raggedright'.


More information about the Logiweb mailing list