X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;ds=inline;f=input%2Fregression%2Finstrument-name-markup.ly;h=89da9963fc31dcceefaf08375a8089aa4b5f7b2c;hb=e90f0536f9be39ada0bef0aeb0d275dec3b2fb5b;hp=2ddfbe72b42fb14e37763f89d777b1a36a72ea16;hpb=72972afb27cf99f5ae432f4a1463d4f6de6107a0;p=lilypond.git diff --git a/input/regression/instrument-name-markup.ly b/input/regression/instrument-name-markup.ly index 2ddfbe72b4..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.16" +\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'' } } -%% new-chords-done %% + + +