X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Fsnippets%2Fforcing-measure-width-to-adapt-to-metronomemarks-width.ly;h=ff5451109d16a98836c3eca2a8bf2ece4eafa871;hb=a58b3545f130cf094409d0d007ebf212f8a55d19;hp=1ff0e17b2d5936f5ef5d3c83685f1a9c69cdb159;hpb=4ee99b07605942b02e82c6526df98b68cbc03981;p=lilypond.git diff --git a/Documentation/snippets/forcing-measure-width-to-adapt-to-metronomemarks-width.ly b/Documentation/snippets/forcing-measure-width-to-adapt-to-metronomemarks-width.ly index 1ff0e17b2d..ff5451109d 100644 --- a/Documentation/snippets/forcing-measure-width-to-adapt-to-metronomemarks-width.ly +++ b/Documentation/snippets/forcing-measure-width-to-adapt-to-metronomemarks-width.ly @@ -1,20 +1,20 @@ -%% DO NOT EDIT this file manually; it is automatically -%% generated from LSR http://lsr.di.unimi.it -%% Make any changes in LSR itself, or in Documentation/snippets/new/ , -%% and then run scripts/auxiliar/makelsr.py -%% -%% This file is in the public domain. -\version "2.18.0" +% DO NOT EDIT this file manually; it is automatically +% generated from Documentation/snippets/new +% Make any changes in Documentation/snippets/new/ +% and then run scripts/auxiliar/makelsr.py +% +% This file is in the public domain. +%% Note: this file works from version 2.19.20 + +\version "2.19.20" \header { lsrtags = "staff-notation, workaround" texidoc = " -By default, metronome marks do not influence horizontal spacing. This -has one downside: when using compressed rests, some metronome marks may -be too close and therefore are printed vertically stacked, as -demonstrated in the first part of this example. This can be solved -through a simple override, as shown in the second half of the example. +By default, metronome marks do not influence horizontal spacing. This +can be solved through a simple override, as shown in the second half of +the example. " doctitle = "Forcing measure width to adapt to MetronomeMark's width" @@ -31,13 +31,11 @@ example = { } { - \compressFullBarRests - - \example - - R1 - R1 - - \override Score.MetronomeMark.extra-spacing-width = #'(0 . 0) - \example + \compressMMRests { + \example + R1 + R1 + \override Score.MetronomeMark.extra-spacing-width = #'(-3 . 0) + \example + } }