%% Generated by lilypond-book.py
%% Options: [alt=[image of music],printfilename,indent=0\mm,texidoc,line-width=160\mm]
\include "lilypond-book-preamble.ly"







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

\paper {
  #(define dump-extents #t)
  
  indent = 0\mm
  line-width = 160\mm
}

\layout {
  
}



% ****************************************************************
% ly snippet:
% ****************************************************************
\sourcefilename "bar-lines-lyric-only.ly"

\header { texidoc = "@cindex Bar line lyric only
You can move @code{Bar_engraver} and @code{Span_bar_engraver} to 
a different engraving context, if you want, for example, bar lines 
on lyrics. "
}

\score {
    \relative c' \context ChoirStaff <<
	\new Staff { c1 c1 c1}
	\lyricmode <<
	    \new Lyrics  { bla1 die bla }
	>>
	\new Staff { c1 c1 c1} 
    >>


    \layout  {
	ragged-right = ##t
	\context {
	    \Lyrics
	    \consists Bar_engraver


	    %% need procedure, since lyrics doesn't have a staff_sym engraver.
	    \override BarLine #'bar-size = #3.0
	}
	\context{
	    \ChoirStaff
	    \remove "Span_bar_engraver"
	}
	\context {
	    \Staff
	    \remove "Bar_engraver"
	}
    }
}




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