[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Define "tweak" function
From: |
Jean Abou Samra |
Subject: |
Re: Define "tweak" function |
Date: |
Sun, 29 Jan 2023 23:49:05 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.0 |
On 29/01/2023 23:45, Ahanu Banerjee wrote:
> How can I define a function that applies one or more tweaks to the object
> that comes after it?
>
> example: I want the following expression to be a function called "\makeRed":
> -\tweak color "red"
>
> so that I can type \makeRed \downbow instead of -\tweak color "red" \downbow
You will find examples here:
https://lilypond.org/doc/v2.24/Documentation/notation/substitution-function-examples
Jean
OpenPGP_signature
Description: OpenPGP digital signature