X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Fregression%2Finstrument-name-markup.ly;h=89da9963fc31dcceefaf08375a8089aa4b5f7b2c;hb=e90f0536f9be39ada0bef0aeb0d275dec3b2fb5b;hp=ddc57dec8a4a9fc84947a2a5db20efa6c9292b5f;hpb=3db08de4502e30616808fc348b054d32822e5cc4;p=lilypond.git diff --git a/input/regression/instrument-name-markup.ly b/input/regression/instrument-name-markup.ly index ddc57dec8a..89da9963fc 100644 --- a/input/regression/instrument-name-markup.ly +++ b/input/regression/instrument-name-markup.ly @@ -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.18" +\layout { ragged-right = ##t } +\version "2.14.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'' } } + +