Hi Trevor,
I derived this from the hint given regarding the OctavateEight in
define-grobs.scm:
\override TextScript #'X-offset =
#(ly:make-simple-closure
`(,+ ,(ly:make-simple-closure (list
ly:self-alignment-interface::x-aligned-on-self))
,(ly:make-simple-closure (list
On 9/6/06, Markus Schneider [EMAIL PROTECTED] wrote:
Hi Trevor,
I derived this from the hint given regarding the OctavateEight in
define-grobs.scm:
\override TextScript #'X-offset =
#(ly:make-simple-closure
`(,+ ,(ly:make-simple-closure (list
On 8/28/05, Trevor Baca [EMAIL PROTECTED] wrote:
On 8/28/05, Han-Wen Nienhuys [EMAIL PROTECTED] wrote:
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
On 28-Aug-05, at 8:23 PM, Trevor Baca wrote:
For the at-home audience that might wanna try out the syntax, this
will work:
Thanks! This showed me how to do a different tweak: positioning a \mark
above all other notation on a staff.
(presented here for the same at-home audience)
{
\override
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
TextScript layout objects implement the self-alignment interface quite
well. Here's an example:
%% BEGIN TEXTSCRIPT SELF-ALIGNMENT SNIPPET %%%
\version 2.7.7
\score {
\context Staff = example {
\time 7/4
\override Staff.TextScript #'self-alignment-X = #-2
c'4^\markup
On 8/27/05, Han-Wen Nienhuys [EMAIL PROTECTED] wrote:
Trevor Baca wrote:
TextScript layout objects implement the self-alignment interface quite
well. Here's an example:
\override Staff.TextScript #'self-alignment-X = #-2
c'4^\markup {\italic {ten.}}
\override