[Top][All Lists]

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

Re: spanner padding

From: Mark Polesky
Subject: Re: spanner padding
Date: Fri, 7 Nov 2008 00:48:48 -0800 (PST)

So, if I want 2 units of padding between the "cresc."
and the spanner-line, first I need to set:

\override DynamicTextSpanner
   #'bound-details #'left #'padding = #2

which moves both text and spanner-line 2 units to the 
right. Then I need to move just the text back 2 units 
to the left by setting:

\override DynamicTextSpanner
   #'bound-details #'left #'stencil-offset = #'(-2 . -0.5)


I have 3 comments on all of this...

1.) this should be mentioned in the docs
    in a snippet I assume, since it uses \override

2.) The default settings for bound-details must be wrong.
    Can someone double-check them? Shouldn't the X-value 
    for (left) stencil-offset be set to the same value as 
    (left) padding? Every "cresc." I see in LilyPond is 
    strangely shifted 0.5 units to the right. This can't 
    be correct. I like the 0.75 value of right padding; I 
    propose 0.75 for left padding and (0.75 . -0.5) for 
    left stencil-offset.


   bound-details (list):

   '((right (attach-dir . -1) (Y . 0) (padding . 0.75))
     (right-broken (attach-dir . 1) (padding . 0.0))
     (left (attach-dir . -1) (Y . 0) (stencil-offset 0 . -0.5) (padding . 0.5))
     (left-broken (attach-dir . 1))) 

3.) DynamicTextSpanner should be added to the "Internals
    Reference" list in the "See also" section of NR 1.3.1 

Developers, please comment!

- Mark


reply via email to

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