[Top][All Lists]

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

Re: relative position of tempo and rehearsal marks

From: Trevor Daniels
Subject: Re: relative position of tempo and rehearsal marks
Date: Mon, 13 Apr 2009 18:09:52 +0100

There's actually quite an extended section on this
in the Learning Manual, with no need to go to the
Internals Reference.  See Section 4.4.3 Outside-staff


----- Original Message ----- From: "Simon Bailey" <address@hidden>
To: "Frédéric Bron" <address@hidden>
Cc: "lilypond-user" <address@hidden>
Sent: Monday, April 13, 2009 12:03 PM
Subject: Re: relative position of tempo and rehearsal marks


On Apr 13, 2009, at 8:41 AM, Frédéric Bron wrote:
with 2.12.2 (windows):

{ \tempo "Ziemlich langsam" 4 = 66 R1 \mark \default R1 }

puts "A" above "Ziemlich langsam" but I would expect "A" to be below.
How can I reverse the default behaviour?

try this:

\version "2.12.2"
\once \override Score.MetronomeMark #'outside-staff-priority = #1500
\tempo "Ziemlich langsam" 4 = 66
\once \override Score.RehearsalMark #'outside-staff-priority = #1000
\mark \default


the documentation trail for this is fairly convoluted:

NR 4.4.5 "Vertical collision avoidance"

find that there is a property outside-staff-priority and that objects are ordered with ascending priority away from the staff, then look up
the two objects:

IR 3.1.62 "MetronomeMark"

IR 3.1.80 "RehearsalMark"

determine the values for RehearsalMark and MetronomeMark are #1500 and
#1000 respectively, so swap them with the \override command.

the trick is knowing that you're looking for vertical-collision-
avoidance rather than vertical placement of objects...


Simon Bailey
Oompa Loompa of Science
+43 699 190 631 25

lilypond-user mailing list

reply via email to

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