lilypond-user
[Top][All Lists]
Advanced

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

Re: Increase distance from staff for dynamics


From: Simon Albrecht
Subject: Re: Increase distance from staff for dynamics
Date: Sun, 11 Sep 2016 11:31:28 +0200

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/tweaking-basics> and <http://lilypond.org/doc/v2.18/Documentation/notation/the-override-command>.

Best, Simon



reply via email to

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