%% Generated by lilypond-book
%% Options: [exampleindent=10.16\mm,indent=0\mm,line-width=160\mm,quote,ragged-right]
\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))
  line-width = 160\mm - 2.0 * 10.16\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))
  ragged-right = ##t
}

\layout {
  
}





% ****************************************************************
% ly snippet:
% ****************************************************************
\sourcefilename "snippets/printing-bar-numbers-with-changing-regular-intervals.ly"
\sourcefileline 0
%% 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.21.2"

\header {
%% Translation of GIT committish: a8a85e19654e46d725563e6deba44083ef137a2c
  texidocja = "
小節番号が表示される間隔は @code{@{set-bar-number-visibility@}} コンテキスト@c
関数を変更することで変更することもできます。
"
  doctitleja = "小節番号が表示される間隔を変更する"

%% Translation of GIT committish: 6b35abe942bf1b4e709f215d3657a7cec1f4aa52
  texidocit = "
L'intervallo dei numeri di battuta può essere modificato cambiando la
funzione di contesto @code{@{set-bar-number-visibility@}}.

"
  doctitleit = "Stampare i numeri di battuta a intervalli regolari variabili"


%% Translation of GIT committish: fc57157ac8148a900fde059f045a1e287f1493e6
  texidocfr = "
La fonction de contexte @code{set-bar-number-visibility} permet de
modifier la fréquence à laquelle les numéros de mesures s'impriment.

"
  doctitlefr = "Changement de la fréquence d'impression du numéro de mesure"

  lsrtags = "rhythms, text"

  texidoc = "
The bar number interval can be changed by changing the context function
@code{@{set-bar-number-visibility@}}.

"
  doctitle = "Printing bar numbers with changing regular intervals"
} % begin verbatim

\relative c' {
  \override Score.BarNumber.break-visibility = #end-of-line-invisible
  \context Score \applyContext #(set-bar-number-visibility 4)
  \repeat unfold 10 c'1
  \context Score \applyContext #(set-bar-number-visibility 2)
  \repeat unfold 10 c
}



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