]> git.donarmstrong.com Git - lilypond.git/blob - scm/layout-slur.scm
Add '-dcrop' option to ps and svg backends
[lilypond.git] / scm / layout-slur.scm
1 ;;;; This file is part of LilyPond, the GNU music typesetter.
2 ;;;;
3 ;;;; Copyright (C) 2000--2015 Jan Nieuwenhuizen <janneke@gnu.org>
4 ;;;;
5 ;;;; LilyPond is free software: you can redistribute it and/or modify
6 ;;;; it under the terms of the GNU General Public License as published by
7 ;;;; the Free Software Foundation, either version 3 of the License, or
8 ;;;; (at your option) any later version.
9 ;;;;
10 ;;;; LilyPond is distributed in the hope that it will be useful,
11 ;;;; but WITHOUT ANY WARRANTY; without even the implied warranty of
12 ;;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13 ;;;; GNU General Public License for more details.
14 ;;;;
15 ;;;; You should have received a copy of the GNU General Public License
16 ;;;; along with LilyPond.  If not, see <http://www.gnu.org/licenses/>.
17
18 ;; this is put into the slur-details property of Slur and PhrasingSlur
19 (define default-slur-details
20   '((region-size . 4)
21     (head-encompass-penalty . 1000.0)
22     (stem-encompass-penalty . 30.0)
23     (edge-attraction-factor . 4)
24     (same-slope-penalty . 20)
25     (steeper-slope-factor . 50)
26     (non-horizontal-penalty . 15)
27     (max-slope . 1.1)
28     (max-slope-factor . 10)
29     (free-head-distance . 0.3)
30     (free-slur-distance . 0.8)
31     (gap-to-staffline-inside . 0.2)
32     (gap-to-staffline-outside . 0.1)
33     (extra-object-collision-penalty . 50)
34     (accidental-collision . 3)
35     (extra-encompass-free-distance . 0.3)
36     (extra-encompass-collision-distance . 0.8)
37     (head-slur-distance-max-ratio . 3)
38     (head-slur-distance-factor . 10)
39     (absolute-closeness-measure . 0.3)
40     (edge-slope-exponent . 1.7)
41     (close-to-edge-length . 2.5)
42     (encompass-object-range-overshoot . 0.5)
43     (slur-tie-extrema-min-distance . 0.2)
44     (slur-tie-extrema-min-distance-penalty . 2)
45     ))