Jump to content

Putting parentheses around non-note objects

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)

Various objects may be parenthesized as well as notes: in this example, the articulation mark is printed between parentheses.

\version "2.24"

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

\relative c' {
  < c d g >2-\parenthesize -. 
  \once \override Parentheses.font-size = #0
  c-\parenthesize \trill
}