lilypond-user
[Top][All Lists]
Advanced

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

RE: Markup macro?


From: tiM
Subject: RE: Markup macro?
Date: Tue, 15 Aug 2006 02:06:34 +0200

Hey stewerd,
 
i'm relatively new at lilypond so i dont know how to make functions. But since you've tried to help me. i thought it's not only about taking here.
 
\relative c'{c4-\markup { \finger 2 "-" \finger 3}}
 
gives the output i think you're looking for. Now, how to put this in a function, i wouldn't know. I hope this is of any help.
 
gr. tiM
 
p.s. on intuitive reading, i think the/one problem of your code is that the \finger command only allows you to place numbers (i think). You should look at the output of \finger more as characters than as a real font.


From: address@hidden [mailto:address@hidden On Behalf Of Stewart Holmes
Sent: dinsdag 15 augustus 2006 1:23
To: address@hidden
Subject: Markup macro?

Hi,
 
I'm trying to do something like:
 
fingerSwitch = #(define-music-function (parser location text) (string?)
#{
    \markup { \finger $text }
#})
 
c4-\fingerSwitch
 
but it's not working. I guess that you can't attach scheme code to a note in such a way. Is there a nice neat solution to this? The original problem is that if I use, say:
 
c4-"3-2"
 
the fingering font is not used, so I'm trying to remedy that with the above scheme code.
 
Thanks,
Stewart

reply via email to

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