X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Fregression%2Finstrument-name-markup.ly;h=fc9e20a4bf1040d40febeef52e1b25baab0193cb;hb=0814eb254c79c03bce8a8db49e8779e8f9a8683a;hp=e32678dd63177385bf7cdb341063f19c4625681a;hpb=3d04206a83222e89d99ddf1a0766b6b74f158967;p=lilypond.git diff --git a/input/regression/instrument-name-markup.ly b/input/regression/instrument-name-markup.ly index e32678dd63..fc9e20a4bf 100644 --- a/input/regression/instrument-name-markup.ly +++ b/input/regression/instrument-name-markup.ly @@ -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.5.2" +\layout { ragged-right = ##t } +\version "2.10.0" textFlat = \markup {\smaller \flat} -\score { - \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'' } - - } - \layout { raggedright = ##t } + { c''1 \break c'' } } + +