%% 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/printing-bar-numbers-at-regular-intervals.ly"
\sourcefileline 0
%% DO NOT EDIT this file manually; it was automatically
%% generated from `Documentation/snippets/new/`.
%%
%% Make any changes in `Documentation/snippets/new/`,
%% then run `scripts/auxiliar/makelsr.pl --new`.
%%
%% This file is in the public domain.
%%
%% Note: this file works from version 2.23.7.

\version "2.23.13"

\header {
%% Translation of GIT committish: a8a85e19654e46d725563e6deba44083ef137a2c
  texidocja = "
@code{barNumberVisibility} プロパティをセットすることで、小節番号を@c
一定間隔で表示することができます。以下の例では、行末を除いて、2 小節ごとに@c
小節番号が表示されています。
"
  doctitleja = "一定間隔で小節番号を表示する"

%% Translation of GIT committish: 2f3474d9af596d677ed5b7ce720ae4d0954a6b51
  texidocit = "
Impostando la proprietà @code{barNumberVisibility} si possono far apparire
i numeri di battuta a intervalli regolari. In questo esempio vengono
mostrati ogni due misure eccetto alla fine della linea.

"
  doctitleit = "Mostrare i numeri di battuta a intervalli regolari"

%% Translation of GIT committish: a3fd5364fc4f247579da0ed2bfea887ab37285c6
  texidocfr = "
Vous pouvez imprimer un numéro de mesure à intervalle régulier plutôt
qu'en tête de chaque ligne seulement, en recourant à la propriété
@code{barNumberVisibility}. Voici comment afficher le numéro toutes les
deux mesures sauf en fin de ligne.
"

  doctitlefr = "Imprimer les numéros de mesure à intervalle régulier"

%% Translation of GIT committish: 8ffecf6be17c6ec2ff87cf31873121a8cce29b09
  texidoces = "
Se pueden imprimir los números de compás a intervalos regulares
mediante el establecimiento de la propiedad
@code{barNumberVisibility}.  Aquí los números de compás se
imprimen a cada dos compases excepto al final de la línea.

"
  doctitlees = "Imprimir números de compás a intervalos regulares"

%% Translation of GIT committish: 0a868be38a775ecb1ef935b079000cebbc64de40
  texidocde = "
Taktnummern können in regelmäßigen Intervallen gesetzt werden, indem
man die Eigenschaft @code{barNumberVisibility} definiert.  In diesem
Beispiel werden die Taktnummern jeden zweiten Takt gesetzt, außer
am Ende einer Zeile.

"
  doctitlede = "Setzen der Taktnummern in regelmäßigen Intervallen"



%% Translation of GIT committish: 8ffecf6be17c6ec2ff87cf31873121a8cce29b09
  texidocca = "
Es poden imprimir els nombre de compàs a intervals regulars mitjançant
l'establiment de la propietat @code{barNumberVisibility}.  Aquí els
números de compàs s'imprimeixen cada dos compassos excepte al final de
la línia.

"
  doctitleca = "Imprimir números de compàs a intervals regulars"

  lsrtags = "rhythms"

  texidoc = "
By setting the @code{barNumberVisibility} property, bar numbers can be
printed at regular intervals. Here the bar numbers are printed every
two measures except at the end of the line.
"

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


\relative c' {
  \override Score.BarNumber.break-visibility = #end-of-line-invisible
  \set Score.currentBarNumber = #11
  % Print a bar number every second measure
  \set Score.barNumberVisibility = #(every-nth-bar-number-visible 2)
  c1 | c | c | c | c
  \break
  c1 | c | c | c | c
}



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