%% 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.25.35/input/regression/polymeter-ossia.ly"
\sourcefileline 0
\version "2.25.30"

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

\header {
  texidoc = "This tests polymetric staves beginning at different
times.  One staff in 4/4 time and another in 3/4 time should end
simultaneously.  A third staff in 2/4 time should begin simultaneously
with the staff in 3/4 time (apart from its grace note) and end after
2@tie{}measures in 3/4 time."
}

\layout {
  \enablePerStaffTiming

  \context {
    \Staff
    \consists Bar_number_engraver
    \consists Staff_collecting_engraver
    \override BarNumber.break-visibility = #all-visible
    barNumberVisibility = #all-bar-numbers-visible
  }
  \context {
    \Score
    \remove Bar_number_engraver
    \remove Staff_collecting_engraver
  }
}

\fixed c' <<
  \new Staff = "A" {
    \time 4/4 g1 | a1 | b1 |
  }
  {
    \skip 2.
    \new Staff = "B" {
      \time 3/4 e2. | f2. | g2. |
    }
  }
  {
    \skip 2.
    \new Staff = "C" {
      \time 2/4 \grace d8 c2 | d2 | e2 |
    }
  }
>>



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