]> git.donarmstrong.com Git - lilypond.git/blob - input/test/hshift.ly
5812d79831478c5811bb0158943eb22b187a19a6
[lilypond.git] / input / test / hshift.ly
1 \version "2.1.26"
2 \header { texidoc = "@cindex Horizontal Shift
3 Notes may be manually horizontally shifted. " }
4
5 shiftI = \override NoteColumn  #'horizontal-shift = #0
6 shiftII = \override NoteColumn  #'horizontal-shift = #1
7 shiftIII = \override NoteColumn  #'horizontal-shift = #2
8 shiftIV = \override NoteColumn  #'horizontal-shift = #3
9 shiftV = \override NoteColumn  #'horizontal-shift = #4
10
11 \score { 
12   \context Voice \notes\relative c {
13     
14         \context Staff <<
15                 \new Voice  {\stemUp \shiftI g'' }
16                 \new Voice  {\stemUp \shiftII e }
17                 \new Voice  {\stemUp \shiftIII c }
18                 \new Voice  {\stemUp \shiftIV a }
19                 \new Voice  {\stemUp \shiftV f }
20         >>      
21   }
22   \paper { raggedright = ##t }  
23 }
24