]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/finger-chords.ly
* lily/new-fingering-engraver.cc (position_scripts): take priority
[lilypond.git] / input / regression / finger-chords.ly
index c6b0e85be4ed31d742b1a72d3331b98f35b51ebf..cc33d02bac7fd9727a053bcad12742af79c1f0f8 100644 (file)
@@ -1,34 +1,38 @@
-\version "1.7.18"
+
+\version "2.4.0"
 \header {
 
-texidoc = "With the new chord syntax it's possible to associate
-fingerings uniquely with notes. This makes horizontal fingering much
-easier to process."
+texidoc = "With the new chord syntax, it is possible to associate
+fingerings uniquely with notes. This makes it possible to add
+horizontal fingerings to notes.
+
+"
 
 }
-    \paper { raggedright= ##t }
+    \layout { raggedright= ##t }
 
 
 \score {
-    \notes \relative c'{
-       <<g_0>> 4
-       <<g_1>> 4
-       <<c''^5>> 4
-       <<e,^6>> 4
-       <<f,_1>> 4
-       << c-1 e-3>> 4
-       <<c-1 e-3 g-5 >> 4
-       <<c-1 e-2 g-3 b-5 >> 4
-       <<c-1 e-2 g-3 b-5 d-6 f-7 a-8 c-9 >> 4  
-       \property Voice.fingerHorizontalDirection = #LEFT
-       << c-1  es-3 g-5 >> 4
-       \property Voice.fingerHorizontalDirection = #RIGHT
-       << c-1  e-2 g-3 b-5 >> 4-\arpeggio
-       \property Voice.fingerHorizontalDirection = #LEFT
-       << c_1  e-2 g-3 b^5 >> 4
-       
-}
+     \relative c'{
+       \set fingeringOrientations = #'(left)
+       < c-1  e-2 g-3 b-5 > 4
+
+       \set fingeringOrientations = #'(down left)
+       < c-1  e-2 g-3 b-5 > 4
+
+       \set fingeringOrientations = #'(down left up)
+       < c-1  e-2 g-3 b-5 > 4
+
+       \once \override Fingering  #'staff-padding = #'()
+       < c-1  e-2 g-3 b-5 > 4
+
+       \set fingeringOrientations = #'(up left)
+       < c-1  e-2 g-3 b-5 > 4
+
+       \set fingeringOrientations = #'(right)
+       < c-1  e-2 g-3 b-5 > 4
 
+    }
 }