]> git.donarmstrong.com Git - lilypond.git/blob - input/lsr/positioning-multi-measure-rests.ly
Imported Upstream version 2.12.3
[lilypond.git] / input / lsr / positioning-multi-measure-rests.ly
1 %% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
2 %% This file is in the public domain.
3 \version "2.12.3"
4
5 \header {
6   lsrtags = "rhythms, tweaks-and-overrides"
7
8  doctitlees = "Posicionar los silencios multicompás"
9  texidoces = "
10 A diferencia de los silencios normales, no existe una instrucción
11 predefinida para modificar la posición predefinida de un símbolo
12 multicompás sobre el pentagrama, adjuntándolo a una nota,
13 independientemente de cuál sea su forma.  Sin embargo, en la música
14 polifónica los silencios multicompás de las voces de numeración par e
15 impar están separados verticalmente.  La colocación de los silencios
16 multicompás se puede controlar como se ve a continuación:
17
18 "
19
20 texidocde = "
21 Anders als bei normalen Pausen gibt es keinen direkten Befehl, um die
22 vertikale Position von Ganztaktpausen zu beeinflussen, indem man sie an
23 eine Tonhöhe anhängt.  In polyphoner Notation wird aber dennoch die
24 Position der Pausen von geraden und ungeraden Stimmen voneinander
25 unterschieden.  Die Position von Ganztaktpausen kann wie folgt verändert
26 werden:
27  "
28   doctitlede = "Positionierung von Ganztaktpausen"
29
30   texidoc = "
31 Unlike ordinary rests, there is no predefined command to change the
32 staff position of a multi-measure rest symbol of either form by
33 attaching it to a note.  However, in polyphonic music multi-measure
34 rests in odd-numbered and even-numbered voices are vertically
35 separated. The positioning of multi-measure rests can be controlled as
36 follows: 
37
38 "
39   doctitle = "Positioning multi-measure rests"
40 } % begin verbatim
41
42 \relative c'' {
43   % Multi-measure rests by default are set under the fourth line
44   R1
45   % They can be moved with an override
46   \override MultiMeasureRest #'staff-position = #-2
47   R1
48   % A value of 0 is the default position;
49   % the following trick moves the rest to the center line
50   \override MultiMeasureRest #'staff-position = #-0.01
51   R1
52   % Multi-measure rests in odd-numbered voices are under the top line
53   << { R1 } \\ { a1 } >>
54   % Multi-measure rests in even-numbered voices are under the bottom line
55   << { c1 } \\ { R1 } >>
56   % They remain separated even in empty measures
57   << { R1 } \\ { R1 } >>
58   % This brings them together even though there are two voices
59   \compressFullBarRests
60   <<
61     \revert MultiMeasureRest #'staff-position
62     { R1*3 }
63     \\
64     \revert MultiMeasureRest #'staff-position
65     { R1*3 }
66   >>
67 }