lilypond-user
[Top][All Lists]
Advanced

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

Re: individual tie directions in chords


From: plutek
Subject: Re: individual tie directions in chords
Date: Fri, 26 Sep 2003 22:05:17 -0400 (EDT)

>> On Friday 26 September 2003 04:57 pm, you wrote:
>>> in the following:
>>>
>>> \score {
>>> \notes \relative c' {
>>> <f g c>~<f g c>
>>> }
>>> \paper { raggedright = ##t}
>>> }
>>>
>>> it seems clear to me that the tie between g's should go up, to avoid
>>> colliding with the tie between f's. unfortunately, that does not
>>> follow the rule of curving away from staff center.
>>>
>>> i have not been able to find a way of controlling tie DIRECTION for
>>> individual notes in a chord. i suppose the method of placing the tie
>>> engraver at thread level (shown in regression/tie-chord-partial.ly)
>>> would work, but in the context of a succession of chords, where only
>>> one needs this treatment, isn't it difficult to switch between that
>>> and the regular use of the tie engraver?
>>>
>>> is there no simpler way to do this?
>>
>> I don't know whether it's simpler or not, but the best thing to
>> do IMHO is to render some or all of the chord as different
>> voices.  daveA
>
> thanks, david...... would you be kind enough to give me an example of
> how to do this? i'm having trouble figuring out how to use different
> voices but still have it look like a chord rather than like polyphony.
>
> thanks!
> -p

ok, i've come up with this so far:

\score {
    \notes \relative c' {
        \context Staff { <<
            \context Voice { << \tieUp g'~  e'~ >> << g,  e' >> }
            \new Voice  {
                \tieDown \property Voice.Stem \override #'transparent = ##t
                \property Voice.NoteHead \override #'extra-offset =  #'(-2.35 . 
0)
                \property Voice.Tie \override #'extra-offset = #'(-2.35 . 0)
                f,~f  }
        >>  }
    }

    \paper {  raggedright = ##t
          }
}

it works, but is rather full of manual fudging for my taste. there must be
a more elegant way.

thanks in advance for any suggestions!

-p






reply via email to

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