]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/test/force-hshift.ly
* scripts/convert-ly.py (FatalConversionError.figures_replace):
[lilypond.git] / input / test / force-hshift.ly
index 097ddc3812f55d56b40a1d66b436aeff80887682..f1797ca317ff165af901be905a5682ed04005c09 100644 (file)
@@ -1,26 +1,23 @@
-\version "1.3.96";
+
+\version "1.9.4"
+\header {
+    texidoc="@cindex Force hshift
+Force hshift to override collisions. " }
+
 \score { 
-  \context Voice \notes\relative c {
-    
-       \context Staff <
-               \context Voice = VA {
-                       \property Voice.forceHorizontalShift = #0.1
-                       \stemUp
-                       \property Voice.horizontalNoteShift=1
-                       <g' d'>
-               }       
-       
-               \context Voice = VB {
-                       \stemDown
-                       \property Voice.horizontalNoteShift=1
-                       \property Voice.forceHorizontalShift = #-0.1
-                       <bes f'>
+     \notes\relative c'
+       \context Staff << {
+                       <d g>
+                       <d g>
+               } \\ {
+                       <b f'>
+\once \property Voice.NoteColumn
+  \override #'force-hshift = #1.7
+                       <b f'>
                }
-       >
-       
-  }
+       >> 
   \paper {
-    linewidth=-1.0;
+    raggedright = ##t
   }  
-  \midi { }
 }
+