[Top][All Lists]

[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 23:18:12 +0200 (CEST)

>>> 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 {

Well, this is cheating, isn't it?

>>                \stencil #default
>>                \vspace #-2.5
>>                \center-align "This is a long, centered text" } #})))
>>    \time 2/4 c'1
>>  }
>> Hope that helps!
> Uh, I think the balloon version is a whole lot more appropriate for
> that use case and cleaner anyway.

I agree.


reply via email to

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