summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--input/regression/dot-column-engraver.ly22
-rw-r--r--ly/engraver-init.ly2
2 files changed, 23 insertions, 1 deletions
diff --git a/input/regression/dot-column-engraver.ly b/input/regression/dot-column-engraver.ly
new file mode 100644
index 0000000000..8ea30b91e5
--- /dev/null
+++ b/input/regression/dot-column-engraver.ly
@@ -0,0 +1,22 @@
+\version "2.15.34"
+
+\header {
+ texidoc = "Dot Columns are engraved in the Staff by default,
+enabling dots to move vertically to make room for dots from another voice.
+If Dot_column_engraver is moved to Voice, separate dot columns are engraved,
+and these dots avoid notes in other voices."
+}
+
+music = \relative c'' { \time 3/4 << {
+ <d f g>4. c c b g f a <a b> a <a' b>
+} \\ \times 1/2 {
+ <f, g b>2. a-- <a b> <g a>-. a2. a-- a a b <a b> \bar "|."
+} >> }
+
+\score{ \music }
+\markup "move Dot_column_engraver to Voice :"
+\score{ \music
+\layout {
+ \context {\Staff \remove Dot_column_engraver}
+ \context {\Voice \consists Dot_column_engraver}
+}}
diff --git a/ly/engraver-init.ly b/ly/engraver-init.ly
index 87505e27cc..dbc8dbea56 100644
--- a/ly/engraver-init.ly
+++ b/ly/engraver-init.ly
@@ -61,6 +61,7 @@
\consists "Font_size_engraver"
\consists "Separating_line_group_engraver"
+ \consists "Dot_column_engraver"
\consists "Staff_collecting_engraver"
%% perhaps move to Voice context?
@@ -226,7 +227,6 @@ multiple voices on the same staff."
\consists "Breathing_sign_engraver"
\consists "Note_heads_engraver"
\consists "Dots_engraver"
- \consists "Dot_column_engraver"
\consists "Rest_engraver"
\consists "Tweak_engraver"
\consists "Footnote_engraver"