%% 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/polymetric-time-staff-with-scaled-meter.ly"
\sourcefileline 0
\version "2.25.32"

\header {
  texidoc = "@code{\\scaleDurations @dots{} \\polymetric \\time @dots{}} can be
used in a @code{\with} block.  In the first measure, the bass staff should have
a time signature of (3+1)/1, and it should contain four whole notes aligned with
the four quarter notes in the treble staff.  In the second measure, the bass
staff should revert to 4/4 time."
}

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

\fixed c' <<
  \new Staff {
    \repeat unfold 8 c4
  }
  \new Staff \with {
    \scaleDurations 1/4 { \context Staff \polymetric \time #'((3 1) . 1) }
    \clef "bass"
  } {
    \scaleDurations 1/4 {
      \repeat unfold 4 c1
    }
    \context Staff \polymetric \default
    \contextPropertyCheck Staff.beamExceptions \default
    \contextPropertyCheck Staff.beatBase \default
    \contextPropertyCheck Staff.beatStructure \default
    \contextPropertyCheck Staff.measureLength \default
    \contextPropertyCheck Staff.meterScalingFactor \default
    \contextPropertyCheck Staff.submeasureStructure \default
    \repeat unfold 4 c4
  }
>>



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