Tying notes across voices

The following example demonstrates how to connect notes in different voices using ties. Normally, only notes in the same voice can be connected with ties. By using two voices, with the tied notes in one of them

[image of music]

and removing the first up-stem and its flag in that voice, the tie appears to cross voices:

    \once \omit Stem
    \once \omit Flag
    b'8~ 8\noBeam
  { b'8[ g'] }

[image of music]

See also

Learning Manual: The \once prefix, The stencil property.

LilyPond Learning Manual v2.25.18 (development-branch).