bug-lilypond
[Top][All Lists]
Advanced

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

InstrumentSwitch in CueVoice


From: Timothy Lanfear
Subject: InstrumentSwitch in CueVoice
Date: Sat, 21 Dec 2013 17:47:55 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

> I'm not top posting.

As suggested in
http://www.lilypond.org/doc/v2.17/Documentation/notation/writing-parts#formatting-cue-notes,
I tried using instrumentSwitch to label cue voices. The instrument names are
printed twice in different size fonts. The expected output is seen when
replacing instrumentSwitch with \set instrumentCueName.

\version "2.17.97"

\addInstrumentDefinition #"Treble"
  #`((instrumentCueName . ,(make-bold-markup "treb.")))

\addInstrumentDefinition #"Tenor"
  #`((instrumentCueName . ,(make-bold-markup "ten.")))

{
  g'1
  \new CueVoice {
    \instrumentSwitch "Treble"
%   \set instrumentCueName = "treb."
    g'1
  }
  \instrumentSwitch "Tenor"
  g'1
}





reply via email to

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