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: Kieren MacMillan
Subject: Re: attaching markup to time signature
Date: Thu, 12 Apr 2018 16:23:07 -0400

Hi Werner,

> 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,
> the staff line gets enlarged horizontally to the left.  Using the
> baloon stuff, the text properly sticks out.

What about

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

Hope that helps!
Kieren.
________________________________

Kieren MacMillan, composer
‣ website: www.kierenmacmillan.info
‣ email: address@hidden




reply via email to

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