bug-lilypond
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Issue 2076 in lilypond: Doc: improve NR 1.6.3 Instrument names (bett


From: lilypond
Subject: Re: Issue 2076 in lilypond: Doc: improve NR 1.6.3 Instrument names (better to use \with )
Date: Tue, 06 Dec 2011 21:13:08 +0000


Comment #6 on issue 2076 by address@hidden: 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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]