release commit
[lilypond.git] / input / test / hshift.ly
blob467f400fe302276eec199bf64f98361678f3c7c6
1 #(ly:set-option 'old-relative)
2 \version "2.1.7"
3 \header { texidoc = "@cindex Horizontal Shift
4 You can manually shift notes horizontally. " }
6 shiftI = \property Voice.NoteColumn \override #'horizontal-shift = #0
7 shiftII = \property Voice.NoteColumn \override #'horizontal-shift = #1
8 shiftIII = \property Voice.NoteColumn \override #'horizontal-shift = #2
9 shiftIV = \property Voice.NoteColumn \override #'horizontal-shift = #3
10 shiftV = \property Voice.NoteColumn \override #'horizontal-shift = #4
12 \score {
13 \context Voice \notes\relative c {
15 \context Staff <<
16 \new Voice {\stemUp \shiftI g'' }
17 \new Voice {\stemUp \shiftII e }
18 \new Voice {\stemUp \shiftIII c }
19 \new Voice {\stemUp \shiftIV a }
20 \new Voice {\stemUp \shiftV f }
21 >>
23 \paper { raggedright = ##t }