]> 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 2ddfbe72b42fb14e37763f89d777b1a36a72ea16..124e4e33c9bc9a8c901b050f49eab8a386b4b013 100644 (file)
@@ -1,27 +1,25 @@
 \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.7.16"
+\layout { ragged-right = ##t }
 
+\version "2.16.0"
 
-textFlat = \markup {\smaller \musicglyph #"accidentals--1"}
-\score {
-  \notes \context Staff = treble {
-    \property Staff.instrument
-       = \markup { \column << "Clarinetti" { "in B" \textFlat } >> }
-    \property Staff.instr
-       = \markup { \smaller  { "Cl(B" \textFlat ")" } }
+textFlat = \markup {\smaller \flat}
 
-    { c''1 \break c'' }
+\new Staff {
+  \set Staff.instrumentName = \markup { \column { "Clarinetti" \line { "in B" \textFlat } } }
+  \set Staff.shortInstrumentName = \markup { \smaller  { "Cl(B" \textFlat ")" } }
 
-  }
-  \paper { linewidth= 8.0\cm }
+  { c''1 \break c'' }
 }
 
-%% new-chords-done %%
+
+
+