]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/multi-measure-rest-instr-name.ly
Fix some bugs in the dynamic engraver and PostScript backend
[lilypond.git] / input / regression / multi-measure-rest-instr-name.ly
index b1e0343bcebc3343d51d82db31c1ce7adf16efb3..49c37b1bfa02d3fa451e8f21eed349918655d7ae 100644 (file)
@@ -1,25 +1,24 @@
-\version "2.1.29"
+\version "2.7.39"
 \header {
 
-    texidoc = "There are both long and short intstrument names.
+  texidoc = "There are both long and short instrument names.
 Engraving instrument names should not be confused by the
 multimeasure rests. "
 
-      }
-% (there was an interesting bug in 1.3.98)
-\score{
-       \context Staff <<
-             \set Staff.instrument = "instrument"
-             \set Staff.instr = "instr"
-             \notes{c''1 \break R1 }
-           >>
-        \paper {
-           \context { \StaffContext
-           \consists Instrument_name_engraver
+}
 
-           }
-         }
-       \paper { raggedright = ##t }
-       }
+\layout {
+  ragged-right = ##t
+  \context {
+    \Staff
+    \consists Instrument_name_engraver
 
+  }
+}
 
+
+\context Staff <<
+  \set Staff.instrument = "instrument"
+  \set Staff.instr = "instr"
+  {c''1 \break R1 }
+>>