Dear Mats and others,

I would suggest putting a note on the backend pages of the Program Reference. 
It seemed such a logical thing to just do \once \override DynamicText #'padding 
= #4 that I didn't even check if that was possible. (I then remembered that the 
last time I had tried this and it hadn't worked I had just used 
#'extra-offset.) Then I noticed it hadn't worked  and started trying to work 
out why. When I looked at:

http://lilypond.org/doc/v2.10/Documentation/user/lilypond-internals/DynamicText#DynamicText

I noticed there wasn't a padding property listed (which seemed
 odd). After a search on the lilypond-user archives I found that the padding is 
controlled by the DynamicLineSpanner for DynamicText, Hairpin and 
DynamicTextSpanner objects.

I would suggest putting a link on the DynamicText page to the 
DynamicLineSpanner page
http://lilypond.org/doc/v2.10/Documentation/user/lilypond-internals/DynamicLineSpanner#DynamicLineSpanner

with a note to say that padding for DynamicText objects is controlled by the 
padding of the DynamicLineSpanner.

On a seperate point, could you (or someone else) explain to me what the 
DynamicTextSpanner is? I've never used it, and can't find how to create one 
(unless this is the text option for Hairpins as documented.)

Cheers,
Vivian.

----- Original
 Message ----
From: Mats Bengtsson <[EMAIL PROTECTED]>
To: Vivian Barty-Taylor <[EMAIL PROTECTED]>
Cc: Michael David Crawford <[EMAIL PROTECTED]>; lilypond-user@gnu.org
Sent: Sunday, 18 February, 2007 8:10:37 PM
Subject: Re: extra-offset instead of X/Y offset? (was Lowering a mark)

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 <[EMAIL PROTECTED]>:

> 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.
>









                 
New Yahoo! Mail is the ultimate force in competitive emailing. Find out more at 
the Yahoo! Mail Championships. Plus: play games and win prizes.





        
        
                
___________________________________________________________ 
New Yahoo! Mail is the ultimate force in competitive emailing. Find out more at 
the Yahoo! Mail Championships. Plus: play games and win prizes. 
http://uk.rd.yahoo.com/evt=44106/*http://mail.yahoo.net/uk 
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to