Next: , Up: Special notation



3.17.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.

     \context Voice
     \applyoutput
        #(add-balloon-text 'NoteHead "heads, or tails?"
         '(1 . -3))
     c8

[image of music]

The function add-balloon-text takes the name of a grob, the label to print and where to put the label relative to the object. In the above example, the text “heads or tails?” ends 3 spaces below the `balloon.'

See also

Program reference: text-balloon-interface.

Examples: input/regression/balloon.ly.

Read comments on this page, or add one.

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

Report errors to <bug-lilypond@gnu.org>.