]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/instrument-name-markup.ly
* lily/beam-quanting.cc (score_forbidden_quants): remove
[lilypond.git] / input / regression / instrument-name-markup.ly
index 5a58fb68773661d683f2ee76718e70f876ee94f2..966d8c27087dc36729703a0c7be233e17975da27 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.0"
+\version "2.3.4"
 
 
-textFlat = \markup {\smaller \musicglyph #"accidentals--1"}
+textFlat = \markup {\smaller \flat}
+
 \score {
-  \notes \context Staff = treble {
-    \property Staff.instrument
-       = \markup { \column << "Clarinetti" { "in B" \textFlat } >> }
-    \property Staff.instr
-       = \markup { \smaller  { "Cl(B" \textFlat ")" } }
+   \new Staff {
+    \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 }
 }