lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Working on GDP need grob explanation what is a rest?


From: Neil Puttock
Subject: Re: Working on GDP need grob explanation what is a rest?
Date: Sat, 22 Mar 2008 23:34:22 +0000

Hi Jay,

On 22/03/2008, Jay Hamilton <address@hidden> wrote:
> I need to attach a balloon to a rest.
>  In the current examples I understand how to create a balloon around a stem 
> and a note in a chord and presumably around a single note
>  \balloonGrobText #'note #' (-4 . -4) \markup { "I'm a note" }

Unfortunately that won't work, since "note" isn't a grob. Try

 \balloonGrobText #'NoteHead #'(-4 . -4) \markup { "I'm a note" }

>  however
>  r\balloonGrobText #'rest #' (-4 . -4) \markup { "I'm a rest" }
>  doesn't work so what is a rest in this instance

In this case, the grob would be Rest:

\balloonGrobText #'Rest #' (-4 . -4) \markup { "I'm a rest" }

In both cases you'll have to place the \balloonGrobText function
before the item (like \once \override).

Regards,
Neil




reply via email to

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