]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/accidental-grouping.ly
Imported Upstream version 2.18.0
[lilypond.git] / input / regression / accidental-grouping.ly
diff --git a/input/regression/accidental-grouping.ly b/input/regression/accidental-grouping.ly
new file mode 100644 (file)
index 0000000..b8cfce4
--- /dev/null
@@ -0,0 +1,16 @@
+\version "2.17.10"
+
+\header {
+  texidoc = "By setting @code{accidentalGrouping} to @code{'voice},
+LilyPond will horizontally stagger the accidentals of octaves
+in different voices as seen in this test's E-sharp.
+"
+}
+
+ \relative c''' {
+   << { <gis cis eis gis>1 } \\
+      { eis,              } >>
+  \set Staff . accidentalGrouping = #'voice
+   << { <gis' cis eis gis>1 } \\
+      { eis,              } >>
+}