lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Note whiteout


From: Andrew Bernard
Subject: Re: Note whiteout
Date: Fri, 27 Mar 2015 15:28:42 +1100

Well, answering my own question here. The following works, but now I feel the need to ask is the best way to do this sort of operation?

\version "2.19.17"

treble = \relative c'' {

  \override Stem.layer = #3

  e'
  \change Staff = "bass"
  \override NoteHead.layer = #3

  <e,,,, g,>-\markup {
    \with-dimensions #'(0 . 3) #'(0 . 0)
    \with-color #white
    \filled-box #'(-1 . 2.5) #'(3 . 7) #0
  }
  \change Staff = "treble"
  g'' c
  c1
}

bass = \relative c {
  \clef bass

  <c, f c,>1 ~
  <c f c,>
}

\score {

  \new PianoStaff
  <<
    \new Staff = "treble" \with {
    }
    { \treble }

    \new Staff = "bass" \with {
      \override LedgerLineSpanner.layer = #10
    }
    { \bass }
  >>

  \layout { }
}


reply via email to

[Prev in Thread] Current Thread [Next in Thread]