bug-lilypond
[Top][All Lists]
Advanced

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

Issue 1133 in lilypond: Linebreaking calculation problem


From: lilypond
Subject: Issue 1133 in lilypond: Linebreaking calculation problem
Date: Sun, 20 Jun 2010 17:02:22 +0000

Status: Accepted
Owner: ----
Labels: Type-Defect Priority-Low

New issue 1133 by PhilEHolmes: Linebreaking calculation problem
http://code.google.com/p/lilypond/issues/detail?id=1133

In the example below, the first score ends up with a stave with a huge amount of white space in it, to accommodate the text. When there's a little more text, the line is broken to accommodate the text far more cleanly. As Kieren says "if the markup/tempo/rehearsalmark is going to cause the spacing to be so poor, the line should automagically break so that the item happens "mid-system" (like the last example)."


#(set-global-staff-size 17)

\paper { indent = 0 }

\score {
  {
    \override Score.PaperColumn #'keep-inside-line = ##t
    \clef "treble"
    \time 4/4
    \repeat "unfold" 31 { b'4 }
    b'4^\markup { \normalsize \italic "Some text to test linebreaking" }
    \repeat "unfold" 40 { b'4 }
    \bar "|."
  }
}

\score {
  {
    \override Score.PaperColumn #'keep-inside-line = ##t
    \clef "treble"
    \time 4/4
    \repeat "unfold" 31 { b'4 }
b'4^\markup { \normalsize \italic "Some text to test linebreaking calculation" }
    \repeat "unfold" 40 { b'4 }
    \bar "|."
  }
}




reply via email to

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