[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: InstrumentSwitch in CueVoice
From: |
Keith OHara |
Subject: |
Re: InstrumentSwitch in CueVoice |
Date: |
Sun, 22 Dec 2013 06:29:55 +0000 (UTC) |
User-agent: |
Loom/3.14 (http://gmane.org/) |
Timothy Lanfear <lanfear <at> costamagna.demon.co.uk> writes:
> > Keith OHara <k-ohara5a5a <at> oco.net> writes:
>
> > The double printing from an \instrumentSwitch is issue 2835.
> > \instrumentSwitch has been called into service for two jobs
>
> Thanks. you gave me enough hints to construct my preferred solution.
> \addInstrumentDefinition #"Treble"
> #`((instrumentCueName . ,(make-bold-markup "treb.")))
Would markup work just as well in your case ?
labelTreble = <>^\markup\bold"treb."
This automatically conforms to the size of the Voice or CueVoice in which
it is used.
Or, do you do other things with the addInstrumentDefinition ?
The simplest way to fix the double-printing issue would be
1) make all \instrumentSwitch effects apply to to the Staff,
2) have convert-ly change
\set instrumentCueName="a" ==> \set Staff.instrumentSwitchMark="a"
3) remove the documentation about using
\set instrumentCueName
as a way to make only the markup, without other \intrumentSwitch effects