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