]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/bar-scripts.ly
353aa8bb535a062fdda08165e0997897327d4178
[lilypond.git] / input / regression / bar-scripts.ly
1 \version "2.9.13"
2 \header{
3 texidoc="
4
5 Markings can be attached to (invisible) barlines.
6 "
7 }
8
9 \layout { ragged-right = ##t }
10
11 onestaff = \new Staff\relative c''  {
12         \set Staff.shortInstrumentName = instr
13         \set Staff.instrumentName = instrument \mark "B"
14          c1 \mark "A" \break c2  c2 \break
15 }
16
17 grstaff =  \relative c''
18 \context GrandStaff <<
19         \new Staff {
20
21         \set Staff.shortInstrumentName = instr
22         
23          \mark "B" \break c1 \mark "A" c2  }
24         \new Staff { c1 c2  }
25 >>
26
27
28 \score {\grstaff}
29