%% 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-stable-2.16/input/regression/grid-lines.ly"
\sourcefileline 0
\header
{

  texidoc = "With grid lines, vertical lines can be drawn between
staves synchronized with the notes."

}
\version "2.16.0"

skips =
{
  \time 12/8
  \once  \override Score.GridLine #'thickness = #4.0
  s8 
  s8 
  s8 
  \once  \override Score.GridLine #'thickness = #3.0
  s8 
  s8 
  s8 
  \once  \override Score.GridLine #'thickness = #4.0
  s8 
  s8 
  s8 
  \once  \override Score.GridLine #'thickness = #3.0
  s8 
  s8 
  s8 
}


\layout {
  \context {
    \Staff
    \consists "Grid_point_engraver"
    
  }

  \context {
    \RhythmicStaff
    \consists "Grid_point_engraver"
    gridInterval = #(ly:make-moment 1 8)
    \override BarLine #'bar-extent = #'(-0.025 . 0.025)
  }
  \context {
    \StaffGroup
    \remove "System_start_delimiter_engraver" 
  }
  \context {
    \Score
      \consists "Grid_line_span_engraver"
      \override SystemStartBrace #'transparent = ##t

      \override NoteColumn #'X-offset = #-0.5
      \override NoteHead #'Y-offset = #0.75
  }
}

\layout {
  ragged-right = ##t
}
\score {
\new StaffGroup <<
  \new RhythmicStaff \with
  {
    \override NoteHead  #'no-ledgers = ##t
  }
  {
    \stemUp
    c4. c8 c8 c c4 c8 c8.[ c16 c8]
  }
  \new RhythmicStaff
  {
    \override NoteHead #'transparent = ##t
    \override NoteHead #'no-ledgers = ##t
    \override Stem #'transparent = ##t
    \override Flag #'transparent = ##t
    \override Beam #'transparent = ##t
    << \skips

				% force regular spacing by introducing notes.
       \repeat unfold 12 c8
     >>
  }
  
>>
}




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