%% Generated by lilypond-book.py
%% Options: [alt=[image of music],printfilename,indent=0\mm,texidoc,line-width=160\mm]
\include "lilypond-book-preamble.ly"







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

\paper {
  #(define dump-extents #t)
  
  indent = 0\mm
  line-width = 160\mm
  force-assignment = #""
  line-width = #(- line-width (* mm  3.000000))
}

\layout {
  
}



% ****************************************************************
% ly snippet:
% ****************************************************************
\sourcefilename "volta-multi-staff.ly"
\sourcefileline 0
\header {

  texidoc = "By setting @code{voltaOnThisStaff}, repeats can be put
    also over other staves than the topmost one in a score."

}

\layout { ragged-right = ##t }
\version "2.10.0"


vmus =  { \repeat volta 2 c1 \alternative { d e } } 



\relative c'' <<
  \new StaffGroup <<
    \context Staff \vmus
    \new Staff \vmus
  >>
  \new StaffGroup <<
    \new Staff <<
      \set Staff.voltaOnThisStaff = ##t
      \vmus >>
    \new Staff \vmus
  >>
>>






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