]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/positioning-multi-measure-rests.ly
19058b0cc05b305056f487cb05a4e9ee376d38c0
[lilypond.git] / Documentation / snippets / positioning-multi-measure-rests.ly
1 % DO NOT EDIT this file manually; it is automatically
2 % generated from Documentation/snippets/new
3 % Make any changes in Documentation/snippets/new/
4 % and then run scripts/auxiliar/makelsr.py
5 %
6 % This file is in the public domain.
7 %% Note: this file works from version 2.15.14
8 \version "2.15.14"
9
10 \header {
11 %% Translation of GIT committish: 2d548a99cb9dba80f2ff035582009477cd37eceb
12  doctitlees = "Posicionar los silencios multicompás"
13  texidoces = "
14 A diferencia de los silencios normales, no existe una instrucción
15 predefinida para modificar la posición predeterminada de un
16 símbolo de silencio multicompás sobre el pentagrama, adjuntándolo
17 a una nota, independientemente de cuál sea su forma.  Sin embargo,
18 en la música polifónica los silencios multicompás de las voces de
19 numeración par e impar están separados verticalmente.  La
20 colocación de los silencios multicompás se puede controlar como se
21 ve a continuación:
22
23 "
24
25 %% Translation of GIT committish: 0a868be38a775ecb1ef935b079000cebbc64de40
26 texidocde = "
27 Anders als bei normalen Pausen gibt es keinen direkten Befehl, um die
28 vertikale Position von Ganztaktpausen zu beeinflussen, indem man sie an
29 eine Tonhöhe anhängt.  In polyphoner Notation wird aber dennoch die
30 Position der Pausen von geraden und ungeraden Stimmen voneinander
31 unterschieden.  Die Position von Ganztaktpausen kann wie folgt verändert
32 werden:
33  "
34   doctitlede = "Positionierung von Ganztaktpausen"
35
36
37
38 %% Translation of GIT committish: 4da4307e396243a5a3bc33a0c2753acac92cb685
39   texidocfr = "
40 Si l'on peut positionner verticalement un silence simple en le
41 rattachant à une note, il n'en va pas de même pour un silence
42 multi-mesures.  Néanmoins, et uniquement dans le cadre de musique
43 polyphonique, les silences multi-mesures sont positionnés différemment
44 selon qu'ils appartiennent à une voix au numéro pair ou impair.  Le
45 positionnement des silences multi-mesures peut se contrôler ainsi :
46 "
47   doctitlefr = "Positionnement des silences multi-mesures"
48
49   lsrtags = "rhythms, tweaks-and-overrides"
50
51   texidoc = "
52 Unlike ordinary rests, there is no predefined command to change the
53 staff position of a multi-measure rest symbol of either form by
54 attaching it to a note.  However, in polyphonic music multi-measure
55 rests in odd-numbered and even-numbered voices are vertically
56 separated. The positioning of multi-measure rests can be controlled as
57 follows:
58
59 "
60   doctitle = "Positioning multi-measure rests"
61 } % begin verbatim
62
63
64 \relative c'' {
65   % Multi-measure rests by default are set under the fourth line
66   R1
67   % They can be moved using an override
68   \override MultiMeasureRest #'staff-position = #-2
69   R1
70   \override MultiMeasureRest #'staff-position = #0
71   R1
72   \override MultiMeasureRest #'staff-position = #2
73   R1
74   \override MultiMeasureRest #'staff-position = #3
75   R1
76   \override MultiMeasureRest #'staff-position = #6
77   R1
78   \revert MultiMeasureRest #'staff-position
79   \break
80
81   % In two Voices, odd-numbered voices are under the top line
82   << { R1 } \\ { a1 } >>
83   % Even-numbered voices are under the bottom line
84   << { a1 } \\ { R1 } >>
85   % Multi-measure rests in both voices remain separate
86   << { R1 } \\ { R1 } >>
87
88   % Separating multi-measure rests in more than two voices
89   % requires an override
90   << { R1 } \\ { R1 } \\
91      \once \override MultiMeasureRest #'staff-position = #0
92      { R1 }
93   >>
94
95   % Using compressed bars in multiple voices requires another override
96   % in all voices to avoid multiple instances being printed
97   \compressFullBarRests
98   <<
99    \revert MultiMeasureRest #'staff-position
100     { R1*3 }
101     \\
102    \revert MultiMeasureRest #'staff-position
103     { R1*3 }
104   >>
105 }