]> git.donarmstrong.com Git - lilypond.git/blob - input/test/hshift.ly
Imported sources
[lilypond.git] / input / test / hshift.ly
1 \version "2.1.7"
2 \header { texidoc = "@cindex Horizontal Shift
3 You can manually shift notes horizontally. " }
4
5 shiftI = \property Voice.NoteColumn \override #'horizontal-shift = #0
6 shiftII = \property Voice.NoteColumn \override #'horizontal-shift = #1
7 shiftIII = \property Voice.NoteColumn \override #'horizontal-shift = #2
8 shiftIV = \property Voice.NoteColumn \override #'horizontal-shift = #3
9 shiftV = \property Voice.NoteColumn \override #'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