%% 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/24h-GraceNote-Simultaneous.xml"
\sourcefileline 0
\version "2.26.0"
% automatically converted by musicxml2ly from -
\pointAndClickOff

\header {
  texidoc = "Simultaneous grace notes and grace note groups of different length
    starting a part or a voice.

    The topmost three staves are voices 1 to 3 of part ‘P1’, with no grace notes
    in the third staff and music starting on the second beat. There is also an
    ‘fp’ on the main note of the first staff.

    The bottommost two staves are voices 1 and 2 of part ‘P2’, with no grace
    notes in the lowest staff."
}
\layout {
  \context {
    \Staff
    printKeyCancellation = ##f
  }
  \context {
    \Score
    autoBeaming = ##f
  }
}
PartPOneVoiceOne = \relative g'' {
  \clef "treble" \time 2/4 \key c \major \grace { s8. g16 } e2 _\fp }

PartPOneVoiceTwo = \relative g'' {
  \clef "treble" \time 2/4 \key c \major \grace { s8 g16 [ a16 ] } e2 }

PartPOneVoiceThree = \relative e'' {
  \clef "treble" \time 2/4 \key c \major \grace { s4 } s4 e4 }

PartPTwoVoiceOne = \relative g'' {
  \clef "treble" \time 2/4 \key c \major \grace { g4 } e2 }

PartPTwoVoiceTwo = \relative c' {
  \clef "treble" \time 2/4 \key c \major \grace { s4 } R2 | % 1
}


% The score definition
\score {
  <<
    \new PianoStaff <<
      \set PianoStaff.instrumentName = "Part 1"
      \context Staff = "1" <<
        \mergeDifferentlyDottedOn
        \mergeDifferentlyHeadedOn
        \context Voice = "PartPOneVoiceOne" {
          \PartPOneVoiceOne
        }
      >>
      \context Staff = "2" <<
        \mergeDifferentlyDottedOn
        \mergeDifferentlyHeadedOn
        \context Voice = "PartPOneVoiceTwo" {
          \PartPOneVoiceTwo
        }
      >>
      \context Staff = "3" <<
        \override Staff.BarLine.allow-span-bar = ##f
        \mergeDifferentlyDottedOn
        \mergeDifferentlyHeadedOn
        \context Voice = "PartPOneVoiceThree" {
          \PartPOneVoiceThree
        }
      >>
    >>
    \new PianoStaff <<
      \set PianoStaff.instrumentName = "Part 2"
      \context Staff = "1" <<
        \mergeDifferentlyDottedOn
        \mergeDifferentlyHeadedOn
        \context Voice = "PartPTwoVoiceOne" {
          \PartPTwoVoiceOne
        }
      >>
      \context Staff = "2" <<
        \override Staff.BarLine.allow-span-bar = ##f
        \mergeDifferentlyDottedOn
        \mergeDifferentlyHeadedOn
        \context Voice = "PartPTwoVoiceTwo" {
          \PartPTwoVoiceTwo
        }
      >>
    >>
  >>
  \layout {}
  % To create MIDI output, uncomment the following line:
  % \midi { \tempo 4 = 100 }
}




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