X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;ds=sidebyside;f=input%2Fnew%2Fpositioning-multi--measure-rests.ly;fp=input%2Fnew%2Fpositioning-multi--measure-rests.ly;h=0000000000000000000000000000000000000000;hb=95a230657883290db0b80404a3af8fb33cecc53d;hp=235b8baad1f6cfc986f92495a6961739328571bc;hpb=af04002f908e013a6237223cda44f0fb1fedf238;p=lilypond.git diff --git a/input/new/positioning-multi--measure-rests.ly b/input/new/positioning-multi--measure-rests.ly deleted file mode 100644 index 235b8baad1..0000000000 --- a/input/new/positioning-multi--measure-rests.ly +++ /dev/null @@ -1,40 +0,0 @@ -\version "2.12.0" -\header { - lsrtags = "rhythms,tweaks-and-overrides" - texidoc = " -Unlike ordinary rests, there is no predefined command -to change the staff position of a multi-measure -rest symbol of either form by attaching it to a note. However, -in polyphonic music multi-measure rests in odd-numbered and -even-numbered voices are vertically separated. The positioning -of multi-measure rests can be controlled as follows: - " - doctitle = "Positioning multi-measure rests" -} - -\relative c'' { - % Multi-measure rests by default are set under the second line - R1 - % They can be moved with an override - \override MultiMeasureRest #'staff-position = #-2 - R1 - % A value of 0 is the default position; - % the following trick moves the rest to the center line - \override MultiMeasureRest #'staff-position = #-0.01 - R1 - % Multi-measure rests in odd-numbered voices are under the top line - << { R1 } \\ { a1 } >> - % Multi-measure rests in even-numbered voices are under the bottom line - << { c1 } \\ { R1 } >> - % They remain separated even in empty measures - << { R1 } \\ { R1 } >> - % This brings them together even though there are two voices - \compressFullBarRests - << - \revert MultiMeasureRest #'staff-position - { R1*3 } - \\ - \revert MultiMeasureRest #'staff-position - { R1*3 } - >> -}