]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/multi-measure-rest-instr-name.ly
(setcolor): implement (re)setcolor with <g>
[lilypond.git] / input / regression / multi-measure-rest-instr-name.ly
index 3c6dbb7da41ce465d3eedc1c442be4debfd68e46..7c0c4624c74ac5a96ad01cf9deb817bb20528f05 100644 (file)
@@ -1,20 +1,27 @@
-\version "1.9.8"
-\header { texidoc = "This combines instrument names and multimeasure rests (there was an
-interesting bug in 1.3.98). " }
+\version "2.4.0"
+\header {
+
+    texidoc = "There are both long and short instrument names.
+Engraving instrument names should not be confused by the
+multimeasure rests. "
+
+}
 
 \score{
-       \context Staff <<
-             \property Staff.instrument = "instrument"
-             \property 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 }
+    >>
+    \layout {
+       raggedright = ##t
+       \context {
+           \Staff
            \consists Instrument_name_engraver
 
-           }
-         }
-       \paper { raggedright =  ##t }
        }
+    }
+}
+