Next: , Up: Educational use


8.5.1 Balloon help

Elements of notation can be marked and named with the help of a square balloon. The primary purpose of this feature is to explain notation.

The following example demonstrates its use.

     
     \new Voice \with { \consists "Balloon_engraver" }
     {
       \balloonGrobText #'Stem #'(3 . 4) \markup { "I'm a Stem" }
       <c-\balloonText #'(-2 . -2) \markup { Hello }  >8
     }

[image of music]

There are two music functions, balloonText and balloonGrobText. The latter takes the name of the grob to adorn, while the former may be used as an articulation on a note. The other arguments are the offset and the text of the label.

See also

Program reference: text-balloon-interface.

Examples: input/regression/balloon.ly.


Next: , Up: Educational use

This page is for LilyPond-2.10.33 (stable-branch).

Report errors to http://post.gmane.org/post.php?group=gmane.comp.gnu.lilypond.bugs.