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

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

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 a way to

\mark on top of staff (was: TextScript implements self-alignment interface)

2005-08-30 Thread Graham Percival
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

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

TextScript implements self-alignment interface

2005-08-27 Thread Trevor Baca
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

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.}} \override