lilypond-user
[Top][All Lists]
Advanced

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

Re: TextScript implements self-alignment interface


From: Han-Wen Nienhuys
Subject: Re: TextScript implements self-alignment interface
Date: Mon, 29 Aug 2005 00:57:27 +0200
User-agent: Mozilla Thunderbird 1.0.6-1.1.fc4 (X11/20050720)

Trevor Baca wrote:
So the question is: is the pair of self-alignment and extra-offset (in
the second example) the best way to center markup relative to
*notecenter* or is there a way to specify the
position-from-which-relative-measures-are-made (like extra-offset)
directly, possibly by referencing the parent grob?

No, you want to use the same alignment as OctavateEight, ie. using

(X-offset-callbacks .    (,Self_alignment_interface::centered_on_parent
                          ,Self_alignment_interface::aligned_on_self)

check define-grobs.scm for more examples of centered_on_parent.

--
 Han-Wen Nienhuys - address@hidden - http://www.xs4all.nl/~hanwen




reply via email to

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