%% 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.21.0
\version "2.21.0"

\header {
  lsrtags = "preparing-parts, rhythms"

  texidoc = "
Multi measure rests show their length by a number except for single
measures. This can be changed by setting @code{restNumberThreshold}.

"
  doctitle = "Numbering single measure rests"
} % begin verbatim

{
  \compressEmptyMeasures
  R1 R1*10 R1*11 \bar "||"
  \set restNumberThreshold = 0
  R1 R1*10 R1*11 \bar "||"
  \set restNumberThreshold = 10
  R1 R1*10 R1*11
}
