Am 31.12.18 um 09:03 schrieb Andrew Bernard:
Hi Malte,

This is good. And thank you. But I need control over the flares over a line break. I really don't know what to do.

I suppose this has to be coded in Scheme. I know Scheme well, but I don't understand this level of seemingly undocumented internal machinery, the whole business of broken objects.

Andrew

Hm … I thought Hairpins were done in Scheme completely and simple-hairpin using elbowed-hairpin was the default stencil. The default stencil makes two different hairpins at linebreaks (the first doesn’t grow to full height, the second starts with a gap):

{
  <>\< \repeat unfold 8 c'8 \break
  \repeat unfold 8 c'8
  1\< <>\!
}

But I was wrong,

#(define simple-hairpin
   (elbowed-hairpin '((0 . 0)(1.0 . 1.0)) #t))

is *not* the default and prints two similar hairpins at a break:

{
  \override Hairpin.stencil = #(elbowed-hairpin '((0 . 0)(1.0 . 1.0)) #t)
  <>\< \repeat unfold 8 c'8 \break
  \repeat unfold 8 c'8
  1\< <>\!
}

So all the linebreak cleverness seems to be done at C++ level …

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to