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: David Kastrup
Subject: Re: attaching markup to time signature
Date: Thu, 12 Apr 2018 16:35:41 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

Ben <address@hidden> writes:

> On 4/12/2018 8:26 AM, David Kastrup wrote:
>> Werner LEMBERG <address@hidden> writes:
>>
>>> Folks,
>>>
>>>
>>> is it possible to attach a markup to a time signature?
>>
>>
>> But can't you achieve your goal with the various footnote/balloon
>> mechanisms?
>>
>>
>
> Just a quick question,
>
> David why does your code seem to not work properly when you add the
> numeric time signature command before the 4/4 time?
> The markup disappears in that case...on my end at least.
>
> Thank you!
>
> %%%%%%%%%
> \version "2.19.80"
>
> \new Staff
> {
>   \tweak stencil
>   #(grob-transformer 'stencil (lambda (grob default)
>                                 (grob-interpret-markup grob
>                                  #{ \markup \column { \stencil #default
>                                  \vspace #-2
>                                  \small \with-color #red "Hi!"
>                                } #})))
>   \numericTimeSignature \time 4/4  c'1
> }

Because now you are tweaking the \numericTimeSignature command instead
of the \time command?

-- 
David Kastrup



reply via email to

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