]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/multi-measure-rest-instr-name.ly
new file.
[lilypond.git] / input / regression / multi-measure-rest-instr-name.ly
index 1718c3a65d9cdc61c573ae298fa825b7016b34b6..a84e2c27a9df1742041e856242567676d090d4a4 100644 (file)
@@ -1,21 +1,27 @@
-\version "2.1.28"
-\header { texidoc = "There are both long and short intstrument names.
+\version "2.3.4"
+\header {
+
+    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)
+multimeasure rests. "
+
+}
+
 \score{
-       \context Staff <<
-             \set Staff.instrument = "instrument"
-             \set Staff.instr = "instr"
-             \notes{c''1 \break R1 }
-           >>
-        \paper {
-           \translator { \StaffContext
+    \context Staff <<
+       \set Staff.instrument = "instrument"
+       \set Staff.instr = "instr"
+       {c''1 \break R1 }
+    >>
+    \paper {
+       raggedright = ##t
+       \context {
+           \Staff
            \consists Instrument_name_engraver
 
-           }
-         }
-       \paper { raggedright = ##t }
        }
+    }
+}
+