]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/forcing-measure-width-to-adapt-to-metronomemarks-width.ly
72fa34b0ba359bf1d50765cfe60cd8917e4d7293
[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.di.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.19.20"
8
9 \header {
10   lsrtags = "staff-notation, workaround"
11
12   texidoc = "
13 By default, metronome marks do not influence horizontal spacing.   This
14 can be solved through a simple override, as shown in the second half of
15 the example.
16
17 "
18   doctitle = "Forcing measure width to adapt to MetronomeMark's width"
19 } % begin verbatim
20
21 example = {
22   \tempo "Allegro"
23   R1*6
24   \tempo "Rall."
25   R1*2
26   \tempo "A tempo"
27   R1*8
28 }
29
30 {
31   \compressMMRests {
32     \example
33     R1
34     R1
35     \override Score.MetronomeMark.extra-spacing-width = #'(-3 . 0)
36     \example
37   }
38 }