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

\header {
  texidoc = "The @code{\\enablePerStaffTiming} command makes
@code{measureLength} and other timing properties independent between staves."
}

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

\layout {
  \enablePerStaffTiming
}

<<
 \new Staff { \time 4/4 c'1 | d' | f' }
  \new PianoStaff <<
    \new Staff { \time 3/4 c'2. | 4 2 | 2 4 | 4 4 4 }
    \new Dynamics { \time 3/4 s2.\p\< s\> s\! s }
    \new Staff { \time 3/4 c'2. | 4 2 | 2 4 | 4 4 4 }
  >>
 {
   \skip 4 % check after all the \time commands are done
   \contextPropertyCheck Score.beamExceptions \default
   \contextPropertyCheck Score.beatBase \default
   \contextPropertyCheck Score.beatStructure \default
   \contextPropertyCheck Score.measureLength \default
   \contextPropertyCheck Score.meterScalingFactor \default
   \contextPropertyCheck Score.submeasureStructure \default
   %% Score.timeSignature 4/4 is initialized in engraver-init.ly, so removing
   %% Timing_translator does not affect it.  It looks inconsistent here, but it
   %% is practical: the Score setting is visible as the default time signature
   %% in each Staff context.
   \contextPropertyCheck Score.timeSignature 4/4
 }
>>



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