Am 30.06.2016 um 22:37 schrieb Br. Gabriel-Marie | SSPX:
\new Lyrics \verseNumber #1

This would have to be \new Lyrics \with { \verseNumber 1 } or, easier to type, \lyricsWithVerseNumber 1 like in the code below:

%%%%

\version "2.18.2"

lyricsWithVerseNumber =
#(define-music-function
  (parser location number music)
  (number? ly:music?)
  #{
    \new Lyrics \with {
      instrumentName =
      #(string-append (number->string number) ".")
      shortInstrumentName =
      #(string-append (number->string number) ".")
    }
    $music
  #})

\lyricsWithVerseNumber 7
\lyricmode { \repeat unfold 40 foo }

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to