from head position.
* input/regression/finger-chords-order.ly (texidoc): new file.
+2005-03-15 Han-Wen Nienhuys <hanwen@xs4all.nl>
+
+ * lily/new-fingering-engraver.cc (position_scripts): take priority
+ from head position.
+
+ * input/regression/finger-chords-order.ly (texidoc): new file.
+
2005-03-14 Jan Nieuwenhuizen <janneke@gnu.org>
* make/ly-rules.make:
--- /dev/null
+\version "2.4.0"
+
+\header {
+
+texidoc = "Ordering of the fingerings depends on vertical ordering of the notes, and
+is independent of up/down direction."
+
+}
+
+\paper { raggedright = ##t }
+
+\relative {
+ %% input order is not 1 2 3 , output is.
+ <c-1 g'-3 e-2 b'-4 d-5 f-6 a-7 c-8 > 4
+
+ \relative c'' {
+ <a^1 cis^3 e^5>
+ <a_1 cis_3 e_5>
+ }
+}
\header {
texidoc = "With the new chord syntax, it is possible to associate
-fingerings uniquely with notes. This makes horizontal fingering much
-easier to process."
+fingerings uniquely with notes. This makes it possible to add
+horizontal fingerings to notes.
+
+"
}
\layout { raggedright= ##t }
\score {
\relative c'{
-
- %% input order is not 1 2 3 , output is.
- <c-1 g'-3 e-2 b'-4 d-5 f-6 a-7 c-8 > 4
-
\set fingeringOrientations = #'(left)
< c-1 e-2 g-3 b-5 > 4
\set fingeringOrientations = #'(right)
< c-1 e-2 g-3 b-5 > 4
-
-
-}
-
+ }
}
Grob *f = ft.script_;
f->set_parent (ft.head_, X_AXIS);
f->set_property ("script-priority",
- scm_int2num (finger_prio + i));
+ scm_int2num (finger_prio + ft.position_));
f->add_offset_callback (Side_position_interface::aligned_side_proc, Y_AXIS);
f->add_offset_callback (Self_alignment_interface::centered_on_parent_proc, X_AXIS);
f->add_offset_callback (Self_alignment_interface::aligned_on_self_proc, X_AXIS);
Grob *f = ft.script_;
f->set_parent (ft.head_, X_AXIS);
f->set_property ("script-priority",
- scm_int2num (finger_prio + down.size () - i));
+ scm_int2num (finger_prio + down.size () - ft.position_));
f->add_offset_callback (Self_alignment_interface::centered_on_parent_proc, X_AXIS);
f->add_offset_callback (Self_alignment_interface::aligned_on_self_proc, X_AXIS);
-;;;; new-markup.scm --
+;;;; new-markup.scm -- Implement a user extensible markup scheme.
;;;;
;;;; source file of the GNU LilyPond music typesetter
;;;;