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