Re: TextScript implements self-alignment interface

2006-09-06 Thread Trevor Bača
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 ly:self-alignment-interface::x-align

Re: TextScript implements self-alignment interface

2006-09-06 Thread Markus Schneider
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 ly:self

Re: TextScript implements self-alignment interface

2006-09-04 Thread Trevor Bača
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

Re: TextScript implements self-alignment interface

2005-08-28 Thread Trevor Baca
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 specify the > > position-from-which-relativ

Re: TextScript implements self-alignment interface

2005-08-28 Thread Han-Wen Nienhuys
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 referencin

Re: TextScript implements self-alignment interface

2005-08-27 Thread Trevor Baca
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.}} > > \ov

Re: TextScript implements self-alignment interface

2005-08-27 Thread Han-Wen Nienhuys
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 Staff.TextScript #'self-alignment-X = #-1.5 Indeed, that's why I alway