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

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to