]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/instrument-name-markup.ly
* scripts/convert-ly.py (FatalConversionError.subst_in_trans):
[lilypond.git] / input / regression / instrument-name-markup.ly
index 89e906db6c0fe06ad8a52cff861f19ade037696c..ffd694df1e33a61f91787819e2984d82c67b7ebf 100644 (file)
@@ -1,27 +1,26 @@
 \header {
 
-texidoc = "Instrument names are set with Staff.instrument and
-Staff.instr. You can enter markup texts to create more funky names,
+texidoc = "Instrument names are set with @code{Staff.instrument} and
+@code{Staff.instr}. You can enter markup texts to create more funky names,
 including alterations. "
 
 }
 
 
-\version "1.9.4"
+\version "2.1.22"
 
 
-textFlat = \markup {\smaller \musicglyph #"accidentals--1"}
+textFlat = \markup {\smaller \semiflat}
+
 \score {
   \notes \new Staff {
-    \property Staff.instrument
-       = \markup { \column < "Clarinetti" { "in B" \textFlat } > }
-    \property Staff.instr
-       = \markup { \smaller  { "Cl(B" \textFlat ")" } }
+    \set Staff.instrument = \markup { \column < "Clarinetti" { "in B" \textFlat } > }
+    \set Staff.instr = \markup { \smaller  { "Cl(B" \textFlat ")" } }
 
     { c''1 \break c'' }
 
   }
-  \paper { linewidth= 8.0\cm }
+  \paper { raggedright = ##t }
 }