Pierre Perol-Schneider <pierre.schneider.paris <at> gmail.com> writes:
On the french list we are working on a Merulo score with an 8 lines
staff, 2 clefs and 2 key signature
As you can notice, I still have to manually set the distance between the
key signatures.
LilyPond supports custom key signatures, and will print this for d\minor
if you ask for an extended range of printed flats:
\new Staff
\with {
\override StaffSymbol.line-count = #8
\override KeySignature.flat-positions = #'((-7 . 6))
\override KeyCancellation.flat-positions = #'((-7 . 6))
% presumably sharps are also printed in both octaves
\override KeySignature.sharp-positions = #'((-6 . 7))
\override KeyCancellation.sharp-positions = #'((-6 . 7))
\override Clef.stencil = #
(lambda (grob)(grob-interpret-markup grob
#{ \markup\combine
\musicglyph #"clefs.C"
\translate #'(0.9 . -2) \musicglyph #"clefs.F"
#}))
clefPosition = #1
middleCPosition = #1
middleCClefPosition = #1
} {
\key d\minor
\time 4/4 R1
}
You might like \translate, in units of staff spaces, in place of \vspace.
_______________________________________________