On lun, 2001-10-01 at 20:16, Rune Zedeler wrote:
> Den 29-Sep-01 skrev J�r�mie Lumbroso:
>
> [scheme]
> JL> Would you mind writing me one that would replace :
> JL> \slurDown \grace {d8 () s} \slurUp
> JL>
> JL> by :
> JL> \gracen {d}
>
> Well, I would use the c preprocessor for that purpose.
>
> just do
>
> #define gracen(x) \slurDown \grace {x8 () s} \slurBoth
>
> in the start of the program. You then insert your grace as
>
> gracen(d)
>
> notice the missing backslash and the round brackets.
> Ofcourse, then, you have to call the c preprocessor on your ly-file:
>
> instead of
> $ ly2dvi file.ly
> you do
> $ cpp file.ly | ly2dvi >file.dvi
>
> I haven't actually tried this, but it should work.
Great fonction !
But as you describe it, it's don't work... Do you plan to put it in
next realease (something just like \gacen{d}) ? Or must we always use
something like what you discribe here ?
nemo.
--
Olivier Gu�ry [EMAIL PROTECTED]
_______________________________________________
Lilypond-user mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/lilypond-user