I give you the response that Matt sent to me, because i think applies
well:
If you want to do these more advanced tricks, I'm afraid you have to
learn the basics of the Scheme language and use the Scheme interface
to Lilypond, see
http://lilypond.org/doc/v1.8/Documentation/user/out-www/lilypond-internals/Scheme-functions.html
There are some examples in the "Tips and tricks" and "Regression
tests" documents.
Mats
Look for example the code of molecule-hacking.ly available from the
regression tests page. There is a function.
José Luis
A 06/10/03 08:19:06
Kieren Richard MacMillan <address@hidden> escribió:
Hello, all --
I know you can set up predefined "variables" containing a bunch of
different directives (including notes, tweaks, markings, etc.), but
can you set up "functions" where the "parameters" can be decided at
"runtime"?
For example, can I set up a "tuplet within a quadruplet, with slurs
between notes 2 and 4, a phrasing slur over the whole thing, and a
crescendo on the last two notes" and supply the specific pitches
only when I actually use the "stamp":
\myCoolNoteSetDefinition {bes a c b cis cisis d}
Thanks!
Kieren.
------------------------------------------------------------------------
_______________________________________________
Lilypond-user mailing list
address@hidden
http://mail.gnu.org/mailman/listinfo/lilypond-user