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
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.'
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). |