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