]> git.donarmstrong.com Git - lilypond.git/commitdiff
Doc: show permitted collisions with cross-staff beams
authork-ohara5a5a@oco.net <k-ohara5a5a@oco.net>
Wed, 29 Dec 2010 11:29:04 +0000 (11:29 +0000)
committerTrevor Daniels <t.daniels@treda.co.uk>
Wed, 29 Dec 2010 11:33:23 +0000 (11:33 +0000)
Documentation/notation/keyboards.itely

index c93abe76b0b7a2141b2478537090f4d31ae03d00..11acf92a1270fe1fcacb5fd9e26c800b170f8c07 100644 (file)
@@ -195,6 +195,39 @@ center of the staff that is closest to the beam.  For a simple
 example of beam tweaking, see @rlearning{Fixing overlapping
 notation}.
 
+@cindex cross-staff collisions
+@cindex collisions, cross-staff voices
+
+Overlapping notation can result when voices cross staves:
+
+@lilypond[verbatim,quote]
+\new PianoStaff <<
+  \new Staff = "up" {
+    \voiceOne
+    % Make space for fingering in the cross-staff voice
+    \once\override DynamicLineSpanner #'staff-padding = #3.4
+    e''2\p\< d''\> s1*0\!
+  }
+  \new Staff = "down" <<
+    {
+      \clef bass
+      s4. e,8\rest g,2\rest
+    } \\ {
+      c8\( g c'
+      \change Staff = "up"
+      e' g' b'-3 a' g'\)
+    }
+  >>
+>>
+@end lilypond
+
+The stem and slur overlap the intervening line of dynamics
+because automatic collision resolution is suspended for beams, slurs
+and other spanners that connect notes on different staves,
+as well as for stems and articulations if their placement is
+affected by a cross-staff spanner.
+The resulting collisions must be resolved manually, where necessary,
+using the methods in @rlearning{Fixing overlapping notation}.
 
 @seealso
 Learning Manual: