lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Orphaned and widowed lines in \markuplines


From: Nicolas Sceaux
Subject: Re: Orphaned and widowed lines in \markuplines
Date: Mon, 9 Nov 2009 19:26:02 +0100

Le 9 nov. 2009 à 11:10, Jiri Zurek (Prague) a écrit :


It happens to my scores that when using \markuplines for long texts (more
than a page), Lilypond leaves a first or a last line orphaned (single,
alone) on a page. This is normally unwanted in printed literature. Is there a way how to instruct Lilypond not to leave orphaned or widowed single lines
on any page?

You may consider using the ly:minimal-breaking page breaking algorithm for
text sections. The default algorithm, ly:optimal-breaking, is abviously
dedicated to scores, so it can lead to suboptimal results when dealing with
text. Conversely, ly:minimal-breaking gives better results with text: it
stacks as many lines as possible on a page before brekaing to the next one.

Nicolas





reply via email to

[Prev in Thread] Current Thread [Next in Thread]