>I'm trying to get the whiteout that is attached to the NoteHead to not
cover the ledger line. Also, it would be ideal if I could extend the width
of the whiteout to the width of the ledger lines.
Does this work? (replace the \with-color value to color #white)
aBox = \markup {
\with-dimensions #'(0 . 0) #'(0 . 0)
\with-color #red
\filled-box #'(-0.3 . 1.6) #'(-1.4 . -0.4) #0
}
\score {
\new Staff {
\time 3/4
<< { \voiceOne
r4 c'''2~
} \new Voice
{ \voiceTwo
r4 r8
\override NoteHead.layer = #2
f'''8^\aBox d'''4
} >> \oneVoice
c'''2.
}
}
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user