%% 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 "/lilypond-2.24.4/input/regression/repeat-bar-number-engraver-order.ly"
\sourcefileline 0
\version "2.23.0"

\header{
  texidoc="Bar numbers on repeat bar lines do not depend on the order
in which @code{Bar_number_engraver} and
@code{Repeat_acknowledge_engraver} run.  The two systems in this test
should be identical."
}

\layout {
  \context {
    \Score
    barNumberVisibility = #(every-nth-bar-number-visible 1)
    \override BarNumber.break-visibility = #all-visible
    \remove Bar_number_engraver
    \remove Repeat_acknowledge_engraver
  }
}

piece = { b2 \repeat volta 2 c'2 \alternative { d'2 e'2 } f'2 | }


\new Score \with {
  \consists Bar_number_engraver
  \consists Repeat_acknowledge_engraver
} {
  \piece
}

\new Score \with {
  \consists Repeat_acknowledge_engraver
  \consists Bar_number_engraver
} {
  \piece
}



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