lilypond-user
[Top][All Lists]
Advanced

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

Re: extra-offset instead of X/Y offset? (was Lowering a mark)


From: Mats Bengtsson
Subject: Re: extra-offset instead of X/Y offset? (was Lowering a mark)
Date: Sun, 18 Feb 2007 20:10:37 +0100
User-agent: Internet Messaging Program (IMP) H3 (4.0.5)

I recommend you to primarily use the padding and staff-padding properties to adjust the vertical position of objects. Then, LilyPond will automatically take the new position of the object into account, for example when calculating the distance to the next stave. If you use extra-offset, the object will be moved after all other typesetting decisions have been made, i.e. nothing else will move (which sometimes is an advantage, but often not).


Regarding the padding of dynamics, the DynamicLineSpanner
object is mentioned under "Commonly tweaked properties" in the section on Dynamics. However, only in connection to the staff-padding property, not the padding property.

Could you please propose more exactly how to modify the
documentation, based on your experience of where you searched
and didn't find it. See http://lilypond.org/web/devel/participating/documentation-adding

  /Mats

Quoting Vivian Barty-Taylor <address@hidden>:

Dear David,

In your case, the reason it didn't work was that you hadn't identified the RehearsalMark correctly. If you look at the page for Mark-engraver it tells you:

Mark_engraver is part of contexts: Score



so unless you tell Lilypond to look in the Score context it isn't going to find any objects named RehearsalMark.

Y-offset is documented as a property of RehearsalMark but doesn't seem
to really be so.

Y-offset is a user-settable property of Score.RehearsalMark - you could have followed my second suggestion. I think the reason that it is reccomended to use extra-offset is that extra-offset is by default set to #'(0 . 0) so that any changes you make will be relative to the X- and Y- offset values that work most of the time. If you decided that you wanted to adjust the default positions of an object for the whole score, then I would suggest using these properties. (Someone can correct me if I'm wrong!)

On another subject, I spent 20 minutes searching for why there is no padding property for DynamicText before finding that the padding is controlled by the DynamicLineSpanner . Could this be slightly more explicitly stated in the documentation, maybe on the pages of the objects controlled by it?

Cheers,

Vivian.







reply via email to

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