Andrew, Urs,

Thanks both for the ideas. It's interesting. 

Andrew's method works but gives a warning about clashing note columns but the 
layout is fine. 

Urs' method gives two different results, depending on whether I put the 4-note 
chord in the 1st or 2nd voice. In the 1st voice the layout's OK but the stem 
points upwards, as you'd expect. In the second voice it tries puts two 
noteheads (one suppressed) so the tie's in the wrong place.

The snippet below shows the issues.

\version "2.18.2"
\language "english"
\score {
  {
    \clef "treble"
    <<
      {
        \stemDown
        <f'' a''>4 ^~
        \stemUp
        <f'' a''>8[ <c'' f''> a'' g'']
      }
      \\
      {
        <a' c''>4 _~
        <a' c''> <g' d''>
      }
    >>
    r4
    \relative c' {
      <<

        {
          \once \hide Accidental \once \hide NoteHead \once \hide Stem
          <fs' a>4 ~ <fs a>8 <c fs> a' g 
        }
        \\
        {
          <a,~ c~ fs a>4    <a c>4 <g d'>
        }
      >>
      r4
      <<
        {
         <a c fs~ a~>4  <fs' a>8 <c fs> a' g
        }
        \\
        {  
         \once \hide Accidental \once \hide NoteHead \once \hide Stem
          <a, c>4~  <a c>4 <g d'> 
        }
      >>
      r4
    }

  }
}


Best regards,

Peter
mailto:lilyp...@ptoye.com
www.ptoye.com

-------------------------
Monday, December 12, 2016, 10:10:50 AM, you wrote:


Hi Peter,

Use voices. Just turn the stem down for the first F and A.

\version "2.19.52"
\score {
  <<
    {
      \stemDown
      <f'' a''>4 ^~
      \stemUp
      <f'' a''>8[ <c'' f''> a'' g'']
    }
    \\
    {
      <a' c''>4 _~
      <a' c''> <g' d''>
    }
  >>
}

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

Reply via email to