]> git.donarmstrong.com Git - lilypond.git/commitdiff
Add regtest for multimeasure rests in \partcombineApart passages
authorDavid Kastrup <dak@gnu.org>
Sun, 8 Sep 2013 16:36:08 +0000 (18:36 +0200)
committerDavid Kastrup <dak@gnu.org>
Thu, 12 Sep 2013 13:47:28 +0000 (15:47 +0200)
input/regression/part-combine-mmrest-apart.ly [new file with mode: 0644]

diff --git a/input/regression/part-combine-mmrest-apart.ly b/input/regression/part-combine-mmrest-apart.ly
new file mode 100644 (file)
index 0000000..9fae671
--- /dev/null
@@ -0,0 +1,35 @@
+\version "2.17.6"
+
+\header {
+  texidoc = "
+The positioning of multimeasure rests in @code{\\partcombineApart}
+passages corresponds with @code{\\voiceOne} and @code{\\voiceTwo} even
+when using non-standard staves.
+"
+}
+
+\layout {
+  indent = 4\cm
+  raggedright = ##t
+}
+
+\new StaffGroup
+<<
+  \new Staff \with
+    { \override StaffSymbol.line-count = #4
+      instrumentName = \markup \typewriter "\\partcombine"
+    }
+  {
+    \partcombine  { R1^"R1" r1^"r1"  \time 2/4 R2^"R2" r2^"r2" }
+    { \partcombineApart R1 r1 \time 2/4 R2 r2 }
+    
+  }
+  \new Staff \with
+    { \override StaffSymbol.line-count = #4
+      instrumentName = \markup \typewriter "<< ... \\\\ ... >>"
+    }
+  <<
+    { R1 r1 \time 2/4 R2 r2 } \\
+    { R1 r1 \time 2/4 R2 r2 }
+  >>
+>>