]> git.donarmstrong.com Git - lilypond.git/blob - input/lsr/positioning-multi--measure-rests.ly
Merge master into nested-bookparts
[lilypond.git] / input / lsr / positioning-multi--measure-rests.ly
1 %% Do not edit this file; it is auto-generated from input/new
2 %% This file is in the public domain.
3 \version "2.11.62"
4 \header {
5  doctitlees = "Posicionar los silencios multicompás"
6  texidoces = "
7 A diferencia de los silencios normales, no existe una instrucción
8 predefinida para modificar la posición predefinida de un símbolo
9 multicompás sobre el pentagrama, adjuntándolo a una nota,
10 independientemente de cuál sea su forma.  Sin embargo, en la música
11 polifónica los silencios multicompás de las voces de numeración par e
12 impar están separados verticalmente.  La colocación de los silencios
13 multicompás se puede controlar como se ve a continuación:
14
15 "
16   lsrtags = "rhythms,tweaks-and-overrides"
17   texidoc = "
18 Unlike ordinary rests, there is no predefined command
19 to change the staff position of a multi-measure
20 rest symbol of either form by attaching it to a note.  However,
21 in polyphonic music multi-measure rests in odd-numbered and
22 even-numbered voices are vertically separated.  The positioning
23 of multi-measure rests can be controlled as follows:
24  "
25   doctitle = "Positioning multi-measure rests"
26 } % begin verbatim
27
28 \relative c'' {
29   % Multi-measure rests by default are set under the second line
30   R1
31   % They can be moved with an override
32   \override MultiMeasureRest #'staff-position = #-2
33   R1
34   % A value of 0 is the default position;
35   % the following trick moves the rest to the center line
36   \override MultiMeasureRest #'staff-position = #-0.01
37   R1
38   % Multi-measure rests in odd-numbered voices are under the top line
39   << { R1 } \\ { a1 } >>
40   % Multi-measure rests in even-numbered voices are under the bottom line
41   << { c1 } \\ { R1 } >>
42   % They remain separated even in empty measures
43   << { R1 } \\ { R1 } >>
44   % This brings them together even though there are two voices
45   \compressFullBarRests
46   <<
47     \revert MultiMeasureRest #'staff-position
48     { R1*3 }
49     \\
50     \revert MultiMeasureRest #'staff-position
51     { R1*3 }
52   >>
53 }