Thanks for the help.
I'm glad that the right way to do this is reasonably straightforward, this
example code provided by Simon:
\layout {
\context {
\Voice
\override Slur.height-limit = 5.6
}
}
But this makes me wonder why our docs don't mention this approach?
Below are some suggestions for adding to the docs to shine some light on
this approach.
It might be good in the NR to mention the properties relevant to this task
(properties that are actually settable, and affecting the layout of the
curve), since the full list in the Internals reference might be too low
level, and/or not actually settable (intended to be calculated on the fly,
like direction)?
Besides height-limit, ratio and minimum-length, are there other slur
properties that anyone regularly modifies in their work?
Here's what we have in the way of docs:
http://lilypond.org/doc/v2.19/Documentation/notation/modifying-shapes
Modifying ties and slurs
Ties, Slurs, PhrasingSlurs, LaissezVibrerTies and RepeatTies are all drawn
as third-order Bézier curves. If the shape of the tie or slur which is
calculated automatically is not optimum, the shape may be modified manually
in two ways:
1. by specifying the displacements to be made to the control points of
the automatically calculated Bézier curve, or
2. by explicitly specifying the positions of the four control points
required to define the wanted curve.
Both methods are explained below. The first method is more suitable if only
slight adjustments to the curve are required; the second may be better for
creating curves which are related to just a single note.
How about something like:
Modifying ties and slurs
Ties, Slurs, PhrasingSlurs, LaissezVibrerTies and RepeatTies are all drawn
as third-order Bézier curves. If the shape of the tie or slur which is
calculated automatically is not optimum, the shape may be modified manually
in three ways:
1. by redefining the default properties of Ties, Slurs, PhrasingSlurs,
LaissezVibrerTies and RepeatTies within a layout block
2. by specifying the displacements to be made to the control points of
the automatically calculated Bézier curve, or
3. by explicitly specifying the positions of the four control points
required to define the wanted curve.
The first method is appropriate if you want to affect all instances of
these curves within a layout. The second method is more suitable if only
slight adjustments to a single curve are required; the third may be better
for creating curves which are related to just a single note.
...
*Specify alternate curve default values *Within a layout block, you can
specify alternative values for properties of curved objects. in
particular, the properties height-limit and ratio are useful for specifying
general curvature.
\layout {
\context {
\Voice
\override Slur.height-limit = 5.6
\override Slur.ratio = 0.42
\override Slur.minimum-length = 2.3
}
}
The complete list of properties for curved objects are defined in the
Internals documentation:
http://lilypond.org/doc/v2.19/Documentation/internals/slur
http://lilypond.org/doc/v2.19/Documentation/internals/tie
http://lilypond.org/doc/v2.19/Documentation/internals/phrasingslur
http://lilypond.org/doc/v2.19/Documentation/internals/laissezvibrertie
http://lilypond.org/doc/v2.19/Documentation/internals/repeattie
This page in the NR could have a link to the above modifying shapes page in
the "See also" section:
http://lilypond.org/doc/v2.19/Documentation/notation/expressive-marks-as-curves
See also
...
Notation Reference: Direction and placement
<http://lilypond.org/doc/v2.19/Documentation/notation/direction-and-placement>,
Phrasing slurs
<http://lilypond.org/doc/v2.19/Documentation/notation/expressive-marks-as-curves#phrasing-slurs>,
Modifying shapes
<http://lilypond.org/doc/v2.19/Documentation/notation/expressive-marks-as-curves#phrasing-slurs>
On the "direction and placement" page
http://lilypond.org/doc/v2.19/Documentation/notation/direction-and-placement
there is no information about "placement", only direction.
If "direction" and "placement" distinct and different, then there should be
something specific said about placement (perhaps a link back to the
Modifying shapes page?)
If not, how about just calling it "direction", since placement isn't
covered?
David Elaine Alt
415 . 341 .4954 "*Confusion is
highly underrated*"
[email protected]
self-immolation.info
skype: flaming_hakama
Producer ~ Composer ~ Instrumentalist
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
6. Re:slur corehack (Urs Liska)
>
>
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user