%% 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/polymeter-ossia.ly"
\sourcefileline 0
\version "2.24.2"

#(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 {
  \enablePolymeter

  \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
% ****************************************************************
