Jump to content

Square balloons: Difference between revisions

From LilyPond wiki
Import snippet from LSR
 
m Replace version="2.24.0" with version="2.24" now that the LilyWiki extension supports auto-selecting the latest release in a stable series
Line 1: Line 1:
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.
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.


<lilypond version="2.24.0">
<lilypond version="2.24">
%% http://lsr.di.unimi.it/LSR/Item?id=423
%% http://lsr.di.unimi.it/LSR/Item?id=423



Revision as of 18:56, 16 November 2025

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