]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/instrument-name-markup.ly
Web-ja: update introduction
[lilypond.git] / input / regression / instrument-name-markup.ly
index 07193b4e51e8d9122119cb625babfd8ec27d79c1..124e4e33c9bc9a8c901b050f49eab8a386b4b013 100644 (file)
@@ -1,26 +1,25 @@
 \header {
 
-texidoc = "Instrument names are set with @code{Staff.instrument} and
+  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 "2.1.30"
+\layout { ragged-right = ##t }
 
+\version "2.16.0"
 
 textFlat = \markup {\smaller \flat}
 
-\score {
-  \notes \new Staff {
-    \set Staff.instrument = \markup { \column < "Clarinetti" { "in B" \textFlat } > }
-    \set Staff.instr = \markup { \smaller  { "Cl(B" \textFlat ")" } }
+\new Staff {
+  \set Staff.instrumentName = \markup { \column { "Clarinetti" \line { "in B" \textFlat } } }
+  \set Staff.shortInstrumentName = \markup { \smaller  { "Cl(B" \textFlat ")" } }
 
-    { c''1 \break c'' }
-
-  }
-  \paper { raggedright = ##t }
+  { c''1 \break c'' }
 }
 
 
+
+