lilypond-user
[Top][All Lists]
Advanced

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

Re: text in staff


From: lfanele
Subject: Re: text in staff
Date: Mon, 22 Aug 2005 14:23:19 +0200

thanks everybody,
the #'extra-offset command worked fine for me.
stephen


Am 22.08.2005 um 09:50 schrieb Mats Bengtsson:

If you want to move something vertically, it's almost always better to
use the padding property instead of extra-offset. The reason is that
if you set padding, then LilyPond will realize that you have moved
something and migh for example add some extra spacing between the
staves to avoid that your moved text collides with the stave above.
If you use extra-offset, then LilyPond will not adjust the layout
of anything else. See the section "9.2.1 Common tweaks" for examples
of how to set the padding property.

    /Mats

Kris Shaffer wrote:

The markup command is the correct way to do it, but instead of \lower, use the "extra-offset" property. For example,
    \once \override TextScript #'extra-offset = #'(0 . -10)
    c4^"markup"
will create a quarter note C, place the word "markup" above the staff, and the extra-offset will shift it 0 staff spaces horizontally and 10 staff spaces down.


--
=============================================
    Mats Bengtsson
    Signal Processing
    Signals, Sensors and Systems
    Royal Institute of Technology
    SE-100 44  STOCKHOLM
    Sweden
    Phone: (+46) 8 790 8463
        Fax:   (+46) 8 790 7260
    Email: address@hidden
    WWW: http://www.s3.kth.se/~mabe
=============================================






reply via email to

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