
\version "2.7.39"

\header{

  texidoc="Automatic cross-staff knees work also (here they were
produced with explicit staff switches)."

}

\layout{
  ragged-right = ##t
}

\context PianoStaff <<
  \new Staff = "up" \relative c''{
    b8[ \change Staff="down" d,, ]
    c[ \change Staff="up" c'' ]
    b,[ \change Staff="down" d^"no knee" ]
  }
  \new Staff = "down" {
    \clef bass 
    s2.
  }
>>
