David, Kieren,

thanks a lot for your snippets!  For didactical purposes I need
centered, explanatory text over a time signature.

> Here's a snippet showing how balloon text might be used.

This is the solution I will use, since David's solution doesn't really
work for me: As the attached image for this snippet shows,

  \new Staff
  {
    \tweak stencil
      #(grob-transformer 'stencil
        (lambda (grob default)
          (grob-interpret-markup grob
           #{ \markup \column {
                \stencil #default
                \vspace #-2.5
                \center-align "This is a long, centered text" } #})))
    \time 4/4  c'1
  }

the staff line gets enlarged horizontally to the left.  Using the
baloon stuff, the text properly sticks out.


    Werner
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to