[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
defining a text command?
From: |
Rick Hansen (aka RickH) |
Subject: |
defining a text command? |
Date: |
Sun, 27 Aug 2006 10:58:49 -0700 (PDT) |
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.
- defining a text command?,
Rick Hansen (aka RickH) <=