Cross-staff arpeggio brackets: Difference between revisions
Appearance
No edit summary |
m New category |
||
| Line 22: | Line 22: | ||
[[Category:Simultaneous notes]] | [[Category:Simultaneous notes]] | ||
[[Category:Tweaks and overrides]] | [[Category:Tweaks and overrides]] | ||
[[Category:Workaround]][[Category:Snippet]] | [[Category:Workaround]] | ||
[[Category:Snippet]] | |||
Latest revision as of 23:19, 21 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
}
>>
}