Graham Percival <gra...@percival-music.ca> writes:

> On Wed, Jul 11, 2012 at 10:28:35PM +0200, David Kastrup wrote:
>> More like
>> 
>> ----------- linewidth ------
>> This    is    a    paragraph
>> which  has  a   really  long
>> word  and   has   benefitted
>> from   some     kind      of
>> emergency-stretch-tweak
>> which isn't IMO exactly what
>> we   want  in  the  lilypond
>> documentation.
>> ----------- linewidth ------
>
> Hmm.  So there's absolutely no way to get
>
> ----------- linewidth ------
> from some kind of
> emergency-stretch-tweak
> ----------- linewidth ------
>
> ?  that's a shame.

If you want a non-stretching break-opportunity before some construct,
you can put something like

\penalty10000\hskip 0pt plus 1fil\penalty 0\hskip 0pt plus -1fil\relax

and if TeX chooses the break at the penalty0, it will leave the
paragraph above raggedright, while without a break the skips cancel.
But the end result is still ugly with two short lines in the middle of a
paragraph.

-- 
David Kastrup

_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to