Next: , Previous: SeparationItem, Up: All layout objects



Slur

Slur objects are created by: Slur_engraver

Standard settings:

slur-details (list):
'((region-size . 4) (head-encompass-penalty . 1000.0) (stem-encompass-penalty . 30.0) (closeness-factor . 10) (edge-attraction-factor . 4) (same-slope-penalty . 20) (steeper-slope-factor . 50) (non-horizontal-penalty . 15) (max-slope . 1.1) (max-slope-factor . 10) (free-head-distance . 0.3) (free-slur-distance . 0.8) (extra-object-collision . 50) (accidental-collision . 3) (extra-encompass-free-distance . 0.3) (head-slur-distance-max-ratio . 3) (head-slur-distance-factor . 10) (absolute-closeness-measure . 0.3) (edge-slope-exponent . 1.7))

An alist of scoring parameters for slur formatting

print-function (procedure):
Slur::print

Function taking grob as argument, returning a Stencil object.

thickness (number):
1.0

Bar line thickness, measured in linethickness.

spacing-procedure (procedure):
Spanner::set_spacing_rods

Procedure for calculating spacing parameters. The routine is called after before-line-breaking-callback.

minimum-length (dimension, in staff space):
1.5

Try to make a spanner at least this long. This requires an appropriate routine for the spacing-procedure property.

Y-extent-callback (procedure):
Slur::height

see X-extent-callback.

height-limit (dimension, in staff space):
2.0

Maximum slur height: the longer the slur, the closer it is to this height.

ratio (number):
0.25

Parameter for slur shape. The higher this number, the quicker the slur attains it height-limit.

This object supports the following interfaces: spanner-interface, slur-interface and grob-interface

This page is for LilyPond-2.6.3 (stable-branch).

Report errors to <bug-lilypond@gnu.org>.

Other languages: English.
Using automatic language selection.