lilypond-user
[Top][All Lists]
Advanced

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

Re: Shorten hairpin


From: Stephen MacNeil
Subject: Re: Shorten hairpin
Date: Thu, 19 Mar 2015 15:05:16 -0400

Yes it was a hack, however this might look better and in a dynamics part it should work

stephen

<<

\relative c'' { <b c>8 q q q }

\new Dynamics {

\once \override Hairpin.X-offset = #1.35

% \override Hairpin.after-line-breaking = #shorten-hairpin

s4.*89/90\< s\!

}

>>



On Thu, Mar 19, 2015 at 2:51 PM, Noeck <address@hidden> wrote:
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


reply via email to

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