]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/bar-scripts.ly
Corrected on_line for better ledger lines for different staves.
[lilypond.git] / input / regression / bar-scripts.ly
index 8b55ed541bf6f5ea917c5b11b0f9162c0beacd0d..d7b3c5d498eece7cd52a60482361d58a9f46c4ec 100644 (file)
@@ -1,30 +1,20 @@
-\version "1.9.8"
+\version "2.11.51"
 \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.
 "
 }
 
-\paper { raggedright = ##t }
+\layout { ragged-right = ##t }
 
-onestaff =  \new Staff\notes\relative c''  {
-       \property Staff.instr = instr
-       \property Staff.instrument = instrument \mark "B"
-        c1 \mark "A" \break c2  c2 \break
-}
-
-grstaff =  \notes \relative c'' \context GrandStaff <<
+\relative c''
+\context GrandStaff <<
        \new Staff {
 
-       \property Staff.instr = instr
+       \set Staff.shortInstrumentName = instr
        
         \mark "B" \break c1 \mark "A" c2  }
        \new Staff { c1 c2  }
 >>
 
-
-\score {\grstaff}
-