%% 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/volta-bracket-grace-synchronization.ly"
\sourcefileline 0
\version "2.25.32"

\header {
  texidoc = "Volta brackets correctly span alternatives when multiple voices
begin with different lengths of grace notes.  The brackets in the shared staff
should look like the brackets in the part staves."
}

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

voiceA = \fixed c' {
  \repeat volta 3 {
    e'1
    \alternative {
      e'1
      e'1
      e'1
    }
    %% Additional material after \alternative avoids entangling this case with
    %% repeat bar lines.
    e'1
  }
}

voiceB = \fixed c' {
  \repeat volta 3 {
    c'1
    \alternative {
      { \grace d'8 c'1 }
      { \grace d'8 c'1 }
      { \grace d'8 c'1 }
    }
    %% Additional material after \alternative avoids entangling this case with
    %% repeat bar lines.
    \grace d'8 c'1
  }
}

voiceC = \fixed c' {
  \repeat volta 3 {
    a1
    \alternative {
      { \grace { f8 g } a1 }
      { \grace { f8 g } a1 }
      { \grace { f8 e } d1 }
    }
    %% Additional material after \alternative avoids entangling this case with
    %% repeat bar lines.
    \grace { f8 e } d1
  }
}

shared = << \voiceA \\ \voiceB \\ \voiceC >>

\score { \new Staff \with { instrumentName = "A" } \voiceA }
\score { \new Staff \with { instrumentName = "B" } \voiceB }
\score { \new Staff \with { instrumentName = "C" } \voiceC }
\score {
  \new Staff \with { instrumentName = \markup \column { A B C } } \shared
}



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