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 20:09:50 +0000


Comment #5 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

David,

Thanks. with regard to the second example:

--snip--
@lilypond[verbatim,quote,ragged-right,relative=1]
\set Staff.instrumentName = #"First"
\set Staff.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
@end lilypond

--snip--

If I use the \new Staff \with { } construct I get the same number of measures and lines but the last two lines split into a GroupStaff. So I cannot see how to re-write this example.

@lilypond[verbatim,quote,ragged-right,relative=1]
\new Staff \with {
  instrumentName = #"First"
  shortInstrumentName = #"one"
}
{
  c1 c c c \break
  c1 c c c \break
}
\new Staff \with {
  instrumentName = #"Second"
  shortInstrumentName = #"two"
}
{
  c1 c c c \break
  c1 c c c \break
}
@end lilypond

Can you (or anyone) advise?

James

Attachments:
        Original.png  14.4 KB
        AlteredExample.png  22.6 KB




reply via email to

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