[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.
Werner
- Re: attaching markup to time signature, (continued)
Re: attaching markup to time signature, Ben, 2018/04/12
Re: attaching markup to time signature, Kieren MacMillan, 2018/04/12
Re: attaching markup to time signature, Werner LEMBERG, 2018/04/12
Re: attaching markup to time signature, Kieren MacMillan, 2018/04/12
Re: attaching markup to time signature, David Kastrup, 2018/04/12
Re: attaching markup to time signature,
Werner LEMBERG <=
Re: attaching markup to time signature, Kieren MacMillan, 2018/04/12