[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Line breaks and text positioning
From: |
Phil Holmes |
Subject: |
Re: Line breaks and text positioning |
Date: |
Sun, 20 Jun 2010 17:52:45 +0100 |
I am top posting.
Added as http://code.google.com/p/lilypond/issues/detail?id=1133
--
Phil Holmes
Bug Squad
"Kieren MacMillan" <address@hidden> wrote in message
news:address@hidden
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
address@hidden
http://lists.gnu.org/mailman/listinfo/lilypond-user
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: Line breaks and text positioning,
Phil Holmes <=