]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/test/hshift.ly
*** empty log message ***
[lilypond.git] / input / test / hshift.ly
index 8bbc1298e4a039cfd67879947d2292fa9e9a07f0..87ef5ba455259e0248f618ad545d7367d11963e0 100644 (file)
@@ -1,7 +1,6 @@
-\version "1.3.146"
-
-
-
+\version "2.1.7"
+\header { texidoc = "@cindex Horizontal Shift
+You can manually shift notes horizontally. " }
 
 shiftI = \property Voice.NoteColumn \override #'horizontal-shift = #0
 shiftII = \property Voice.NoteColumn \override #'horizontal-shift = #1
@@ -12,14 +11,14 @@ shiftV = \property Voice.NoteColumn \override #'horizontal-shift = #4
 \score { 
   \context Voice \notes\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 { }  
-  \midi { }
+  \paper { raggedright = ##t }  
 }
+