]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/test/hshift.ly
* scripts/convert-ly.py (conv): remove \notes.
[lilypond.git] / input / test / hshift.ly
index 9734295576dc387cde27dde0422ff7b1e9907126..b2d1b1df410735cfe23c920aa2d8979c56176974 100644 (file)
@@ -1,24 +1,23 @@
-#(ly:set-option 'old-relative)
-\version "1.9.0"
+\version "2.3.4"
 \header { texidoc = "@cindex Horizontal Shift
-You can manually shift notes horizontally. " }
+Notes may be manually horizontally shifted. " }
 
-shiftI = \property Voice.NoteColumn \override #'horizontal-shift = #0
-shiftII = \property Voice.NoteColumn \override #'horizontal-shift = #1
-shiftIII = \property Voice.NoteColumn \override #'horizontal-shift = #2
-shiftIV = \property Voice.NoteColumn \override #'horizontal-shift = #3
-shiftV = \property Voice.NoteColumn \override #'horizontal-shift = #4
+shiftI = \override NoteColumn  #'horizontal-shift = #0
+shiftII = \override NoteColumn  #'horizontal-shift = #1
+shiftIII = \override NoteColumn  #'horizontal-shift = #2
+shiftIV = \override NoteColumn  #'horizontal-shift = #3
+shiftV = \override NoteColumn  #'horizontal-shift = #4
 
 \score { 
-  \context Voice \notes\relative c {
+  \context Voice \relative c {
     
-       \context Staff <
-               \context Voice =VA  {\stemUp \shiftI g'' }
-               \context Voice =VB  {\stemUp \shiftII e }
-               \context Voice =VC  {\stemUp \shiftIII c }
-               \context Voice =VD  {\stemUp \shiftIV a }
-               \context Voice =VE  {\stemUp \shiftV f }
-       >       
+       \context Staff <<
+               \new Voice  {\stemUp \shiftI g'' }
+               \new Voice  {\stemUp \shiftII e }
+               \new Voice  {\stemUp \shiftIII c }
+               \new Voice  {\stemUp \shiftIV a }
+               \new Voice  {\stemUp \shiftV f }
+       >>      
   }
   \paper { raggedright = ##t }  
 }