bug-lilypond
[Top][All Lists]
Advanced

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

Re: Documentation clarification?


From: Nicolas Sceaux
Subject: Re: Documentation clarification?
Date: Sun, 19 Mar 2006 11:51:23 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (darwin)

Graham Percival <address@hidden> writes:

> On 18-Mar-06, at 1:28 PM, Geoff Horton wrote:
>
>>> \tag takes two arguments: a Scheme symbol (the #'withSlur) and a music
>>> expression (the \override expression in the example).
>
> Thanks, fixed in CVS.

If in doubt about the syntax of a music expression, take a look at
ly/music-functions-init.ly : 

  tag = 
  #(define-music-function (parser location tag arg) (symbol? ly:music?)
     "Add @var{tag} to the @code{tags} property of @var{arg}."

the (symbol? ly:music?) part tells you the number and type of
arguments. Also check the argument names (here: tag and arg). When they
are well chosen, they should be self explaining.

nicolas




reply via email to

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