[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Shorten hairpin
From: |
Noeck |
Subject: |
Re: Shorten hairpin |
Date: |
Thu, 19 Mar 2015 19:51:02 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 |
Dear Kieren, David and Stephen,
thanks for your answers! Stephen’s hack with a white box is not suitable
for my packed layout here.
The shorten-hairpin function does exactly what I want in this simple
example. In my real score, I have a separate Dynamics context and this
makes your function having no effect – probably because the notes are
not accessible by the function.
<<
\relative c'' { <b c>8 q q q }
\new Dynamics {
\override Hairpin.after-line-breaking = #shorten-hairpin
s4.\< s\!
}
>>
I am surprised that not even the length can be specified manually (as
there is min-length already). A combination of length and offset would do.
@David: Of course it would be nice to have an adapted version of your
function that handles the different contexts. But considering the
complexity of the function you already provided, I have to say: Please
do not spend too much time on it. It is not super urgent for me.
Cheers,
Joram