%% Generated by lilypond-book
%% Options: [exampleindent=10.16\mm,indent=0\mm,line-width=140\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 = 140\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/41i-PartNameDisplay-Override.xml"
\sourcefileline 0
\version "2.26.0"
% automatically converted by musicxml2ly from -
\pointAndClickOff

\header {
  texidoc = "MusicXML allows <part-name> and <part-name-display> in the
    <score-part> element. If <part-name-display> is given, it overrides
    <part-name> for display.

    The first staff uses only <part-name>, while the second one (with the same
    <part-name> value) overrides it with a custom text.

    In a similar vein, <part-abbreviation> can be overridden with
    <part-abbreviation-display>, shown in the second system.

    The multi-line entries are generated by using ‘xml:space=\"preserve\"’ as an
    attribute within a <display-text> child of the <xxx-display> element."
}
\layout {
  \context {
    \Score
    autoBeaming = ##f
  }
}
PartPOneVoiceOne = \relative c' {
  c1 \break | % 1
  c1 }

PartPTwoVoiceOne = \relative c' {
  c1 \break | % 1
  c1 }


% The score definition
\score {
  <<
    \new Staff = "P1" <<
      \set Staff.instrumentName = "Part name"
      \set Staff.shortInstrumentName = "Abbrev."
      \context Staff <<
        \override Staff.BarLine.allow-span-bar = ##f
        \mergeDifferentlyDottedOn
        \mergeDifferentlyHeadedOn
        \context Voice = "PartPOneVoiceOne" {
          \PartPOneVoiceOne
        }
      >>
    >>
    \new Staff = "P2" <<
      \set Staff.instrumentName = \markup \concat { \center-column { "Part Name"
          Override } }
      \set Staff.shortInstrumentName = \markup \concat { \center-column {
          "Abbrv." "overr." } }
      \context Staff <<
        \override Staff.BarLine.allow-span-bar = ##f
        \mergeDifferentlyDottedOn
        \mergeDifferentlyHeadedOn
        \context Voice = "PartPTwoVoiceOne" {
          \PartPTwoVoiceOne
        }
      >>
    >>
  >>
  \layout {}
  % To create MIDI output, uncomment the following line:
  % \midi { \tempo 4 = 100 }
}




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