%% Generated by lilypond-book.py
%% Options: [exampleindent=10.16\mm,indent=0\mm,line-width=160\mm]
\include "lilypond-book-preamble.ly"


% ****************************************************************
% Start cut-&-pastable-section
% ****************************************************************



\paper {
  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 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-release-unstable/input/regression/span-bar-allow-span-bar.ly"
\sourcefileline 0

\version "2.17.6"

\header {
  texidoc = "The @code{SpanBarStub} grob takes care of horizontal spacing
for @code{SpanBar} grobs.  When the @code{SpanBar} is disallowed, objects
in contexts that the span bar would have otherwise crossed align as if the
span bar were not there.
"
}

<<
  \new Staff {
    \repeat unfold 64 { c''8 }
  }
  \new GrandStaff <<
    \new Staff
      \new Voice = "upper"
        \relative c'' {
          c2 c c c
          \once \override Staff.BarLine.allow-span-bar = ##f
          c2 c c c
          c2 c c c
          \once \override Staff.BarLine.allow-span-bar = ##f
          c2 c c c
        }
    \new Lyrics \lyricsto "upper" \lyricmode {
      long-syllable a b c long-syllable a b c
      long-syllable a b c long-syllable a b c
    }

    \new Staff
      \new Voice = "middle"
        \relative c'' {
          c2 c c c
          c2 c c c
          c2 c c c
          \once \override Staff.BarLine.allow-span-bar = ##f
          c2 c c c
        }
    \new Lyrics \lyricsto "middle" \lyricmode {
      syllable a b c syllable a b c
      syllable a b c syllable a b c
    }

    \new Staff
      \new Voice = "lower"
        \relative c'' {
          c2 c c c
          c2 c c c
          c2 c c c
          c2 c c c
        }
    \new Lyrics \lyricsto "lower" \lyricmode {
      word a b c word a b c
      word a b c word a b c
    }
  >>
>>



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