Hi, When typesetting ancient music, one may want to produce two editions: eventually one with original clefs, as found in the manuscripts, and an other one with new fashioned clefs. It is also custom in the later case to print first the ancient clef (which bears some extra meaning, for instance which particular instrument should play that part), then the modern one, at the beginning of a piece.
I use a customized version of the \clef command, which allows specifying two clefs, eg. \clef "soprano/treble". If some option is set, it behaves like \clef "soprano", otherwise it behaves like \clef "treble", except at the beginning of the first line, where a little soprano clef is printed before the treble clef. The first-clef property makes it possible to detect when it is the beginning of the piece. The attached patch adds this first-clef grob property. May I apply it? I understand that it may not be preferable to add code that presumably would be useful to a single person... but this patch is very tiny :-) And I've seen some posts showing interest for this kind of feature. Nicolas
first-clef.patch
Description: Binary data
_______________________________________________ lilypond-devel mailing list lilypond-devel@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-devel