]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/positioning-multi-measure-rests.ly
Doc: run makelsr locally
[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: b482c3e5b56c3841a88d957e0ca12964bd3e64fa
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: 3b125956b08d27ef39cd48bfa3a2f1e1bb2ae8b4
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@tie{}:
46
47 "
48   doctitlefr = "Positionnement des silences multi-mesures"
49
50   lsrtags = "rhythms, tweaks-and-overrides"
51
52   texidoc = "
53 Unlike ordinary rests, there is no predefined command to change the
54 staff position of a multi-measure rest symbol of either form by
55 attaching it to a note.  However, in polyphonic music multi-measure
56 rests in odd-numbered and even-numbered voices are vertically
57 separated. The positioning of multi-measure rests can be controlled as
58 follows:
59
60 "
61   doctitle = "Positioning multi-measure rests"
62 } % begin verbatim
63
64
65 \relative c'' {
66   % Multi-measure rests by default are set under the fourth line
67   R1
68   % They can be moved using an override
69   \override MultiMeasureRest #'staff-position = #-2
70   R1
71   \override MultiMeasureRest #'staff-position = #0
72   R1
73   \override MultiMeasureRest #'staff-position = #2
74   R1
75   \override MultiMeasureRest #'staff-position = #3
76   R1
77   \override MultiMeasureRest #'staff-position = #6
78   R1
79   \revert MultiMeasureRest #'staff-position
80   \break
81
82   % In two Voices, odd-numbered voices are under the top line
83   << { R1 } \\ { a1 } >>
84   % Even-numbered voices are under the bottom line
85   << { a1 } \\ { R1 } >>
86   % Multi-measure rests in both voices remain separate
87   << { R1 } \\ { R1 } >>
88
89   % Separating multi-measure rests in more than two voices
90   % requires an override
91   << { R1 } \\ { R1 } \\
92      \once \override MultiMeasureRest #'staff-position = #0
93      { R1 }
94   >>
95
96   % Using compressed bars in multiple voices requires another override
97   % in all voices to avoid multiple instances being printed
98   \compressFullBarRests
99   <<
100    \revert MultiMeasureRest #'staff-position
101     { R1*3 }
102     \\
103    \revert MultiMeasureRest #'staff-position
104     { R1*3 }
105   >>
106 }