]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/forcing-measure-width-to-adapt-to-metronomemarks-width.ly
018514ff44cf24a1ca691194e2cbd8843578b887
[lilypond.git] / Documentation / snippets / forcing-measure-width-to-adapt-to-metronomemarks-width.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.14.2"
8
9 \header {
10   lsrtags = "workaround, staff-notation"
11
12 %% Translation of GIT committish: 30339cb3706f6399c84607426988b25f79b4998c
13   texidocfr = "
14 Par défaut, les indications métronomiques n'influencent en rien
15 l'espacement horizontal.  Dans le cas où elles se suivent sur des silences
16 multimesures, elle peuvent se retrouver trop proche l'une de l'autre, et
17 donc paraître quelque peu imbriquées comme dans la première partie de
18 l'exemple ci-dessous.  La solution consiste alors à appliquer une simple
19 dérogation comme dans la deuxième partie.
20
21 "
22   doctitlefr = "Adaptation de la largeur de mesure selon le MetronomeMark"
23
24   texidoc = "
25 By default, metronome marks do not influence horizontal spacing.  This
26 has one downside: when using compressed rests, some metronome marks may
27 be too close and therefore are printed vertically stacked, as
28 demonstrated in the first part of this example.  This can be solved
29 through a simple override, as shown in the second half of the example.
30
31 "
32   doctitle = "Forcing measure width to adapt to MetronomeMark's width"
33 } % begin verbatim
34
35
36 example = {
37   \tempo "Allegro"
38   R1*6
39   \tempo "Rall."
40   R1*2
41   \tempo "A tempo"
42   R1*8
43 }
44
45 {
46   \compressFullBarRests
47
48   \example
49
50   R1
51   R1
52
53   \override Score.MetronomeMark #'extra-spacing-width = #'(0 . 0)
54   \example
55 }
56