X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Fsnippets%2Fcross-staff-chords---beaming-problems-workaround.ly;h=cb4ec966af60d2cecfad24d90c23f89aad0071df;hb=13da8b27aabc5d5a752d00ed1e2b99ad20f0f264;hp=1c3817bbf25bcd1a63b54b772c55aa57c476aad3;hpb=516cae503bc2b55e95604b0c0f681a6ccddcfab2;p=lilypond.git diff --git a/Documentation/snippets/cross-staff-chords---beaming-problems-workaround.ly b/Documentation/snippets/cross-staff-chords---beaming-problems-workaround.ly index 1c3817bbf2..cb4ec966af 100644 --- a/Documentation/snippets/cross-staff-chords---beaming-problems-workaround.ly +++ b/Documentation/snippets/cross-staff-chords---beaming-problems-workaround.ly @@ -4,7 +4,7 @@ %% and then run scripts/auxiliar/makelsr.py %% %% This file is in the public domain. -\version "2.16.0" +\version "2.17.6" \header { lsrtags = "chords, keyboards, tweaks-and-overrides, workaround" @@ -15,7 +15,7 @@ cross-staff chords, because no problems with automatic beam collision avoidance then arise. If the stems from the lower staff were used in the following example, it would be necessary to change the automatic beam collision avoidance settings so that it doesn't detect collisions -between staves using @code{\\override Staff.Beam #'collision-voice-only +between staves using @code{\\override Staff.Beam.collision-voice-only = ##t} " @@ -28,17 +28,17 @@ between staves using @code{\\override Staff.Beam #'collision-voice-only \relative c' { << { r4 - \override Stem #'cross-staff = ##t - \override Stem #'length = #19 % this is in half-spaces, + \override Stem.cross-staff = ##t + \override Stem.length = #19 % this is in half-spaces, % so it makes stems 9.5 staffspaces long - \override Stem #'Y-offset = #-6 % stems are normally lengthened + \override Stem.Y-offset = #-6 % stems are normally lengthened % upwards, so here we must lower the stem by the amount % equal to the lengthening - in this case (19 - 7) / 2 % (7 is default stem length) e e e } { s4 \change Staff = "bottom" - \override NoteColumn #'ignore-collision = ##t + \override NoteColumn.ignore-collision = ##t c, c c } >>