Yes, I want to leave the first g4 with no stem. (a specialty with string instruments: If you have to play the same pitch with two different strings simultaneously, there are two identical noteheads with one stem between)

Thank you very much for "\override Slur.details.accidental-collision"! That helps a lot... I checked the details list for Slurs and wondered, if there are any settings, which can provide a better output than attached...
Slurs seem to be very tricky!

musicus

------ Originalnachricht ------
Von: "Trevor Daniels" <t.dani...@treda.co.uk>
An: "musicus" <tomtom-ilm...@web.de>; lilypond-user@gnu.org
Gesendet: 14.06.2015 14:18:48
Betreff: Re: avoid merging stems


musicus wrote Sunday, June 14, 2015 12:16 PM

I'd like to avoid "stem-merging" in measure 13 between the upper g2. and the first lower g4. Additionally I'd like to hide the stem of the first lower g4 in m.13 (should be no problem, if the stems don't merge). I tried a couple of things to achieve this, but unfortunately I don't find it.

I'm not sure what you want to do here - leave a g4 notehead with no stem?

Plus, I have a question about the collision between accidentals and slurs. Is there a way to get the accidentals inside the slurs without shaping each of them? (\override Accidental.avoid-slur = #'inside doesn't help - i guess Standard
 Settings restrict the shaping of slurs to a limit?)

That's probably not the reason, more likely because an accidental is not an
articulation.  (The IR is a little misleading on this point.)

But increasing the demerit for a collision with an accidental seems to help:

\override Slur.details.accidental-collision = 100

Might need to play with the value if avoiding the collision is worse than accepting
it in some of the cases.

Trevor

Attachment: minimal example stem merging_desired.png
Description:

\version "2.19.17"
\language "deutsch"

\relative c {
      \override Slur.details.accidental-collision = 500
      
      |\clef bass \time 3/4 \times 4/6 {g16( g_0 d'_0) d( g, g)}
      \repeat unfold 3 {
            \times 4/6 {g16( g d') d( g, g)}
      }
      \override Fingering.outside-staff-priority = 1000
      \times 4/6 { g(^0 b' a)^0 a( b g,)} \times 4/6 {g( c' a) a( c g,)}
      | \time 2/4 \times 4/6 {g( cis' a) a( cis g,)} \times 4/6 {g( d'' b') b( d, g,,)}
      \repeat unfold 2 {
            \times 4/6 {des( as' f') f( as, des,)}
      }
}
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to