%% 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/musicxml/23c-Tuplet-Display-NonStandard.xml"
\sourcefileline 0
\version "2.26.0"
% automatically converted by musicxml2ly from -
\pointAndClickOff

\header {
  texidoc = "Displaying tuplet note types that might not coincide with the
    displayed note. The tuplets in measure 1 derive the type from the note, the
    tuplets in measure 2 use the <normal-type and <normal-dot> children of the
      <time-modification> element, and the remaining tuplets use the
      <tuplet-type> and <tuplet-dot> children of the <tuplet> element.

      The tuplets in measure 3 specify both a number of notes and a type inside
      the <tuplet-actual> and <tuplet-normal> elements, the ones in measure 4
      specify only a note type (but no number), and the ones in measure 5
      specify only a number of tuplet notes (but no type, which is deduced from
      the note's type).

      The first tuplets of measures 3 to 5 use the attribute
      ‘display-type=\"actual\"’, the second ones ‘display-type=\"both\"’.

      FIXME: The tuplet-normal should coincide with the real notes!"
  }
  \layout {
    \context {
      \Staff
      printKeyCancellation = ##f
    }
    \context {
      \Score
      autoBeaming = ##f
    }
  }
  PartPOneVoiceOne = \relative c'' {
    \clef "treble" \time 4/4 \key c \major \tweak TupletNumber.text
    #(tuplet-number::append-note-wrapper tuplet-number::calc-denominator-text
    (ly:make-duration 3 0 1)) \tuplet 3/2 {
      c8 c8 c8 }
    \tweak TupletNumber.text #(tuplet-number::append-note-wrapper
    tuplet-number::calc-denominator-text (ly:make-duration 2 1 1)) \tuplet 3/2 {
      c4. c4. c4. }
    | % 1
    \tweak TupletNumber.text #(tuplet-number::append-note-wrapper
    tuplet-number::calc-denominator-text (ly:make-duration -1 0 1)) \tuplet 3/2
    {
      c8 c8 c8 }
    \tweak TupletNumber.text #(tuplet-number::append-note-wrapper
    tuplet-number::calc-denominator-text (ly:make-duration -1 2 1)) \tuplet 3/2
    {
      c4. c4. c4. }
    | % 2
    \tweak TupletNumber.text #(tuplet-number::append-note-wrapper
    (tuplet-number::non-default-tuplet-fraction-text 7 5) (ly:make-duration 2 3
    1)) \tuplet 7/5 {
      c8*14/15 c8*14/15 c8*14/15 }
    \tweak TupletNumber.text #(tuplet-number::non-default-fraction-with-notes 7
    (ly:make-duration 4 0 1) 5 (ly:make-duration 1 1 1)) \tuplet 7/5 {
      c4.*14/15 c4.*14/15 c4.*14/15 }
    \break | % 3
    \tweak TupletNumber.text #(tuplet-number::append-note-wrapper
    tuplet-number::calc-fraction-text (ly:make-duration 2 3 1)) \tuplet 3/2 {
      c8 c8 c8 }
    \tweak TupletNumber.text #(tuplet-number::fraction-with-notes
    (ly:make-duration 4 0 1) (ly:make-duration 1 1 1)) \tuplet 3/2 {
      c4. c4. c4. }
    | % 4
    \tweak TupletNumber.text #(tuplet-number::append-note-wrapper
    (tuplet-number::non-default-tuplet-denominator-text 7) (ly:make-duration 3 0
    1)) \tuplet 3/2 {
      c8 c8 c8 }
    \tweak TupletNumber.text #(tuplet-number::non-default-fraction-with-notes 7
    (ly:make-duration -1 0 1) 5 (ly:make-duration 3 1 1)) \tuplet 7/5 {
      c4.*14/15 c4.*14/15 c4.*14/15 }
    \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
% ****************************************************************
