lilypond-user
[Top][All Lists]
Advanced

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

Re: short instrument name setting


From: Reinhold Kainhofer
Subject: Re: short instrument name setting
Date: Mon, 5 Jan 2009 22:13:15 +0100
User-agent: KMail/1.10.3 (Linux/2.6.27-9-generic; KDE/4.1.3; i686; ; )

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am Montag, 5. Januar 2009 21:57:51 schrieb Nick Payne:
> Put a layout section in your \score:
>
> \score {
>       % your staffs here
>       \layout {
>               \context {
>                       \Staff \override InstrumentName #'stencil = ##f
>               }
>       }

Or alternatively:

\score {
        % your staffs here
        \layout {
                \context { 
                        \Staff
                        \remove "Instrument_name_engraver"
                }
        }

which is slightly more efficient, since no object for the instrument name will 
be created at all.

If you use this approach, of course, you don't have to move the 
shortInstrumentName setting to the definition of the staff at score-level (and 
leave it out for individual parts).

Cheers,
Reinhold

- -- 
- ------------------------------------------------------------------
Reinhold Kainhofer, address@hidden, http://reinhold.kainhofer.com/
 * Financial & Actuarial Math., Vienna Univ. of Technology, Austria
 * http://www.fam.tuwien.ac.at/, DVR: 0005886
 * LilyPond, Music typesetting, http://www.lilypond.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iD8DBQFJYnfsTqjEwhXvPN0RAvAqAJ44EuiBwp562gRHV+C4h2XSu2gzNgCg1CbR
O+vnpRUqj1B6HCmyhWwKqA8=
=73B1
-----END PGP SIGNATURE-----




reply via email to

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