Hi, I noticed the placement of sharps (as key indication) in the tenor clef was wrong (or at least different from what I have in my printed music). So I corrected this and the three other cases in more esoteric clefs where I thought the placement looked odd, too. The different behaviour can be inspected with the attached test-clefs.ly. Cheers, Dirk.
--- lily/key-item.cc.x Sun Oct 31 13:39:29 1999 +++ lily/key-item.cc Sun Oct 31 13:44:24 1999 @@ -73,6 +73,17 @@ { p -= 7; /* Typeset below c_position */ } + /* Provide for the four cases in which there's a glitch */ + /* it's a hack, but probably not worth */ + /* the effort of finding a nicer solution. dl. */ + if (get_c_position ()==2 && a>0 && p==3) + p -= 7; + if (get_c_position ()==-3 && a>0 && p==-1) + p += 7; + if (get_c_position ()==-4 && a<0 && p==-1) + p += 7; + if (get_c_position ()==-2 && a<0 && p==-3) + p += 7; return p + get_c_position (); } }
\include "paper16.ly" \score { \notes \relative cis' { % \clef french; % same as octaviated bass \clef violin; \key cis \major; cis1 \key ces \major; ces \clef soprano; \key cis \major; cis \key ces \major; ces \clef mezzosoprano; \key cis \major; cis \key ces \major; ces \clef alto; \key cis \major; cis \key ces \major; ces \clef tenor; \key cis \major; cis \key ces \major; ces \clef baritone; \key cis \major; cis \key ces \major; ces \clef bass; \key cis \major; cis \key ces \major; ces } \paper{\paper_sixteen} }