lilypond-user
[Top][All Lists]
Advanced

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

Re: Anything similar to to-barline for extender lines of cresc/dim?


From: Mats Bengtsson
Subject: Re: Anything similar to to-barline for extender lines of cresc/dim?
Date: Tue, 10 Oct 2023 23:01:08 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1

On 2023-10-10 18:07, David Kastrup wrote:
Mats Bengtsson <matsboxergrand@gmail.com> writes:

Hi,

Is there anything analogous to Hairpin.to-barline = #t that applies to
the extender line of textual dynamics like \cresc or \dim?

Unfortunately, I don't have a copy of Gould, but to me all the options
I tried below look worse than having an extender line that ends
exactly below the bar line.

\version "2.25.9"

\fixed c' {
<>^"Extending into next bar"
c4 \cresc d e f |
g \f f g a |
g4 \dim f e d |
c \mf  d c b, |
<>^"Especially ugly at line breaks"
c4 \cresc d e f |
g \f f g a |
g4 \dim f e d | \break
c1 \mf |
<>^"Ended (too early) before the bar"
c4 \cresc d e f \! |
g \f f g a |
g4 \dim f e d \! |
c \mf d c b, |
<>^\markup\column{"Still too early" "adjusting bound-details" }
\override DynamicTextSpanner.bound-details.right.attach-dir = #RIGHT
c4 \cresc d e f \! |
g \f f g a |
g4 \dim f e d \! | \break
c1 \mf |

}

Any ideas, or should I file it as a feature request?
Have you tried not "anything like to-barline" but rather _exactly_
to-barline ?

Like

c -\tweak to-barline ##t \cresc

and its ilk?


Silly me! Too obvious to try. Well, in fact I was looking around in the internals manual, but didn't spot that to-barline was listed in the spanner-interface.

   /Mats



reply via email to

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