%% Generated by lilypond-book
%% Options: [exampleindent=10.16\mm,indent=0\mm,line-width=160\mm,paper-height=845.047\pt,paper-width=597.508\pt,papersize='(cons (* 597.508 pt) (* 845.047 pt))]
\include "lilypond-book-preamble.ly"


% ****************************************************************
% Start cut-&-pastable-section
% ****************************************************************

#(ly:set-option 'eps-box-padding 3.000000)



\paper {
  #(set-paper-size '(cons (* 597.508 pt) (* 845.047 pt)))
  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.26.0/input/regression/musicxml/45e-Repeats-Combination.xml"
\sourcefileline 0
\version "2.26.0"
% automatically converted by musicxml2ly from -
\pointAndClickOff

\header {
  texidoc = "A series of repeat elements.

    The first repeat starts implicitly at the beginning, with the first
    alternative starting and ending at bar 2, and the second ending at bar 3.
    All four <ending> elements have ‘number=\"\"’ as an attribute. The next
    repeat starts and ends at bar 5. Another repeat starts at bar 6 (causing a
    back-to-back bar line between bars 5 and 6), with the first alternative
    starting and ending at bar 7. Its second alternative (starting and ending at
    bar 8) is the start of a repeat at the same time (causing another
    back-to-back bar line between bars 7 and 8), ending after bar 9."
}
\layout {
  \context {
    \Staff
    printKeyCancellation = ##f
  }
  \context {
    \Score
    doubleRepeatBarType = ":|.|:"
    autoBeaming = ##f
  }
}
PartPOneVoiceOne = \relative c' {
  \repeat volta 2 {
    \clef "treble" \time 4/4 \key c \major R1 | % 1
    \alternative {
      \volta 1 {
        R1 | % 2
      }
      \volta 2 {
        R1 | % 3
      }
    }
  }
  R1 | % 4
  \repeat volta 2 {
    R1 | % 5
  }
  \repeat volta 2 {
    R1 | % 6
    \alternative {
      \volta 1 {
        R1 | % 7
      }
      \volta 2 {
        \repeat volta 2 {
          R1 | % 8
          R1 | % 9

          \barNumberCheck #10
        }
      }
    }
  }
  R1 \bar "|."
}


% The score definition
\score {
  <<
    \new Staff = "P1" <<
      \context Staff <<
        \override Staff.BarLine.allow-span-bar = ##f
        \mergeDifferentlyDottedOn
        \mergeDifferentlyHeadedOn
        \context Voice = "PartPOneVoiceOne" {
          \PartPOneVoiceOne
        }
      >>
    >>
  >>
  \layout {}
  % To create MIDI output, uncomment the following line:
  % \midi { \tempo 4 = 100 }
}




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