[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
http://lilypond.org/doc/v2.11/Documentation/user/lilypond/Attached-to-notes#Dynamics
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.
http://lilypond.org/doc/v2.11/Documentation/user/lilypond-internals/DynamicTextSpanner
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
Dynamics.
Developers, please comment!
- Mark