On 20 December 2015 at 00:41, Simon Albrecht <address@hidden
<mailto:address@hidden>> wrote:
On 20.12.2015 00 <tel:20.12.2015%2000>:45, Chris Yate wrote:
I can't get /alterBroken to work properly at all on control
points.
When I try the "tweak" version, that I assume would look like:
<code>
r4.
d,16-\alterBroken control-points #'(((0.0 . 0.0) (0 . 1.2) (0
. 1.2) (4 . 1)) ((0.0 . 0.0) (0 . 1.2) (0 . 1.2) (4 . 1))
((0 . 4.0) (0 . 3) (0 . 1) (0 . 0)) )
(f af cf af bf |
</code>
.... then the slur only appears as a small, and odd-shaped
squiggle by the first note d. Editing these control points is
a bit of hit and miss anyway, but I don't feel I understand
the syntax for \alterBroken well enough; there are too few
examples at present!
The big advantage of the shape command is that you can give
offsets for each control point against the default shape. The
control-points property however has every point coded relative to
the reference point for the entire slur (the note head of the
first note in the slur, I think), which often makes numbers very
high and trial and error very time-consuming.
The second argument to \alterBroken is a list. Each of its
elements will be applied to one of the segments of the broken
spanner. If you supply less entries than there are segments, the
remaining segments will not be tweaked.
HTH, Simon
I think I *half* understand what "shape" is doing, but I can't get
alterBroken to work for the control points. Can you give a working
example?