Cross-staff arpeggio brackets
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.0"
%% http://lsr.di.unimi.it/LSR/Item?id=470
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
}
>>
}