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: -Eluze
Subject: Re: Replacing \set stanza with custom verseNumber
Date: Fri, 15 May 2009 05:26:00 -0700 (PDT)


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.





reply via email to

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