lilypond-user
[Top][All Lists]
Advanced

[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: Fri, 12 Mar 2010 09:06:03 -0000

Thanks for the guidance.  I've tried adding:

\override PaperColumn #'keep-inside-line = ##t
\override NonMusicalPaperColumn #'keep-inside-line = ##t

and as you say it avoids the problem of text flowing over the edge of the page. However, I am surprised that the default is to allow the overflow. On my tests, I can see no difference in processing time if those 2 lines are added - this is with a score taking about 25 seconds to process, and there's definitely less than a second difference. Given that I can't think of any instance when the text should go over the side of the page, and the performance difference is negligible, could the default be changed?


--
Phil Holmes


----- Original Message ----- From: "Graham Percival" <address@hidden>
To: "Phil Holmes" <address@hidden>
Cc: "LilyPond User Group" <address@hidden>
Sent: Thursday, March 11, 2010 6:09 PM
Subject: Re: Line breaks and text positioning


Read the Learning Manual, "Less tweaks with longer processing" or
something like that.  It's at the end of the manual.

In the 2.13 docs, this section might have moved to Usage.

Cheers,
- Graham

On Thu, Mar 11, 2010 at 05:34:51PM -0000, Phil Holmes wrote:
There is what looks like a problem in how LilyPond calculates line breaks
when there is some text to display.  The example I've attached shows
markup but I know it also applies to Tempo indications.  Is this a known
bug (I have searched and can't find it)?

I know it can be worked around with \break, but as a general rule it
shouldn't be necessary to do this.

--
Phil Holmes



\version "2.12.3"
#(set-global-staff-size 17)

{
 \clef "treble"
 \time 4/4
 b'4 b'4 b'4 b'4  |  % 1
 b'4 b'4 b'4 b'4  |  % 2
 b'4 b'4 b'4 b'4  |  % 3
 b'4 b'4 b'4 b'4  |  % 4
 b'4 b'4 b'4 b'4  |  % 5
 b'4 b'4 b'4 b'4  |  % 6
 b'4 b'4 b'4 b'4  |  % 7
 % \break
b'4 b'4 b'4 b'4^\markup {\normalsize \italic "Some text to test linebreaking calculation"} | % 8
 b'4 b'4 b'4 b'4  |  % 9
 b'4 b'4 b'4 b'4  |  % 10
 b'4 b'4 b'4 b'4  |  % 11
 b'4 b'4 b'4 b'4  |  % 12
 b'4 b'4 b'4 b'4  |  % 13
 b'4 b'4 b'4 b'4  |  % 14
 b'4 b'4 b'4 b'4  |  % 15
 b'4 b'4 b'4 b'4  |  % 16
 b'4 b'4 b'4 b'4  |  % 17
 b'4 b'4 b'4 b'4 \bar "|."
}

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







reply via email to

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