lilypond-user
[Top][All Lists]
Advanced

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

Re: Scheme question on strict substitution


From: Mats Bengtsson
Subject: Re: Scheme question on strict substitution
Date: Thu, 30 Nov 2006 09:26:50 +0100
User-agent: Thunderbird 1.5.0.7 (X11/20060909)



address@hidden 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





reply via email to

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