%% 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/musicxml/23d-Tuplets-Nested.xml"
\sourcefileline 0
\version "2.25.35"
% automatically converted by musicxml2ly from -
\pointAndClickOff

\header {
  texidoc = "Tuplets can be nested. The first bar contains a 5:2 tuplet (with
    16th notes) in the middle of a 3:2 tuple (with eighth notes). The second bar
    has a 5:2 tuplet at the beginning and at the end (with the tuplet number
    forced below) of a 3:2 tuple (with the bracket forced above). The third bar
    changes the <divisions> value and contains a triplet with eighths on the
    last beat of another triplet with quarter notes."
}
\layout {
  \context {
    \Staff
    printKeyCancellation = ##f
  }
  \context {
    \Score
    autoBeaming = ##f
  }
}
PartPOneVoiceOne = \relative b' {
  \clef "treble" \time 2/4 \key c \major \tuplet 3/2 {
    b8 [ b8 ] \tuplet 5/4 {
      b16 [ b16 b16 b16 b16 ] }
    b8 [ b8 ] }
  | % 1
  \tweak TupletBracket.direction #UP \tuplet 3/2 {
    \tweak TupletBracket.direction #DOWN \tuplet 5/4 {
      b16 [ b16 b16 b16 b16 ] }
    b8 [ b8 ] \tweak TupletBracket.direction #DOWN \tuplet 5/4 {
      b16 [ b16 b16 b16 b16 ] }
  }
  | % 2
  \tuplet 3/2 {
    b4 c,4 \tweak TupletBracket.stencil ##f \tweak TupletNumber.text
    #(tuplet-number::non-default-tuplet-denominator-text 3) \tuplet 9/4 {
      g8*3/2 [ g8*3/2 g8*3/2 ] }
  }
  \bar "|."
}


% The score definition
\score {
  <<
    \new Staff = "P1" <<
      \context Staff <<
        \override Staff.BarLine.allow-span-bar = ##f
        \mergeDifferentlyDottedOn
        \mergeDifferentlyHeadedOn
        \context Voice = "PartPOneVoiceOne" {
          \PartPOneVoiceOne
        }
      >>
    >>
  >>
  \layout {}
  % To create MIDI output, uncomment the following line:
  % \midi { \tempo 4 = 100 }
}




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