]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/bar-scripts.ly
Fix some bugs in the dynamic engraver and PostScript backend
[lilypond.git] / input / regression / bar-scripts.ly
index 5270fa9833b7cd7fb39d477c074fe9450948fff3..37fcf6ddd2c20d33cc6c57f69fafe8cf31c60519 100644 (file)
@@ -1,29 +1,28 @@
-#(ly:set-option 'old-relative)
-\version "1.9.1"
+\version "2.7.39"
 \header{
 texidoc="
 
-Markings that are attached to (invisible) barlines are 
-delicate: the are attached to the rest of the score without the score
-knowing it.  Consequently, they fall over  often.
+Markings can be attached to (invisible) barlines.
 "
 }
 
+\layout { ragged-right = ##t }
 
-onestaff =  \context Staff = foo\notes\relative c''  {
-       \property Staff.instr = instr
-       \property Staff.instrument = instrument \mark "B"
+onestaff = \new Staff\relative c''  {
+       \set Staff.instr = instr
+       \set Staff.instrument = instrument \mark "B"
         c1 \mark "A" \break c2  c2 \break
 }
 
-grstaff =  \notes \relative c'' \context GrandStaff <
-       \context Staff = bar {
+grstaff =  \relative c''
+\context GrandStaff <<
+       \new Staff {
 
-       \property Staff.instr = instr
+       \set Staff.instr = instr
        
         \mark "B" \break c1 \mark "A" c2  }
-       \context Staff = bufl { c1 c2  }
->
+       \new Staff { c1 c2  }
+>>
 
 
 \score {\grstaff}