[EMAIL PROTECTED] wrote:
Hello,

It may help your understanding to know
that \tweak itself is implemented as a music function taking 3 arguments.

The syntax of \tweak is
\tweak symbol value music_expression

OK, thank you, that's very clear.  That fact, for any given keyword,
would tell a user immediately whether (s)he could just write a macro or
would be forced to define a function for some expression involving the
keyword.

Is the information
   (1) number of arguments
or preferably
   (2) the syntax
documented explicitly anywhere for all keywords?
As already said, this is not available in the current manual and one problem is that this would still just tell a small part of the full syntax. Another problem is that the rule I gave really was too simple. For example, you cannot say ^"some text" in a .ly file
without having a not in front of it, still you can define a macro
mytext = ^"some text"
and then use it as c \mytext


  /Mats



_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to