Hi all,
Sorry for the noise, I have now figured it out myself: The cue clef after the cue notes is actually not a CueClef grob, but a CueEndClef. Once this is clear, using \once\omit Staff.CueEndClef works perfectly fine to hide the cue end clef (example attached).

Best regards,
Reinhold

Am 2015-04-09 um 13:45 schrieb Reinhold Kainhofer:
Hi all,
I have a piece, where the Fagotto part is written in tenor clef and after some measures rests switches to bass clef. Now, when I use \cueDuringWithClef to cue other instruments during those rests, the end of the cue notes will display two clefs: one to revert the cue clef (smaller) and one to make the actual clef change. Attached is a minimal example.

I have tried everything, like \hide CueClef etc, but I have not found any way to prevent the second cue clef (to unset the treble cue clef) from appearing...

Any idea how I can suppress the bass cue clef in this example?

Thanks a lot,
Reinhold



_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


--
------------------------------------------------------------------
Reinhold Kainhofer, reinh...@kainhofer.com, http://www.kainhofer.com/
 * Open Tools, Software Development, http://www.open-tools.net/
 * Edition Kainhofer, Music Publisher, http://www.edition-kainhofer.com/

\version "2.18.2"

ObMusic = \relative c'' { c2 c | c c | c c | c c }
\addQuote "Ob" \ObMusic

\relative c { \clef "tenor" d1  | R1 | \cueDuringWithClef #"Ob" #UP "treble" { R1 \once\omit Staff.CueEndClef } | \clef "bass" c1 }

Attachment: cue-during-with-clef.pdf
Description: Adobe PDF document

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to