|
From: | B~M |
Subject: | Re: Increase distance from staff for dynamics |
Date: | Sun, 11 Sep 2016 19:34:57 +1000 |
On 11.09.2016 02:19, B~M wrote:
Simon is there a similar command which fixes the padding for text spanners, or does the command you posted do that anyway ?
Of course there is a similar command, but the one I posted is an override for DynamicLineSpanner, which is a meta-grob taking care of vertical alignment of dynamics in a staff. Text spanners are – TextSpanner grobs (wow!), so you have to override their padding.
\version "2.18.2"
{
\override TextSpanner.padding = 5
c'1-\tweak bound-details.left.text "test" \startTextSpan
c'1\stopTextSpan
}
See <http://lilypond.org/doc/v2.18/Documentation/learning/tweaki > and <http://lilypond.org/doc/v2.18ng-basics /Documentation/notation/the-ov >.erride-command
Best, Simon
[Prev in Thread] | Current Thread | [Next in Thread] |