lilypond-user
[Top][All Lists]
Advanced

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

Re: text in staff


From: Mats Bengtsson
Subject: Re: text in staff
Date: Mon, 22 Aug 2005 09:50:02 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050511

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]