lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Replacing \set stanza with custom verseNumber


From: Tom Dickson
Subject: Re: Replacing \set stanza with custom verseNumber
Date: Fri, 15 May 2009 07:54:32 -0700


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

When I call it I get the verse number on subsequent lines, but the first line has no number. I'll try it again (I'm calling it as such: \verseName "1." )

reply via email to

[Prev in Thread] Current Thread [Next in Thread]