multiVerseSkips and alt functions

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

View File

@ -159,3 +159,11 @@ 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 } #})