If you look in ly/property-init.ly, you will see that \mergeDifferentlyHeadedOn is just a shortcut defined as
mergeDifferentlyHeadedOn =
 \override Staff.NoteCollision #'merge-differently-headed = ##t
Since you want the setting to affect both staves, you can try
\override Score.NoteCollision #'merge-differently-headed = ##t
of use \mergeDifferentlyHeadedOn in both staves.

  /Mats


Mark Polesky wrote:
In the example below, how do I get the second half-note to merge?
- Mark

\version "2.13.18"

\new PianoStaff <<
  \new Staff = "upper" {
    <<
      {
        \mergeDifferentlyHeadedOn
        b8 c' d' e'
        \change Staff = "lower" b8
        \change Staff = "upper" c' d' e'
      } \\ {
        b2 \change Staff = "lower" b
      }
    >>
  }
  \new Staff = "lower" {
    \clef bass s1
  }

------------------------------------------------------------------------

------------------------------------------------------------------------

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

--
=============================================
        Mats Bengtsson
        Signal Processing
        School of Electrical Engineering
        Royal Institute of Technology (KTH)
        SE-100 44  STOCKHOLM
        Sweden
        Phone: (+46) 8 790 8463                         
       Fax:   (+46) 8 790 7260
        Email: mats.bengts...@ee.kth.se
        WWW: http://www.s3.kth.se/~mabe
=============================================



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

Reply via email to