X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Fregression%2Finstrument-name-markup.ly;h=fc9e20a4bf1040d40febeef52e1b25baab0193cb;hb=679bd1056a71f376af7ee6975d6dc6784cfbafb0;hp=8ef775539945eb2444f4b5eac7e2a48ac3307a8d;hpb=34eb783cd6b1af2fd7cf2c573ec9dc7e9d16e7f7;p=lilypond.git diff --git a/input/regression/instrument-name-markup.ly b/input/regression/instrument-name-markup.ly index 8ef7755399..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.6.0" +\layout { ragged-right = ##t } +\version "2.10.0" textFlat = \markup {\smaller \flat} -\score { - \new Staff { - \set Staff.instrument = \markup { \column { "Clarinetti" \line { "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'' } } + +