Cross-staff arpeggio brackets: Difference between revisions
Appearance
m Remove LSR link |
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: | ||
By default, the arpeggioBracket shortcut only works at a Voice level. As a consequence, if you need to print cross-staff arpeggios, it will not work (as demonstrated in the first measure of this example); here is a way to make it work (demonstrated in the second measure). | By default, the arpeggioBracket shortcut only works at a Voice level. As a consequence, if you need to print cross-staff arpeggios, it will not work (as demonstrated in the first measure of this example); here is a way to make it work (demonstrated in the second measure). | ||
<lilypond version="2.24 | <lilypond version="2.24"> | ||
csBracket = \override PianoStaff.Arpeggio.stencil = #ly:arpeggio::brew-chord-bracket | csBracket = \override PianoStaff.Arpeggio.stencil = #ly:arpeggio::brew-chord-bracket | ||
Revision as of 18:52, 16 November 2025
By default, the arpeggioBracket shortcut only works at a Voice level. As a consequence, if you need to print cross-staff arpeggios, it will not work (as demonstrated in the first measure of this example); here is a way to make it work (demonstrated in the second measure).
\version "2.24"
csBracket = \override PianoStaff.Arpeggio.stencil = #ly:arpeggio::brew-chord-bracket
\score{
\new PianoStaff \with { connectArpeggios = ##t } <<
\new Staff {
\arpeggioBracket c''1\arpeggio
\csBracket c'' \arpeggio
}
\new Staff {
\arpeggioBracket c'1 \arpeggio
\csBracket c' \arpeggio
}
>>
}