| [ << Musical notation ] | [Top][Contents][Index] | [ Specialist notation >> ] |
| [ < Brackets for optional material ] | [ Up : Inside the staff ] | [ Stems > ] |
Parentheses
Objects may be parenthesized by prefixing the music event with
\parenthesize.
\relative { c''2 \parenthesize d c2 \tweak Parentheses.font-size 2 \parenthesize <c e g> c2 <c e \parenthesize g> }![]()
Non-note objects may be parenthesized as well. For articulations,
a hyphen is needed before the \parenthesize command.
\relative { c''2-\parenthesize -. d c2 \parenthesize r }![]()
To parenthesize a group of notes in a chord, use a parallel music
construct << … >>.
\new Voice \relative c { << { \tweak Parentheses.font-size 0 \parenthesize <ces des> } { \parenthesize ees' } { \tweak Parentheses.font-size -2 \parenthesize <c' e> } >> }![]()
In tablature specify NoteColumn to parenthesize the chord.
\new TabVoice { \override Parentheses.font-size = 0 \parenthesize <f g> \parenthesize NoteColumn <f g> }![]()
This second form of the \parenthesize command involves
a grob path: either \parenthesize ContextName.GrobName
or just \parenthesize GrobName (the latter implying
the bottommost context, typically Voice). This should be
added before the musical moment, like a \once \override.
This form makes it possible to parenthesize grobs that are only
caused indirectly by events.
\new Staff \relative << { \parenthesize NoteHead c'1 } \new CueVoice { s2 \voiceOne \once \override Staff.Parentheses.font-size = 3 \parenthesize Staff.CueClef \cueClef treble e'8 f a g } >>![]()
See also
Snippets: Editorial annotations.
Internals Reference: Parenthesis_engraver, Parentheses, parentheses-interface.
Known issues and warnings
Currently, the font-size property of the Parentheses
grob has to be adjusted manually to obtain correctly sized parentheses
on chords and some other objects.
| [ << Musical notation ] | [Top][Contents][Index] | [ Specialist notation >> ] |
| [ < Brackets for optional material ] | [ Up : Inside the staff ] | [ Stems > ] |
![[image of music]](../20/lily-f8080c58.png)
![[image of music]](../d0/lily-456ab76e.png)
![[image of music]](../99/lily-c51c378a.png)
![[image of music]](../55/lily-ea5b0c44.png)
![[image of music]](../e9/lily-012cea6b.png)