lilypond-user
[Top][All Lists]
Advanced

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

Re: Offset PedalMarking


From: Malte Meyn
Subject: Re: Offset PedalMarking
Date: Wed, 5 Sep 2018 11:40:46 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.0



Am 05.09.18 um 10:53 schrieb foxfanfare:

I found in the configuration file how the sustainOn/Off works:

sustainOn = #(make-span-event 'SustainEvent START)
sustainOff = #(make-span-event 'SustainEvent STOP)

I think it would be possible to add an offset for the sustainOn shortcut but
I didn't manage to find the solution...

You can add a tweak to the definition of sustainOn:

\version "2.19.82"

sustainOn =
#(define-event-function () ()
   #{
     -\tweak X-offset 3
     -#(make-span-event 'SustainEvent START)
   #})

{
  b4\sustainOn 4 4 4
  b4\sustainOff 4 4 4
}



reply via email to

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