X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Fregression%2Finstrument-name-markup.ly;h=124e4e33c9bc9a8c901b050f49eab8a386b4b013;hb=16d46fb0995cc6d078617ada1e8fea7879dffe07;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..124e4e33c9 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.16.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 %% + + +