On 13 December 2010 11:21, Jan-Peter Voigt <[email protected]> wrote:

> Is it possible to set that value inside the make-dynamic-script or align it
> some other way, so that I can simply use my defined \pocof (etc.) without
> switching X-offset on and off?

Sure, by overriding X-offset as a tweak:

pocof =
#(let ((dynamic (make-dynamic-script (markup #:center-dyn "poco" "f"))))
    (set! (ly:music-property dynamic 'tweaks)
           (acons 'X-offset 0 (ly:music-property dynamic 'tweaks)))
   dynamic)

Cheers,
Neil

_______________________________________________
lilypond-user mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to