X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Fregression%2Finstrument-name-markup.ly;h=f85066b599abe0b0cd28becef039aafb459edfe1;hb=3f1e8dc68d267b039b9e231564d0e60c67d14429;hp=e5e902a5c6c2fb175b9fcfe556c17b6954260839;hpb=11613b92019bb42418863f43de92287a64878f14;p=lilypond.git diff --git a/input/regression/instrument-name-markup.ly b/input/regression/instrument-name-markup.ly index e5e902a5c6..f85066b599 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.9.2" +\layout { ragged-right = ##t } +\version "2.9.13" -textFlat = \markup {\smaller \musicglyph #"accidentals--1"} -\score { - \notes \new Staff { - \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'' } } + +