X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;ds=sidebyside;f=Documentation%2Fsnippets%2Fmerging-multi-measure-rests-in-a-polyphonic-part.ly;fp=Documentation%2Fsnippets%2Fmerging-multi-measure-rests-in-a-polyphonic-part.ly;h=7e5f7f4fdb94b82871ce1ced5d3451d561edeba9;hb=941dff9d2a67080e0dd8474f1e70f0c72ace6424;hp=0000000000000000000000000000000000000000;hpb=5a22d6233a39d3164e1ca043244794c268be4ad0;p=lilypond.git 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 index 0000000000..7e5f7f4fdb --- /dev/null +++ b/Documentation/snippets/merging-multi-measure-rests-in-a-polyphonic-part.ly @@ -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 + } + >> +} +