]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/snippets/merging-multi-measure-rests-in-a-polyphonic-part.ly
resolve merge
[lilypond.git] / Documentation / snippets / merging-multi-measure-rests-in-a-polyphonic-part.ly
diff --git a/Documentation/snippets/merging-multi-measure-rests-in-a-polyphonic-part.ly b/Documentation/snippets/merging-multi-measure-rests-in-a-polyphonic-part.ly
new file mode 100644 (file)
index 0000000..7e5f7f4
--- /dev/null
@@ -0,0 +1,42 @@
+%% DO NOT EDIT this file manually; it is automatically
+%% generated from LSR http://lsr.dsi.unimi.it
+%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
+%% and then run scripts/auxiliar/makelsr.py
+%%
+%% This file is in the public domain.
+\version "2.14.0"
+
+\header {
+  lsrtags = "rhythms"
+
+  texidoc = "
+When using multi-measure rests in a polyphonic staff, the rests will be
+placed differently depending on the voice they belong to. However they
+can be printed on the same staff line, using the following setting.
+
+"
+  doctitle = "Merging multi-measure rests in a polyphonic part"
+} % begin verbatim
+
+normalPos = \revert MultiMeasureRest #'staff-position
+
+{
+  <<
+    {
+      c''1
+      R1
+      c''1
+      \normalPos
+      R1
+    }
+    \\
+    {
+      c'1
+      R1
+      c'1
+      \normalPos
+      R1
+    }
+  >>
+}
+