That worked. Thanks.
________________________________
From: Shane Brandes <[email protected]>
Sent: Saturday, November 28, 2020 11:32 PM
To: Shuwei Hu <[email protected]>
Cc: [email protected] <[email protected]>
Subject: Re: tying notes across voices

  << { d4 b8 } \\ {g b~ g}\\{s8  \hideNotes b~ \once \override 
NoteColumn.force-hshift = #-.1 b} >>

A possible solution to your problem.
regards,
Shane


On Sat, Nov 28, 2020 at 4:37 PM Shuwei Hu 
<[email protected]<mailto:[email protected]>> wrote:
Dear list,

I'm trying to tie notes across voices. Example:

    \version "2.20.0"

    \relative c'' {
      \time 3/8
      << { d4 b8 } \\ {g b g} >> |
      <<
        {
          r8
          \tweak Stem.transparent ##t
          \tweak Stem.length #8
          b8~ b\noBeam
        }
        \\
        { r8 b8[ g] }
      >>
    }

The second bar uses a trick of invisible notes copied from the 
documentation<https://lilypond.org/doc/v2.20/Documentation/learning/other-uses-for-tweaks>.
 The same trick fails to apply to the first bar because the note d4 occupies 
the space for the invisible note.

Does anyone know how to tie notes (b8) across voices in the first bar?

Any help is appreciated.

Best,
Sylvain

Reply via email to