2004-10-30 Han-Wen Nienhuys <hanwen@xs4all.nl>
+ * lily/slur-scoring.cc (enumerate_attachments): use stem_extent_
+ for attaching, fixes slur/stem left attachment of
+ downslur/downstem.
+
* lily/quote-iterator.cc (process): use <= for comparisons. Fixes
quote problem if for last note of quoted sequence.
e4( dis4)
g='16( b d fis)
\clef bass a=8[ e16(f] g[ a b d,)] s4 | \break
- e=8( f] g[ a b d,)] s4 | \break
+ e=8[( f] g[ a b d,)] s4 |
\clef treble
+ \new Voice {
+ \slurDown
+ c=''4( d, c') s4
+ }
\new Voice \relative c'' {
\slurDown f2( d4 f | g c a f | d c f2 | f1) |
}
\original
}
\new Staff \relative c'' <<
+ \set Staff.instrument = "orig+quote"
\set Staff.quotedEventTypes = #'(note-event articulation-event)
\original
\new Voice {
\header
{
- texidoc = "In rhythmic staves stems should go up, and bar lines have the size for a 5 line staff. The whole note hangs from the rhythmic staff."
-}
+ texidoc = "In rhythmic staves stems should go up, and bar lines
+have the size for a 5 line staff. The whole rest hangs from the
+rhythmic staff." }
\layout { raggedright = ##t }
+++ /dev/null
-
-\version "2.3.22"
-\header {
-
- texidoc = "The area underneath an (up) slur is minimised to improve the shape. "
-
-}
-
-\score{
-\relative c''{
-
-\slurUp
-\stemDown
-a(a' a, a)
-a(a a' a,)
-a(d a a)
-a(a d a)
-
-e'8(e e e e e e e)
-a,8(d a a a a a a)
-a(a a a a a d a)
-
-c,(g' c e f d b g)
-c,(g' c e f d b g)
-
-\set autoBeaming = ##f
-\stemUp
-a8(a a a a a a a)
-
-}
-\layout{
-indent=0.0\mm
-}
-}
-
+++ /dev/null
-
-\version "2.3.22"
-
-\header{
-texidoc="
-Slurs should be attached to note heads, except when they would collide
-with beams.
-"
-}
-\score{
- \relative c''{
- \override Slur #'direction = #1
- a8( a a4)
- a4( a8 a)
- a8 a(a4)
- a4( a8) a
- }
- \layout{
- indent = 0.0
- linewidth = 100.\mm
- }
-}
-
{
Interval stem_y = extremes_[d].stem_extent_[Y_AXIS];
stem_y.widen (0.25 * staff_space_);
- if (dir_ == -d
- && stem_y.contains (os[d][Y_AXIS]))
+ if (stem_y.contains (os[d][Y_AXIS]))
{
- os[d][X_AXIS] = extremes_[d].slur_head_extent_[-d]
+ os[d][X_AXIS] = extremes_[d].stem_extent_[X_AXIS][-d]
- d * 0.3;
attach_to_stem[d] = true;
}
- else if (dir_ *extremes_[d].stem_extent_[Y_AXIS][dir_]
- < dir_ * os[d][Y_AXIS]
+ else if (dir_ * extremes_[d].stem_extent_[Y_AXIS][dir_]
+ < dir_ * os[d][Y_AXIS]
&& !extremes_[d].stem_extent_[X_AXIS].is_empty ()
)