|
From: | James Worlton |
Subject: | Re: Whiteout attached to NoteHead |
Date: | Thu, 22 May 2014 07:36:22 -0500 |
>I'm trying to get the whiteout that is attached to the NoteHead to notDoes this work? (replace the \with-color value to color #white)
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.
aBox = \markup {
\with-dimensions #'(0 . 0) #'(0 . 0)
\with-color #red
\filled-box #'(-0.3 . 1.6) #'(-1.4 . -0.4) #0
}f'''8^\aBox d'''4
\score {
\new Staff {
\time 3/4
<< { \voiceOne
r4 c'''2~
} \new Voice
{ \voiceTwo
r4 r8
\override NoteHead.layer = #2
} >> \oneVoice
c'''2.
}
}
[Prev in Thread] | Current Thread | [Next in Thread] |