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: Wed, 11 Nov 2009 11:40:27 +0100


Le 10 nov. 2009 à 07:19, David Kastrup a écrit :

Nicolas Sceaux <address@hidden> writes:

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.

The answer does not fit the question.  The question was not about
stacking as much on a page as possible.  Quite contrary: it was about
stacking less than possible if it avoids ugly results.

Yet, it might have been an artefact of an inappropriate page breaking
algorithm, hence the suggestion, which was not labeled as a solution,
mind you, just a possible track to investigate.
Your post is absolutely unnecessary, btw.





reply via email to

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