%% Generated by lilypond-book
%% Options: [exampleindent=10.16\mm,indent=0\mm,line-width=160\mm]
\include "lilypond-book-preamble.ly"


% ****************************************************************
% Start cut-&-pastable-section
% ****************************************************************



\paper {
  indent = 0\mm
  line-width = 160\mm
  % offset the left padding, also add 1mm as lilypond creates cropped
  % images with a little space on the right
  line-width = #(- line-width (* mm  3.000000) (* mm 1))
}

\layout {
  
}





% ****************************************************************
% ly snippet:
% ****************************************************************
\sourcefilename "snippets/forcing-measure-width-to-adapt-to-metronomemarks-width.ly"
\sourcefileline 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 {
%% Translation of GIT committish: f11513f36c131dab18338d6a3a729e24a927150d
  texidocja = "
デフォルトでは、メトロノーム記号は水平方向のスペーシングに影響を@c
与えません。これは 2 つ目の例のように、@c
単純なオーバライドで解決することができます。
"
  doctitleja = "強制的に小節の幅を MetronomeMark の幅に合わせる"

%% Translation of GIT committish: 600367eb76cd3f1e69afd9e595dd9f018f654bac
  texidocfr = "
Par défaut, les indications métronomiques n'influencent en rien
l'espacement horizontal.  Une simple dérogation, comme dans la deuxième
partie de cet exemple, fournit la solution.

"
  doctitlefr = "Adaptation de la largeur de mesure selon le @code{MetronomeMark}"

%% Translation of GIT committish: 0c00cd98e81b27325bed5891b950fe7f0f0ebe5d
  texidoces = "
De forma predeterminada, las indicaciones metronómicas no influyen el
espaciado horizontal. Esto se puede resolver por medio de una sencilla
sobreescritura, como puede verse en la segunda mitad del ejemplo.

"
  doctitlees = "Forzar la anchura de los compases para que se adapten a la anchura de las indicaciones metronómicas"

  lsrtags = "staff-notation, workaround"

  texidoc = "
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"
} % begin verbatim


example = {
  \tempo "Allegro"
  R1*6
  \tempo "Rall."
  R1*2
  \tempo "A tempo"
  R1*8
}

{
  \compressMMRests {
    \example
    R1
    R1
    \override Score.MetronomeMark.extra-spacing-width = #'(-3 . 0)
    \example
  }
}



% ****************************************************************
% end ly snippet
% ****************************************************************
