Jump to content

Square balloons

From LilyPond wiki
Revision as of 18:56, 16 November 2025 by Jean Abou Samra (talk | contribs) (Replace version="2.24.0" with version="2.24" now that the LilyWiki extension supports auto-selecting the latest release in a stable series)

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.

\version "2.24"

%% http://lsr.di.unimi.it/LSR/Item?id=423

\new Voice \with { \consists "Balloon_engraver" }
  \relative c''{
   \balloonGrobText #'Stem #'(3 . 4) \markup { "I'm a Stem" }
   a4
   <c, g'-\balloonText #'(-2 . -2) \markup { "I'm a note head" } c>2.
}