Hi Wilbert,

> There must be a way to really center a simple text above a note.
> But [this centers] the text above the *left* side of the note:
> {
> \once \override TextScript #'self-alignment-X = #CENTER
> c'4-"text"
> }
> How can I center a text or markup above the *center* of the note/chord?

Offset the text by half the width of the notehead:

\version "2.12.2"
textmusic = \relative
{
  \override TextScript #'self-alignment-X = #CENTER
  \override TextScript #'extra-offset = #'(0.6 . 0)
  c'-"center" c c c
  c,-"these" c c c
  c'-"words"
}
\score { \textmusic }

Hope this helps!
Kieren.


_______________________________________________
lilypond-user mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to