lilypond-user
[Top][All Lists]
Advanced

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

Re: defining a text command?


From: Rick Hansen (aka RickH)
Subject: Re: defining a text command?
Date: Sun, 27 Aug 2006 10:59:46 -0700 (PDT)

oops I meant used like this:

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



Rick Hansen (aka RickH) wrote:
> 
> 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#a6009261
Sent from the Gnu - Lilypond - User forum at Nabble.com.





reply via email to

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