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:34:06 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

Kieren MacMillan <address@hidden> writes:

> Hi David,
>
>> can't you achieve your goal with the various footnote/balloon mechanisms?
>
> I just tried to — in order to give the OP an example — but my attempt didn’t 
> work:
>
> %%%  SNIPPET BEGINS
> \version "2.19.80"
>
> \layout {
>   \context {
>     \Voice
>     \consists "Balloon_engraver"
>   }
> }
>
> stuff = {
>   \balloonGrobText #'TimeSignature #'(1 . 0) \markup "test" \time 2/4 s2
> }
>
> \score { \stuff }
> %%%  SNIPPET ENDS
>
> No error, though… What did I do wrong? (Note: using \new Voice \stuff also 
> didn’t work as expected.)

Time signatures are engraved at Staff context.  I'd likely suggest to
put Balloon_engraver at Score level anyway: no point in having more than
one of them active, is there?  Have not used this myself though.

-- 
David Kastrup



reply via email to

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