]> git.donarmstrong.com Git - lilypond.git/blob - input/lsr/positioning-multi--measure-rests.ly
Merge branch 'stable'
[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.12.0"
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
17 texidocde = "
18 Anders als bei normalen Pausen gibt es keinen direkten Befehl, um die
19 vertikale Position von Ganztaktpausen zu beeinflussen, indem man sie an
20 eine Tonhöhe anhängt.  In polyphoner Notation wird aber dennoch die
21 Position der Pausen von geraden und ungeraden Stimmen voneinander
22 unterschieden.  Die Position von Ganztaktpausen kann wie folgt verändert
23 werden:
24  "
25   doctitlede = "Positionierung von Ganztaktpausen"
26
27   lsrtags = "rhythms,tweaks-and-overrides"
28   texidoc = "
29 Unlike ordinary rests, there is no predefined command
30 to change the staff position of a multi-measure
31 rest symbol of either form by attaching it to a note.  However,
32 in polyphonic music multi-measure rests in odd-numbered and
33 even-numbered voices are vertically separated.  The positioning
34 of multi-measure rests can be controlled as follows:
35  "
36   doctitle = "Positioning multi-measure rests"
37 } % begin verbatim
38
39
40 \relative c'' {
41   % Multi-measure rests by default are set under the second line
42   R1
43   % They can be moved with an override
44   \override MultiMeasureRest #'staff-position = #-2
45   R1
46   % A value of 0 is the default position;
47   % the following trick moves the rest to the center line
48   \override MultiMeasureRest #'staff-position = #-0.01
49   R1
50   % Multi-measure rests in odd-numbered voices are under the top line
51   << { R1 } \\ { a1 } >>
52   % Multi-measure rests in even-numbered voices are under the bottom line
53   << { c1 } \\ { R1 } >>
54   % They remain separated even in empty measures
55   << { R1 } \\ { R1 } >>
56   % This brings them together even though there are two voices
57   \compressFullBarRests
58   <<
59     \revert MultiMeasureRest #'staff-position
60     { R1*3 }
61     \\
62     \revert MultiMeasureRest #'staff-position
63     { R1*3 }
64   >>
65 }