On Thursday, 15 July 1999, "Glen Prideaux" writes:
> > > Besides, the slurs that do work, don't look very nice, since they
> > > start at the note heads and are very steep!
> >
> > All of them?
> >
> 
> Where the stems and slurs are forced to go in the same direction, and when
> the slur spans more than a pair of notes, if the slur starts and ends on
> note heads then it is much steeper as it has to go over the stems in
> between.
>        ___
>    |  /   \
>    | /  |  \
>    |/   |   \   |
>   x|    |    \  |
>        x|     \ |
>                x|
> instead of
>      ______
>     /      \
>    |        \
>    |    |    \
>    |    |     |
>   x|    |     |
>        x|     |
>              x|
> 

This case: ok.

> It seems to me that slurs that fall on the stem side and are longer than two
> notes should mostly be stem to stem rather than head to head.

Well, that's the tricky thing about slurs.  It is not that simple.  What
you suggest is more or less what Lily did before, which yield wrong or
ugly slurs in some cases too.  Consider applying that rule to

     ___ |
    /   x|
   /
   |   |
  x|  x|   


or    
       |
       |  |
  |x  x|  |  
  | \____x|       Attach to stemend: slur doesn't 'follow music'
  |              

I think it is more like 'if slur on stem side *and* strongly curved or
very steep' then 'do something appropriate that looks better'.

One of those 'somethings' is to raise one or both edges, as to lessen
the curvature or height.  If a slur ending then gets close (see
ly/params.ly:slur_snap_to_stem) to a stemend, it is indeed attached
to that end, the way you suggest.

Of course, for a particular piece of music, you can try:

   \paper{ slur_snap_to_stem = 2.0*\staffheight; }

and see if all slurs come out better.


Jan.

Jan Nieuwenhuizen <[EMAIL PROTECTED]> | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien/      | http://www.lilypond.org/

Reply via email to