2013/8/15 Jethro Van Thuyne <[email protected]>:
> Phil Holmes (15 Aug 2013 @ 19:35)
>
>>>
>>> Is it possible to alias a command with "arguments", e.g. \change Staff =
>>> "upper" to \csu?
>>>
>>> Jethro
>>
>>
>> Have you tried?
>>
>
> I have: csu=#change Staff = "upper"
>
> Parser says:
> error: GUILE signaled an error for the expression beginning here
>
> Jethro
Example:
\version "2.16.2"
csu = \change Staff = "up"
csd = \change Staff = "down"
\new PianoStaff <<
\new Staff = "up" {
<e' c'>8
\csd
g8 fis g
\csu
<g'' c''>8
\csd
e8 dis e
\csu
}
\new Staff = "down" {
\clef bass
% keep staff alive
s1
}
>>
-Harm
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user