Hi,

What's going on here?

%%% BEGIN %%%

\version "2.11.15"

\new Staff {
  \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-alignment-interface::centered-on-x-parent))))
 \override TextScript #'self-alignment-X = #left
 c'4_\markup { MMM }
 \override TextScript #'self-alignment-X = #center
 c'4_\markup { MMM }
 \override TextScript #'self-alignment-X = #right
 c'4_\markup { MMM }
}

%%% END %%%

The overrides to self-alignment-X cause all three pieces of text to go
to *really* weird places.

Has the syntax for x-centering on parent changed again? Or am I
forgetting something?

(FWIW, the override to X-offset above comes from the definition of
OctavateEight in define-grobs.scm; see
http://lists.gnu.org/archive/html/lilypond-user/2006-09/msg00088.html.)



--
Trevor Bača
[EMAIL PROTECTED]

Attachment: x-center.png
Description: PNG image

_______________________________________________
bug-lilypond mailing list
bug-lilypond@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-lilypond

Reply via email to