[Top][All Lists]

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

Re: Creating new operators

From: Urs Liska
Subject: Re: Creating new operators
Date: Sun, 18 May 2014 16:40:19 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.5.0

Am 18.05.2014 16:32, schrieb David Kastrup:
Philippe Baril Lecavalier <address@hidden> writes:

Dear list,

After much search, I finally found the "\repeat unfold N", but is it
possible with scheme to create new operators, to abbreviate things?


So for
simplicity, could one create a new operator through scheme, like "**"?
Example of what I mean:

     {c8 g e g} ** 6
would amount to:
     \repeat unfold 6 {c8 g e g}

No.  The closest you can probably get is

But that requires a fairly recent variant of LilyPond (2.17.25 or later).

Fair enough. And writing \* is not much more than **.
And 2.17.25 is still earlier than 2.18, so that should be generally OK too.


reply via email to

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