LSR: Update.
[lilypond/mpolesky.git] / Documentation / snippets / forcing-measure-width-to-adapt-to-metronomemarks-width.ly
bloba30e4ae404761109c0708469128cdf3fa76c6806
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.29"
6 \header {
7 lsrtags = "staff-notation"
9 texidoc = "
10 By default, metronome marks do not influence horizontal spacing. This
11 has one downside: when using compressed rests, some metronome marks may
12 be too close and therefore are printed vertically stacked, as
13 demonstrated in the first part of this example. This can be solved
14 through a simple override, as shown in the second half of the example.
17 doctitle = "Forcing measure width to adapt to MetronomeMark's width"
18 } % begin verbatim
20 example = {
21 \tempo "Allegro"
22 R1*6
23 \tempo "Rall."
24 R1*2
25 \tempo "A tempo"
26 R1*8
30 \compressFullBarRests
32 \example
37 \override Score.MetronomeMark #'extra-spacing-width = #'(0 . 0)
38 \example