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


_______________________________________________
bug-lilypond mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-lilypond

Reply via email to