Putting parentheses around non-note objects: Difference between revisions
Appearance
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: | ||
Various objects may be parenthesized as well as notes: in this example, the articulation mark is printed between parentheses. | Various objects may be parenthesized as well as notes: in this example, the articulation mark is printed between parentheses. | ||
<lilypond version="2.24 | <lilypond version="2.24"> | ||
%% http://lsr.di.unimi.it/LSR/Item?id=421 | %% http://lsr.di.unimi.it/LSR/Item?id=421 | ||
Revision as of 18:56, 16 November 2025
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
}