[Top][All Lists]
[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 23:06:01 +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 22:53:26 schrieb chip:
> trumpet = {
> \global
> \set Staff.instrumentName = #"Trumpet 1"
> \set Staff.shortInstrumentName = #"Tpt 1" ~~~~~~~ I set this so
> it shows on all the score pages
> \set
> \clef treble
> <<
> \trpt
> >>
> }
[...]
> \book { \score { << \new Staff = "trumpet" \with { \remove
> shortInstrumentName } \trumpet >> } }
You can't unset shortInstrumentName here, since \trumpet will later set it
again... (also, you'd have to use \unset rather than \remove to unset a
variable like shortInstrumentName)
However, you can remove the engraver, i.e. the internal program part that is
responsible for reading the shortInstrumentName setting and generating the
appropriate graphical object for it; Lilypond consists of lots of such small
independent modules (engravers), where each is responsible for one small part
of the output. That way it is simple to turn of some output by simply removing
the engraver.:
\book { \score { << \new Staff = "trumpet" \with { \remove
Instrument_name_engraver } \trumpet >> } }
Attached is the file from you mail, where I only changed shortInstrumentName
to Instrument_name_engraver (and commented/removed lines that referred to
definitions you deleted).
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)
iD8DBQFJYoRLTqjEwhXvPN0RApMmAJ9zsZwRQa2ZEjQrzR/lnQAF4KoVdQCgucHn
E1NhZvaum+k6TbzvquAfOSs=
=stjg
-----END PGP SIGNATURE-----
shortInsrumentName.ly
Description: Text Data
- short instrument name setting, chip, 2009/01/05
- Re: short instrument name setting, Reinhold Kainhofer, 2009/01/05
- Re: short instrument name setting, chip, 2009/01/05
- Re: short instrument name setting, Reinhold Kainhofer, 2009/01/05
- Re: short instrument name setting, chip, 2009/01/05
- Re: short instrument name setting,
Reinhold Kainhofer <=
- Re: short instrument name setting, chip, 2009/01/05
- Re: short instrument name setting, Reinhold Kainhofer, 2009/01/05
- Re: short instrument name setting, chip, 2009/01/05
- Re: ANN: MIDI input plugin for jEdit, David Raleigh Arnold, 2009/01/06
- Re: short instrument name setting, Cameron Horsburgh, 2009/01/05
Re: short instrument name setting, Kieren MacMillan, 2009/01/05
Re: short instrument name setting, Graham Percival, 2009/01/07