On 11.12.2016 19:01, Peter Toye wrote:
Ties across voices I want to engrave some piano music which includes the attached fragment. As I understand it I need a single voice for the first chord, but two for the second. But the ties can't extend across voices.

This is exactly the situation for which \hideNotes exists. The following works perfectly:

\version "2.18.2"
\language "english"
\score {
  <<
    \clef "treble"
    {
      \oneVoice
      <a' c'' f''^~ a''~>4
      \voiceOne
      <f'' a''>8[ <c'' f''> a'' g'']
    }
    \\
    {
      \voiceTwo
      \hideNotes
      \override NoteColumn.ignore-collision = ##t
      <a' c''>4 _~
      \unHideNotes
      \override NoteColumn.ignore-collision = ##f
      <a' c''> <g' d''>
    }
  >>
}

Best, Simon

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

Reply via email to