lilypond-user
[Top][All Lists]
Advanced

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

Re: can the leading \markup command be eliminated in a new markup comman


From: David Kastrup
Subject: Re: can the leading \markup command be eliminated in a new markup command?
Date: Tue, 13 Mar 2018 13:47:54 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

Kieren MacMillan <address@hidden> 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



reply via email to

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