4 texidoc = "Whether simultaneous notes are identified as
5 vertically colliding or not depends on the value of the
6 @code{note-collision-threshold} property of the @code{Stem}
7 grob (for notes in the same voice) and the @code{NoteCollision}
8 grob (for notes in different voices)."
12 \new Voice \relative {
14 <c' d>4 <d e> <f g> <g a>
18 \new Voice \relative {
25 customizations = \with {
26 staffLineLayoutFunction = #ly:pitch-semitones
27 \override StaffSymbol.staff-space = #0.7
28 \override StaffSymbol.line-positions = #'(-4 0 4)
39 \markup "collisions prevented"
43 \override Stem.note-collision-threshold = #2
44 \override NoteCollision.note-collision-threshold = #2