Hi Phil,
> I know it can be worked around with \break, but as a general rule it
> shouldn't be necessary to do this.
Here's a snippet to consider:
\version "2.12.3"
#(set-global-staff-size 17)
\paper { indent = 0 }
\score {
{
\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 "|."
}
}
\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" }
\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" }
\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 "|."
}
}
I think the third example is a "bug": 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).
Cheers,
Kieren.
>
> --
> Phil Holmes
>
> <TextStaff.pdf><TextStaff.ly>_______________________________________________
> lilypond-user mailing list
> [email protected]
> http://lists.gnu.org/mailman/listinfo/lilypond-user
_______________________________________________
bug-lilypond mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-lilypond