Hi David,
Using \stopStaff ... \startStaff results in uneven spacing in the pair
of notes between which the new StafSymbol is created. My (our) solution
is to start a StaffSymbol before every note so that the spacing is uniform.
Like I said, it's kind of a hack, but it works.
Best regards,
David
On 03/08/2015 03:19 PM, David Nalesnik wrote:
David,
On Sun, Mar 8, 2015 at 2:00 PM, David B. Stocker
<notesetters...@gmail.com <mailto:notesetters...@gmail.com>> wrote:
Okay, David provided the answer to my last question about the
spacing, I just had to figure it out.
It seems like a hack to my, but it achieves the result I'm after,
so if no one has a more elegant suggestion, this is what I'm going
with:
If you're just going to have a few changes, then there would be a need
to create so many new StaffSymbols. Why not:
\version "2.18.2"
\paper {
indent = 0\in
ragged-right = ##f
}
\score {
\new Staff <<
\relative c, {
\clef "treble_8"
\cadenzaOn
\override Staff.NoteHead.color = #grey
\override Staff.Stem.color = #grey
\override Staff.LedgerLineSpanner.color = #grey
e4 f g a b
\stopStaff \startStaff
\revert Staff.NoteHead.color
\revert Staff.Stem.color
\revert Staff.LedgerLineSpanner.color
c d e f g a b c
\stopStaff \startStaff
\override Staff.NoteHead.color = #grey
\override Staff.Stem.color = #grey
\override Staff.LedgerLineSpanner.color = #grey
d e f g \bar "||"
}
>>
\layout {
\context {
\Staff \remove Time_signature_engraver
}
}
}
%%%%%%%%%%
In other words, just remember to put
\stopStaff \startStaff
before every override of LedgerLineSpanner.
-DN
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user