X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=scm%2Flayout-slur.scm;h=18b28797d0948305195d3ace6026d6daf27afcc5;hb=HEAD;hp=6b80a586ec5b2cc91e412c4006359e3d1782d463;hpb=5b4b0d6e9a197e8f9eb085b7c2ad78b8be3e5cfc;p=lilypond.git diff --git a/scm/layout-slur.scm b/scm/layout-slur.scm index 6b80a586ec..18b28797d0 100644 --- a/scm/layout-slur.scm +++ b/scm/layout-slur.scm @@ -1,15 +1,25 @@ -;;;; slur.scm -- Slur scheme stuff +;;;; This file is part of LilyPond, the GNU music typesetter. ;;;; -;;;; source file of the GNU LilyPond music typesetter -;;;; -;;;; (c) 2000--2008 Jan Nieuwenhuizen - ; -; this is put into the slur-details property of Slur and PhrasingSlur +;;;; Copyright (C) 2000--2015 Jan Nieuwenhuizen +;;;; +;;;; LilyPond is free software: you can redistribute it and/or modify +;;;; it under the terms of the GNU General Public License as published by +;;;; the Free Software Foundation, either version 3 of the License, or +;;;; (at your option) any later version. +;;;; +;;;; LilyPond is distributed in the hope that it will be useful, +;;;; but WITHOUT ANY WARRANTY; without even the implied warranty of +;;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;;; GNU General Public License for more details. +;;;; +;;;; You should have received a copy of the GNU General Public License +;;;; along with LilyPond. If not, see . + +;; this is put into the slur-details property of Slur and PhrasingSlur (define default-slur-details '((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) @@ -18,6 +28,8 @@ (max-slope-factor . 10) (free-head-distance . 0.3) (free-slur-distance . 0.8) + (gap-to-staffline-inside . 0.2) + (gap-to-staffline-outside . 0.1) (extra-object-collision-penalty . 50) (accidental-collision . 3) (extra-encompass-free-distance . 0.3) @@ -26,4 +38,8 @@ (head-slur-distance-factor . 10) (absolute-closeness-measure . 0.3) (edge-slope-exponent . 1.7) + (close-to-edge-length . 2.5) + (encompass-object-range-overshoot . 0.5) + (slur-tie-extrema-min-distance . 0.2) + (slur-tie-extrema-min-distance-penalty . 2) ))