Hello folks,
I’ve always used \alternative with a list of bracketed elements, and just found
that example in the Notation Reference:
\version "2.19.44"
forget = #(define-music-function (music) (ly:music?) #{
\accidentalStyle forget
#music
\accidentalStyle modern
#})
{
\accidentalStyle modern
\time 2/4
\repeat volta 2 {
c'2
}
\alternative {
cis'
\forget c'
}
}
% to be compared with this:
{
\accidentalStyle modern
\time 2/4
\repeat volta 2 {
c'2
}
\alternative {
{
cis'
\forget c'
}
}
}
I’m afraid I didn’t read the doc well enough…
JM
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user