]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/snippets/cross-staff-chords---beaming-problems-workaround.ly
LSR Updates
[lilypond.git] / Documentation / snippets / cross-staff-chords---beaming-problems-workaround.ly
index 3385bf5b73bd826ec2d58d0efcd554691a5c1242..60441e059155041a53b3a3bf88b131c97df57c43 100644 (file)
@@ -4,23 +4,10 @@
 %% and then run scripts/auxiliar/makelsr.py
 %%
 %% This file is in the public domain.
-\version "2.14.2"
+\version "2.17.27"
 
 \header {
-  lsrtags = "tweaks-and-overrides, workaround, chords, keyboards"
-
-%% Translation of GIT committish: 1cda7b7b8219cb97399b8e7b56c1115aaf82c002
-  texidocfr = "
-Il est parfois préférable d'utiliser les hampes de la portée supérieure
-pour créer des accords distribués, afin d'éviter tout risque de
-collision au niveau des ligatures automatiques.  Dans l'exemple suivant,
-le fait de partir des hampes de la portée inférieure aurait rendu
-nécessaire l'adaptation du détecteur de collision des ligatures, par une
-clause @code{\\override Staff.Beam #'collision-voice-only = ##t}, afin
-qu'il ne tienne pas compte des collisions entre portées.
-
-"
-  doctitlefr = "Accord distribué et problème de hampe - solution"
+  lsrtags = "chords, keyboards, tweaks-and-overrides, workaround"
 
   texidoc = "
 Sometimes it is better to use stems from the upper staff for creating
@@ -28,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}
 
 "
@@ -41,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
         }
       >>