multiVerseSkips and alt functions

This commit is contained in:
tux 2024-11-03 17:29:00 +01:00
parent 88f0dc9f8f
commit 754682afcf

View File

@ -158,4 +158,12 @@ rightHyphen = \lyricmode {
leftHyphen = \lyricmode {
\once \override StanzaNumber.font-series = #'normal
\set stanza = "-"
}
}
multiVerseSkips =
#(define-music-function (parser location skips) (number?)
#{ \tag #'multiVerse { \repeat unfold #skips { \skip4 } } #})
alt =
#(define-music-function (parser location a b) (ly:music? ly:music?)
#{ \tag #'firstVerse { #a } \tag #'multiVerse { #b } #})