]> git.donarmstrong.com Git - lilypond.git/commitdiff
Issue 5114/3: Add regtest for \voices
authorDavid Kastrup <dak@gnu.org>
Sun, 2 Apr 2017 15:52:28 +0000 (17:52 +0200)
committerDavid Kastrup <dak@gnu.org>
Fri, 14 Apr 2017 08:06:36 +0000 (10:06 +0200)
input/regression/voices-command.ly [new file with mode: 0644]

diff --git a/input/regression/voices-command.ly b/input/regression/voices-command.ly
new file mode 100644 (file)
index 0000000..86c9801
--- /dev/null
@@ -0,0 +1,19 @@
+\version "2.19.59"
+
+\header {
+  texidoc = "The @code{\\voices} command can be used for continuing voices
+and changing the order of @code{\\voiceOne}@dots{}@code{\\voiceFour} style
+overrides."
+}
+
+\layout { ragged-right = ##t }
+
+{
+  \time 2/4
+  \new Voice = "sop" {
+    a'2~ |
+    \voices 1,"sop" << e''2 \\ { \voiceTwo a'2~ \oneVoice } >>
+    a'2
+  }
+  \voices 1,3,4,2 << a''2 \\ e''2 \\ c''2 \\ a'2 >>
+}