bug-lilypond
[Top][All Lists]
Advanced

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

Re: Bad page breaking


From: Graham Percival
Subject: Re: Bad page breaking
Date: Tue, 23 Oct 2007 22:56:41 -0700
User-agent: Icedove 1.5.0.12 (X11/20070607)

Thanks, this has been entered as
http://code.google.com/p/lilypond/issues/detail?id=496

Cheers,
- Graham

Zoltan Selyem wrote:
%% 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}
    >>
  }
}


------------------------------------------------------------------------


------------------------------------------------------------------------

_______________________________________________
bug-lilypond mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/bug-lilypond




reply via email to

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