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: Kieren MacMillan
Subject: Re: can the leading \markup command be eliminated in a new markup command?
Date: Tue, 13 Mar 2018 08:08:58 -0400

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? 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.

Thanks,
Kieren.
________________________________

Kieren MacMillan, composer
‣ website: www.kierenmacmillan.info
‣ email: address@hidden




reply via email to

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