]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/merging-multi-measure-rests-in-a-polyphonic-part.ly
Run scripts/auxiliar/update-with-convert-ly.sh
[lilypond.git] / Documentation / snippets / merging-multi-measure-rests-in-a-polyphonic-part.ly
1 %% DO NOT EDIT this file manually; it is automatically
2 %% generated from LSR http://lsr.dsi.unimi.it
3 %% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
4 %% and then run scripts/auxiliar/makelsr.py
5 %%
6 %% This file is in the public domain.
7 \version "2.16.0"
8
9 \header {
10   lsrtags = "really-simple, rhythms, version-specific"
11
12   texidoc = "
13 When using multi-measure rests in a polyphonic staff, the rests will be
14 placed differently depending on the voice they belong to. However they
15 can be printed on the same staff line, using the following setting.
16
17 "
18   doctitle = "Merging multi-measure rests in a polyphonic part"
19 } % begin verbatim
20
21
22 normalPos = \revert MultiMeasureRest #'staff-position
23
24 {
25   <<
26     {
27       c''1
28       R1
29       c''1
30       \normalPos
31       R1
32     }
33     \\
34     {
35       c'1
36       R1
37       c'1
38       \normalPos
39       R1
40     }
41   >>
42 }