Is it possible in LilyPond to define a command with 2 arguments that will
simply print some text (arg1) a certain distance (arg2) above the staff?  

It would prototyped like this:

myText arg1(string) arg2(number)

And used like this:

a b c^myText #"hello world" #2.0 d e f

I'm beating a dead horse trying to use define-music-function to no end with
the 2.8.5 manual.

Such a command would save me much time in constantly having to enter:

\once \override TextScript #'padding = #2.0 (or whatever)

followed by \markup

I cant be the first person to need such a function.

Thanks for any help.


-- 
View this message in context: 
http://www.nabble.com/defining-a-text-command--tf2173319.html#a6009254
Sent from the Gnu - Lilypond - User forum at Nabble.com.



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

Reply via email to