Hello !
Maybe...

#(define nextcountstanza
   (let  ((counter 0))
     (lambda ()
       (set! counter (1+ counter))
       (string-append ( number->string counter)"."))))

 \new Lyrics \lyricsto "VoiceOne" { \set stanza = #(nextcountstanza)  \VerseOne 
}
\new Lyrics \lyricsto "VoiceOne" { \set stanza = #(nextcountstanza)  \VerseTwo }






Le samedi 27 janvier 2024 à 11:14:16 UTC+1, Silvain Dupertuis 
<silvain-dupert...@bluewin.ch> a écrit : 







Sorry for my question in French on an English-speaking forum... here is an 
Englsh version


Hello,
Is there a way to automatically repeat the verse numbers on each line 
when it is defined by \set stanza = "1." 
without repeating this instruction within the verse text 
with this structure in the score part, lyrics being defined in variables

\new Lyrics \lyricsto "VoiceOne" { \set stanza = "1." \VerseOne }
\new Lyrics \lyricsto "VoiceOne" { \set stanza = "2." \VerseTwo }
  ...

For a 5-verse song, it's best to repeat these verse numbers!







-- 
Silvain Dupertuis
Route de Lausanne 335
1293 Bellevue (Switzerland)
tél. +41-(0)22-774.20.67
portable +41-(0)79-604.87.52
web: silvain-dupertuis.org





Reply via email to