lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: attaching markup to time signature


From: Werner LEMBERG
Subject: Re: attaching markup to time signature
Date: Thu, 12 Apr 2018 22:09:33 +0200 (CEST)

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

PNG image


reply via email to

[Prev in Thread] Current Thread [Next in Thread]