lilypond-user
[Top][All Lists]
Advanced

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

Re: instrument names for GrandStaff, etc.


From: Marcus Macauley
Subject: Re: instrument names for GrandStaff, etc.
Date: Sun, 01 Oct 2006 13:43:19 -0400
User-agent: Opera Mail/9.00 (Linux)

On Sat, 30 Sep 2006 20:39:09 -0400, Kieren MacMillan <address@hidden> wrote:

Hi, Marcus:

Just a quick suggestion. Why not let a GrandStaff have an instrumentName
(and a shortInstrumentName), just like a Staff and a PianoStaff already do?

Just in case you don't know, you can always add this feature to your own scores with

\context
{
     \GrandStaff
     \consists "Instrument_name_engraver"
}

For more information, see the example at <http://www.lilypond.org/doc/ v2.9/input/test/lily-473581812.ly>.


Kieren,

That's just what I was looking for! I now see that the example in question, instrument-name-grandstaff.ly, resides in the "Tips and Tricks" section of documentation:
http://www.lilypond.org/doc/v2.9/input/test/collated-files.html

The same trick works for ChoirStaff or StaffGroup, too, adding a new \context block for each.

Perhaps this should be mentioned in the documentation, under:

8.2.5 Instrument names
http://lilypond.org/doc/v2.9/Documentation/user/lilypond/Instrument-names.html

Or are we expected to search the main documentation, and failing that, Regression Tests, Tips and Tricks, and Examples, and failing that, the email archives, and failing that, a message to lilypond-user? It seems to me, a link wouldn't hurt. And if I knew how to edit the documentation, I'd add it myself.

Anyway, thanks for the tip!

(BTW, I still don't see why the Instrument_name_engraver isn't part of the GrandStaff, if not the ChoirStaff and StaffGroup, *automatically*, but at least there's an easy enough workaround for now, so I won't complain.)

Marcus




reply via email to

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