From fe7e04f0a0d88a9b6fe1b9a387a9d9a8a546a320 Mon Sep 17 00:00:00 2001 From: Graham Percival Date: Wed, 4 Oct 2006 19:53:54 +0000 Subject: [PATCH] Info about adding names to pianostaffs and other contexts, thanks Marcus! --- ChangeLog | 6 ++++++ Documentation/user/advanced-notation.itely | 18 +++++++++++++++++- THANKS | 1 + 3 files changed, 24 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index ae0c37a469..83ebd68431 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2006-10-04 Graham Percival + + * Documentation/user/advanced-notation.itely: added + info about instrument names for piano or other contexts, + thanks Marcus! + 2006-10-04 Han-Wen Nienhuys * mf/feta-bolletjes.mf (solfa_quarter_width): use diff --git a/Documentation/user/advanced-notation.itely b/Documentation/user/advanced-notation.itely index f5802482a3..c5a868393d 100644 --- a/Documentation/user/advanced-notation.itely +++ b/Documentation/user/advanced-notation.itely @@ -976,7 +976,9 @@ In an orchestral score, instrument names are printed at the left side of the staves. This can be achieved by setting @internalsref{Staff}.@code{instrument} -and @internalsref{Staff}.@code{instr}. This will print a string before +and @internalsref{Staff}.@code{instr}, or +@internalsref{PianoStaff}.@code{instrument} and +@internalsref{PianoStaff}.@code{instr}. This will print text before the start of the staff. For the first staff, @code{instrument} is used, for the following ones, @code{instr} is used. @@ -1035,6 +1037,20 @@ To center instrument names while leaving extra space to the right, >> @end lilypond +To add instrument names to other contexts (such as @code{GrandStaff}, +@code{ChoirStaff}, or @code{StaffGroup}), the engraver must +be added to that context. + +@example +\layout@{ + \context @{\GrandStaff \consists "Instrument_name_engraver"@} +@} +@end example + +@noindent +More information about adding and removing engravers can +be found in @ref{Modifying context plug-ins}. + @seealso diff --git a/THANKS b/THANKS index 76c9dabfa1..f7b33a3ba1 100644 --- a/THANKS +++ b/THANKS @@ -72,6 +72,7 @@ Keith Packard Kieren MacMillan Lee T. Wilkirson Mark Dewey +Marcus Macauley Markus Schneider Matti Aaltonen Michael Meixner -- 2.39.5