%% 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/hara-kiri-rhythmicstaff.ly"
\sourcefileline 0
\version "2.16.0"
\header {
  texidoc =

      " Hara-kiri staves are suppressed if they are empty.  This
example really contains three rhythmic staves, but as it progresses, empty ones
are removed: this example has three staves, but some of them
disappear: note how the 2nd line only has the bar number 2. (That the
bar number is printed might be considered a bug, however, the scenario
of all staves disappearing does not happen in practice.)

Any staff brackets and braces are removed, both in the single staff
and no staff case.
"

}

\layout {
  ragged-right= ##t
  \context {
    \RhythmicStaff
    \RemoveEmptyStaves
  }
}

\context StaffGroup <<
  \new RhythmicStaff {
    c4 c c c \break
    s1 \break
    c4 c c c \break
    c c c c
  }
  \new RhythmicStaff {
    c4 c c c
    s1
    s1
    s1
  }
  \new RhythmicStaff {
    c4 c c c
    s1
    c4 c c c
    s1
  }
>>



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