[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: dynamic alignment
From: |
Neil Puttock |
Subject: |
Re: dynamic alignment |
Date: |
Thu, 16 Dec 2010 00:16:07 +0000 |
On 13 December 2010 11:21, Jan-Peter Voigt <address@hidden> 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