Stanislav Kogan wrote:

Hi

I have a question: What is the best way to add text above the notes?
Right now I'm using the ^# command like this for example:

mi4^#`(Large "Allegro non troppo")

But this comes out messed up very frequently, especially if there are
slurs under the text - the text goes over the slurs. Can I control the
vertical location of the text somehow?

Best regards,

I use two ways to do this, depending on my mood or level of impatience.

Method 1: \property Voice.TextScript \override #'extra-offset = #'(x . y)
The variable x represents the horizontal axis (shifting the text left
or right) and the variable y represents the vertical, or up-down axis.
They can be positive or negative numbers, and can also be fractions
(0.5, 1, 1.5, 2, 2.5, etc). Positive x values move the text right;
positive y values move the text up. Experiment to see what works best.
The one you don't need to change should be set at 0. Remember to reset
the values afterward with \property Voice.TextScript \revert #'extra-offset.

Method 2: Just add as many blank placeholders as you need:
mi4^""^""^#'(Large "Allegro con cattivo gusto e tanti urli bestiali")

Hope this helps,

Cheers,
Carter





_______________________________________________
Lilypond-user mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/lilypond-user


Reply via email to