Hey Graham, > Oh, come on. There's only n! different combinations of those things!
=) > PS: I have no maoing clue why this works, but it does. Thanks for the answer... as well as the honesty! To save others the trouble, I've wrapped this in a function — I've included it as a snippet below. Cheers, Kieren. ____________________ \version "2.12.2" voltaCustom = #(define-music-function (parser location repMarkupA repMusicA repMarkupB repMusicB) (markup? ly:music? markup? ly:music?) #{ \set Score.repeatCommands = #(list (list 'volta $repMarkupA) 'start-repeat) $repMusicA \set Score.repeatCommands = #(list '(volta #f) (list 'volta $repMarkupB) 'end-repeat) $repMusicB \set Score.repeatCommands = #'((volta #f)) #}) snippetMusic = \relative { \voltaCustom \markup \text \italic { "first time:" } { c4 d e f g1 } \markup \text \italic { "last time:" } { g4 f e d c1 } } \score { \snippetMusic }
_______________________________________________ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user