lilypond-user
[Top][All Lists]
Advanced

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

Re: `\textLengthOn` for `TextSpanner` grobs


From: Jean Abou Samra
Subject: Re: `\textLengthOn` for `TextSpanner` grobs
Date: Sun, 28 Nov 2021 11:56:40 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.3.1

Le 28/11/2021 à 11:52, Werner LEMBERG a écrit :
Folks,


please have a look at this example

```
{
   \set Score.skipBars = ##t
   \override TextSpanner.bound-details.left.text = "poco a poco tempo I"
   \override TextSpanner.bound-details.right.text = "Tempo I"
   R1*4\startTextSpan |
   R1\stopTextSpan
}
```

What is the equivalent of `\textLengthOn` for `TextSpanner` grobs so
that the multi-measure rest gets properly stretched horizontally?


     Werner



Use

  \override TextSpanner.minimum-length = 30
  \override TextSpanner.springs-and-rods = #ly:spanner::set-spacing-rods

documented at
https://lilypond.org/doc/v2.22/Documentation/notation/spanners#using-the-spanner_002dinterface

Best,
Jean




reply via email to

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