%% 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
% ****************************************************************

#(ly:set-option 'eps-box-padding 3.000000)



\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 was automatically
%% generated from the LilyPond Snippet Repository
%% (http://lsr.di.unimi.it).
%%
%% Make any changes in the LSR itself, or in
%% `Documentation/snippets/new/`, then run
%% `scripts/auxiliar/makelsr.pl`.
%%
%% This file is in the public domain.

\version "2.23.13"

\header {
%% Translation of GIT committish: f11513f36c131dab18338d6a3a729e24a927150d
  texidocja = "
デフォルトでは、メトロノーム記号は水平方向のスペーシングに影響を@c
与えません。これは 2 つ目の例のように、@c
単純なオーバライドで解決することができます。
"
  doctitleja = "強制的に小節の幅を MetronomeMark の幅に合わせる"

%% Translation of GIT committish: a3fd5364fc4f247579da0ed2bfea887ab37285c6
  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"

%% Translation of GIT committish: 2ba2ca2073f389842aa87f85b6c740b8488f0125
  texidocca = "
De forma predeterminada, les indicacions metronòmiques no
influeixen l'espaiat horitzontal.  Això es pot resoldre per mitjà
d'una senzilla sobreescriptura, com pot veure's a la segona meitat
de l'exemple.

"
  doctitleca = "Forçar l'amplada dels compassos perquè s'adaptin a l'amplada de les indicacions metronòmiques"


  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
% ****************************************************************
