lilypond-user
[
Top
][
All Lists
]
Advanced
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date Index
][
Thread Index
]
How to use ^\markup in a scheme function?
From
:
Frédéric Chiasson
Subject
:
How to use ^\markup in a scheme function?
Date
:
Fri, 15 Dec 2006 03:32:56 -0500
Hi,
I tried to program a function to put a slash at a given offset on a note, but the line with the ^\markup doesn't work.
Here is the code :
Slash = #(define-music-function (parser location xy note)
(pair? ly:music?)
#{
\once \override TextScript #'extra-offset = #$xy
$note ^\markup{\musicglyph #"flags.ugrace"}
#})
\version " 2.11.1"
\relative {
\Slash #'(1.1 . -3.2) c4
}
Here are the errors :
<string>:3:45: ERREUR : syntax error, unexpected '^'
\lilyvartmpd
^\markup{\musicglyph #" flags.ugrace"}
<string>:3:54: ERREUR : cha^ine d''echappement inconnue (Unknown escape string): << \musicglyph >>
\lilyvartmpd ^\markup{
\musicglyph #" flags.ugrace"}
Thanks,
Frédéric
reply via email to
[Prev in Thread]
Current Thread
[
Next in Thread
]
How to use ^\markup in a scheme function?
,
Frédéric Chiasson
<=
Re: How to use ^\markup in a scheme function?
,
Mats Bengtsson
,
2006/12/15
Message not available
Message not available
Fwd: How to use ^markup in a scheme function?
,
Frédéric Chiasson
,
2006/12/15
Message not available
Message not available
Re: How to use ^markup in a scheme function?
,
Frédéric Chiasson
,
2006/12/15
Re: How to use ^markup in a scheme function?
,
Erik Sandberg
,
2006/12/16
Re: How to use ^markup in a scheme function?
,
Frédéric Chiasson
,
2006/12/16
Re: How to use ^markup in a scheme function?
,
Erik Sandberg
,
2006/12/17
Prev by Date:
Re: Lilypond API
Next by Date:
Re: How to use ^\markup in a scheme function?
Previous by thread:
midi2ly problems
Next by thread:
Re: How to use ^\markup in a scheme function?
Index(es):
Date
Thread