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 <noeck.marb...@gmx.de> 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
>
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to