%% 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/volta-unused.ly"
\sourcefileline 0
\version "2.23.0"

#(ly:set-option 'warning-as-error #t)

\header {
  texidoc="@code{\\volta} can remove arbitrary music from the main
body of a repeated section.  In each staff, a rest between those
marked 1 and 2 has been removed."
}

\score {
  \context Voice \fixed c' {
    \set Staff.instrumentName = \markup \column { "remove" "tagged" }
    \removeWithTag X { r4-1 << \tag X f-"X" >> r-2 r-3 r-4 } |
  }
}

\score {
  \context Voice \fixed c' {
    \set Staff.instrumentName = \markup \column { "unfold" "simple" }
    r4-1 \repeat unfold 1 \volta 2 f4-"X" r-2 r-3 r-4 |
  }
}

\score {
  \context Voice \fixed c' {
    \set Staff.instrumentName = \markup \column { "unfold" "{ }" }
    \repeat unfold 1 { r4-1 \volta 2 f-"X" r-2 r-3 } r-4 |
  }
}

\score {
  \context Voice \fixed c' {
    \set Staff.instrumentName = \markup \column { "unfold" "{ { } }" }
    \repeat unfold 1 { r4-1 { \volta 2 f-"X" } r-2 r-3 } r-4 |
  }
}

\score {
  \context Voice \fixed c' {
    \set Staff.instrumentName = \markup \column { "unfold" "{ << >> }" }
    \repeat unfold 1 { r4-1 << \volta 2 f-"X" >> r-2 r-3 } r-4 |
  }
}



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