lilypond-user
[Top][All Lists]
Advanced

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

Re: How to add text?


From: Carter Brey
Subject: Re: How to add text?
Date: Fri, 03 Jan 2003 23:02:41 -0500
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020830

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







reply via email to

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