Balloon help - GNU LilyPond
Description: GNU LilyPond

Next: Blank music sheet, 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 {
>            \applyOutput
>              #(add-balloon-text 'NoteHead "heads, or tails?"
>              '(1 . -3))
>            c8
>          }

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

##### See also

Program reference: text-balloon-interface.

Examples: `input/regression/balloon.ly`.

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

Other languages: English.
Using automatic language selection.