-\version "2.1.28"
-\header { texidoc = "There are both long and short intstrument names.
+\version "2.16.0"
+\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)
-\score{
- \context Staff <<
- \set Staff.instrument = "instrument"
- \set Staff.instr = "instr"
- \notes{c''1 \break R1 }
- >>
- \paper {
- \translator { \StaffContext
- \consists Instrument_name_engraver
+multimeasure rests. "
+
+}
+
+\layout {
+ ragged-right = ##t
+ \context {
+ \Staff
+ \consists "Instrument_name_engraver"
- }
- }
- \paper { raggedright = ##t }
- }
+ }
+}
+\context Staff <<
+ \set Staff.instrumentName = "instrument"
+ \set Staff.shortInstrumentName = "instr"
+ {c''1 \break R1 }
+>>