lilypond-user
[Top][All Lists]
Advanced

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

Re: Learn from Finale 2014 (seriously)?


From: David Kastrup
Subject: Re: Learn from Finale 2014 (seriously)?
Date: Thu, 14 Nov 2013 17:27:25 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

Johan Vromans <address@hidden> writes:

> David Kastrup <address@hidden> writes:
>
>> rr =
>> #(define-music-function
>>    (parser location dur)
>>    (ly:duration?)
>>    #{ \tweak direction #CENTER r$dur #})
>>
>> would seem saner.
>
> Thanks for the suggestion. I needed
>
>     #{ \tweak #'direction #'CENTER r$dur #})
>
> but it sure looks nice(r).
>
> Do you know how to make the duration optional?

Not worth it.  Optional arguments at the end of the argument list can
only be skipped using \default, and writing
\rr \default
would not really save effort.

-- 
David Kastrup




reply via email to

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