Hello,

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.

The code below gives the output shown in the attached image. I've tried substituting Staff.LedgerLineSpanner in place of the NoteHeads in the code--hoping to solve both issues--but it does not work.

Any hints would be greatly appreciated.

\version "2.19.6"

\score {
  \new Staff {
    \time 3/4
    << { \voiceOne
         r4 c'''2~
       } \new Voice
       { \voiceTwo
         r4 r8
         \override NoteHead.layer = #2
         \once \override NoteHead.whiteout = ##t
         f'''8 d'''4
    } >> \oneVoice
    c'''2.
  }
}

Thanks,
James Worlton

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to