Hi Jay,

On 22/03/2008, Jay Hamilton <[EMAIL PROTECTED]> 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


_______________________________________________
lilypond-user mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to