On 30/11/12 09:32, David Kastrup wrote:
Nick Payne <nick.pa...@internode.on.net> writes:

See http://lsr.dsi.unimi.it/LSR/Item?id=777:

\version "2.17.6"
A rather new version.

shapeSlur = #(define-music-function (parser location offsets) (list?)
     #{
         \once \override Slur.control-points = #(alter-slur-curve offsets)
     #})
And the above definition would only work with that new version.  But
wouldn't it be equivalent to the \shape macro applied as

\relative c'' {
   \once \override Slur #'direction = #UP
   \shapeSlur #'(0.7 -2.5 0.5 -2.3 0.3 -3 0 -4) \appoggiatura f8 fis,
}
\shape #'(0.7 -2.5 0.5 -2.3 0.3 -3 0 -4) Slur \appoggiatura ...

The \shape macro seems to go a bit haywire in this situation. Applying the same list of offsets as for shapeSlur:

\version "2.17.6"

\relative c'' {
  \once \override Slur #'direction = #UP
  \appoggiatura f8 fis,
  \once \override Slur #'direction = #UP
  \shape #'(0.7 -2.5 0.5 -2.3 0.3 -3 0 -4) Slur \appoggiatura f'8 fis,
}

<<attachment: shape.png>>

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

Reply via email to