Jump to content

Putting parentheses around a single note: Difference between revisions

From LilyPond wiki
No edit summary
m New category
Tags: Mobile edit Mobile web edit
 
Line 15: Line 15:
[[Category:Education]]
[[Category:Education]]
[[Category:Editorial annotations]]
[[Category:Editorial annotations]]
[[Category:Really simple]][[Category:Snippet]]
[[Category:Really simple]]
[[Category:Snippet]]

Latest revision as of 23:18, 21 November 2025

Objects may be parenthesized by prefixing \parenthesize to the music event: in other words, the note has to be put after the \parenthesize command.

This only functions inside chords; to parenthesize a single note it must be enclosed with <> as if it is a chord.

\version "2.24"

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

\relative c'' {
  a4
  < \parenthesize b >
  c d
}