lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Ties across voices


From: Peter Toye
Subject: Re: Ties across voices
Date: Mon, 12 Dec 2016 11:24:59 +0000

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:address@hidden
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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]