On 11.11.2009, at 22:37, Peter Kaplan wrote:
When a repeated section begins in one clef and ends in another (as
in the Basso
Continuo part I'm working on), it would be nice to be able to add a
"reminder"
clef at the end of the repeated section, to alert the player to
return to the
original clef when the repeat sign is reached.
This behavior is easy to implement when the repeated section comes
at the end of
the score; a simple \clef tenor can be placed after the final note
and the tenor
clef will appear between the final note and the end of the bar --
perfect.
However, when the repeated section does not come at the end of the
score, this
same fix fails. Lilypond instead looks to see if there are any
notes following
the reminder clef, finds none, and omits the reminder clef when
engraving. Is
there an alternative way to manually place a clef object for use in
such cases?
Snippet can be found at http://pefty.elementfx.com/audio/snippet.ly
In such a case, I would use markup: have a hidden time signature with
one extra quarter note, remove the stem from the note engraver,
change the stencil for the notehead to be the requested clef, and
then use either \raise or \lower to get it to the proper height.
James E. Bailey
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user