[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Whiteout attached to NoteHead
From: |
Javier Ruiz-Alma |
Subject: |
RE: Whiteout attached to NoteHead |
Date: |
Wed, 21 May 2014 22:28:33 -0700 |
>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.
}
}