Tom Dickson-3 wrote: > > It doesn't work correctly - it appears Scheme doesn't like the second > use of the variable? > > verseNumber = #(define-music-function (parser location markp) (string?) > #{ > \set vocalName = $markp > \set shortVocalName = $markp > \override InstrumentName #'X-offset = #2 > \override InstrumentName #'font-series = #'bold > #}) > > is what I'm trying - > > for me it works when i call it like
{ \context Staff { << \clef "G_8" \context Voice="mel" { c d e f g a b c } \context Lyrics \lyricsto "mel" { \verseNumber #"xy" do re mi fa so la ti do } >> } } -- View this message in context: http://www.nabble.com/Replacing-%5Cset-stanza-with-custom-verseNumber-tp23553190p23558767.html Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com. _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user