|
From: | Aaron Hill |
Subject: | Re: Command Alises |
Date: | Fri, 03 Feb 2023 07:42:46 -0800 |
On 2023-02-03 7:27 am, Paulo Matos wrote:
Hi, I would like to define command aliases for \SustainOn, \SustainOff and the combination \SustainOn\SustainOff and tried the obvious: pup = \SustainOn pdown = \SustainOff ... This didn't work. I guess I miss an understanding on how these things interact with each other. What's the correct way to define aliases and shortcuts for sequences of commands?
Firstly, was that a typo in your email? The comamnds are \sustain... with a lowercase 's'.
But I think this should work: %%%% \version "2.22.0" pup = -\sustainOn pdown = -\sustainOff pupdown = -\sustainOn \sustainOff { b'4\pup 2 4\pupdown 2. 4\pdown } %%%% -- Aaron Hill
[Prev in Thread] | Current Thread | [Next in Thread] |