Comment #6 on issue 2076 by [email protected]: Doc: improve NR 1.6.3 Instrument names (better to use \with )
http://code.google.com/p/lilypond/issues/detail?id=2076

If you change the instrument name in the middle of the piece, then you
must use the  \set Staff.shortInstrumentName = #"two"  syntax and
cannot use the  \with  "thing" since you are not at the creation of
the context (the staff already exists).
But this practice of changing the displayed instrument name in the
middle of the piece is very uncommon I think.

Here is my advice:

%%%%

\new Staff \with {
  instrumentName = #"First"
  shortInstrumentName = #"one"
} {
  c1 c c c \break
  c1 c c c \break
  \set Staff.instrumentName = #"Second"
  \set Staff.shortInstrumentName = #"two"
  c1 c c c \break
  c1 c c c \break
}

%%%%

Thank you.

Xavier



_______________________________________________
bug-lilypond mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-lilypond

Reply via email to