[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Bad page breaking
From: |
Zoltan Selyem |
Subject: |
Bad page breaking |
Date: |
Fri, 19 Oct 2007 13:18:44 +0200 |
%% The page breaking algorithm doesn't calculate well.
%%
%% LilyPond thinks that the following piece doesn't fit on one page,
%% but if you uncomment the page break prohibition,
%% you can see that there is enough space for everything...
\version "2.11.34"
\paper{ ragged-right = ##t }
Melody = \relative c' {
c2 c | c c | c c | \break c2 c | c c | c c | \break
c2 c | c c | c c | \break c2 c | c c | c c | \break
c2 c | c c | c c
}
Words = \lyricmode{
bla bla bla bla bla bla bla bla bla bla bla bla
bla bla bla bla bla bla
}
\score
{
\new Score
% \with { \override NonMusicalPaperColumn #'page-break-permission = ##f }
{
\context StaffGroup
<<
\new Staff{\Melody}
\addlyrics{\Words}
\new Staff{\Melody}
\addlyrics{\Words}
\new Staff{\Melody}
\addlyrics{\Words}
>>
}
}
pageBreaking.png
Description: PNG image
- Bad page breaking,
Zoltan Selyem <=