%% 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
  force-assignment = #""
  line-width = #(- line-width (* mm  3.000000))
}

\layout {
  
}



% ****************************************************************
% ly snippet:
% ****************************************************************
\sourcefilename "bar-scripts.ly"
\sourcefileline 0
\version "2.10.0"
\header{
texidoc="

Markings can be attached to (invisible) barlines.
"
}

\layout { ragged-right = ##t }

onestaff = \new Staff\relative c''  {
	\set Staff.shortInstrumentName = instr
	\set Staff.instrumentName = instrument \mark "B"
	 c1 \mark "A" \break c2  c2 \break
}

grstaff =  \relative c''
\context GrandStaff <<
	\new Staff {

	\set Staff.shortInstrumentName = instr
	
	 \mark "B" \break c1 \mark "A" c2  }
	\new Staff { c1 c2  }
>>


\score {\grstaff}




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