Thanks. I'm starting to go with some C++ hacking. I can get the extra ledger lines as long as I don't need them, when the note is outside of the staff and normal ledger lines are created, as you mentioned. I haven't yet lied to LilyPond about whether the note is outside the staff, but I'll think about it.
Is it worth adding a s separate ledger class for these ledgers, perhaps subclassing from the current class? That way normal staffs don't need to worry about the code, only odd ones. Though I added an engraver for the chromatic staff, I'm not sure it is *really* an engraver, it just changes the position of the notes. It does work, however. I'm having trouble figuring out how to add a ledger style class. Perhaps I'll just add it to my staff and see what happens. Mats Bengtsson <[EMAIL PROTECTED]> writes: > As far as I can see from the implementation, the ledger lines are only > typeset if the note pitch is outside the staff, so some C++ hacking would > be needed to get a clean solution for you. It should be possible to fool > LilyPond, though, by typesetting the note heads one octave too high > (for example) so they get ledger lines, and then move everything back to > the desired position using extra-offset for all involved layout objects. _______________________________________________ lilypond-devel mailing list lilypond-devel@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-devel