Kieren MacMillan <kieren_macmil...@sympatico.ca> writes:

> Hi David,
>
>> %%%  SNIPPET BEGINS
>> \version "2.19.80"
>> 
>> cue =
>> #(define-event-function (text) (markup?)
>>  #{ ^\markup \bold #text #})
>> 
>> { c''\cue "This is the cue." }
>> %%%  SNIPPET ENDS
>> 
>> If you don't want to bake the direction in, use - instead of ^ .
>
> Thanks for that!
>
> Is there any technical reason not to make *every* markup function work
> like this?

There are markup commands and event functions and they are in different
name spaces.

> It seems like a no-brainer to save the keystrokes every time… but it
>  may not be "blessed" for some reason I don’t know.

We don't prescripe how people are going to use markups.

-- 
David Kastrup

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to