lilypond-user
[Top][All Lists]
Advanced

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

Re: raise markup


From: Malte Meyn
Subject: Re: raise markup
Date: Sun, 22 Mar 2020 09:19:25 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0



Am 22.03.20 um 09:06 schrieb address@hidden:
I've created a markup, simplified to 'X' in my example, and I would like to 
move it up partway into the staff.  I can move it down with a negative number 
but it won't move higher than '0' in \translate.  There must be a way to do 
this.

Yes, there is a way: You have to set outside-staff-priority and staff-padding to #'(). You can then use Y-offset instead of \translate to fine-tune the position.

You can either use [\once] \override or \tweak, the following works both for LilyPond 2.18.2 and 2.20.0:

{
  \once \override Score.MultiMeasureRestText.outside-staff-priority = #'()
  \once \override Score.MultiMeasureRestText.staff-padding = #'()
  \once \override Score.MultiMeasureRestText.Y-offset = -2
  R1_"X"

R1-\tweak staff-padding #'() -\tweak outside-staff-priority #'() -\tweak Y-offset -2 _"X"
}



reply via email to

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