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

#(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))
  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 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: a8a85e19654e46d725563e6deba44083ef137a2c
  texidocja = "
小節番号が表示される間隔は @code{@{set-bar-number-visibility@}} コンテキスト@c
関数を変更することで変更することもできます。
"
  doctitleja = "小節番号が表示される間隔を変更する"

%% Translation of GIT committish: 2f3474d9af596d677ed5b7ce720ae4d0954a6b51
  texidocit = "
Tramite la funzione di contesto @code{@{set-bar-number-visibility@}}
si possono modificare gli intervalli dei numeri di battuta.

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


%% Translation of GIT committish: a3fd5364fc4f247579da0ed2bfea887ab37285c6
  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 = "
Using the @code{set-bar-number-visibility} context function, bar number
intervals can be changed.
"

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