]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/test/hshift.ly
release: 1.5.9
[lilypond.git] / input / test / hshift.ly
index be09c586ab434dd2ae6d494a963a328a1b203609..8bbc1298e4a039cfd67879947d2292fa9e9a07f0 100644 (file)
@@ -1,16 +1,24 @@
+\version "1.3.146"
+
+
+
+
+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
+
 \score { 
   \context Voice \notes\relative c {
     
        \context Staff <
-               \context Voice =VA  {\property Voice.verticalDirection=1 \property Voice.horizontalNoteShift = 0 g'' }
-               \context Voice =VB  {\property Voice.verticalDirection=1 \property Voice.horizontalNoteShift = 1 e }
-               \context Voice =VC  {\property Voice.verticalDirection=1 \property Voice.horizontalNoteShift = 2 c }
-               \context Voice =VD  {\property Voice.verticalDirection=1 \property Voice.horizontalNoteShift = 3 a }
-               \context Voice =VE  {\property Voice.verticalDirection=1 \property Voice.horizontalNoteShift = 4 f }
-       >
-       
-       
-       
+               \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 }
+       >       
   }
   \paper { }  
   \midi { }