%% 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-scripts.ly" \header{ texidoc=" Markings can be attached to (invisible) barlines. " } \layout { ragged-right = ##t } onestaff = \new Staff\relative c'' { \set Staff.instr = instr \set Staff.instrument = instrument \mark "B" c1 \mark "A" \break c2 c2 \break } grstaff = \relative c'' \context GrandStaff << \new Staff { \set Staff.instr = instr \mark "B" \break c1 \mark "A" c2 } \new Staff { c1 c2 } >> \score {\grstaff} % **************************************************************** % end ly snippet % ****************************************************************