1 ;;;; This file is part of LilyPond, the GNU music typesetter.
3 ;;;; Copyright (C) 2000--2009 Han-Wen Nienhuys <hanwen@xs4all.nl>
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.
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.
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/>.
18 (define-public default-script-alist
24 (script-stencil . (feta . ("sforzato" . "sforzato")))
25 (side-relative-direction . ,DOWN)))
28 (script-stencil . (feta . ("uaccentus" . "uaccentus")))
29 (side-relative-direction . ,DOWN)
32 (quantize-position . #t)
33 (script-priority . -100)
39 (script-stencil . (feta . ("circulus" . "circulus")))
40 (side-relative-direction . ,DOWN)
43 (quantize-position . #t)
44 (script-priority . -100)
48 (script-stencil . (feta . ("coda" . "coda")))
50 (avoid-slur . outside)
54 (script-stencil . (feta . ("lcomma" . "rcomma")))
55 (quantize-position . #t)
63 (script-stencil . (feta . ("downbow" . "downbow")))
69 (script-stencil . (feta . ("downmordent" . "downmordent")))
75 (script-stencil . (feta . ("downprall" . "downprall")))
85 (script-stencil . (feta . ("espr" . "espr")))
86 (side-relative-direction . ,DOWN)))
91 (script-stencil . (feta . ("dfermata" . "ufermata")))
94 (script-priority . 4000)
98 (script-stencil . (feta . ("flageolet" . "flageolet")))
100 (avoid-slur . around) ;guessing?
106 (avoid-slur . outside)
108 (script-stencil . (feta . ("halfopen" . "halfopen")))
114 (script-stencil . (feta . ("ictus" . "ictus")))
115 (side-relative-direction . ,DOWN)
116 (quantize-position . #t)
117 (avoid-slur . ignore)
119 (script-priority . -100)
120 (direction . ,DOWN)))
125 (script-stencil . (feta . ("upedalheel" . "upedalheel")))
127 (avoid-slur . around) ;guessing?
128 (direction . ,DOWN)))
131 (script-stencil . (feta . ("lineprall" . "lineprall")))
133 (avoid-slur . around)
137 (script-stencil . (feta . ("dlongfermata" . "ulongfermata")))
139 (avoid-slur . around)
143 (script-stencil . (feta . ("upedaltoe" . "upedaltoe")))
145 (avoid-slur . around) ;guessing?
146 (direction . ,DOWN)))
151 (script-stencil . (feta . ("dmarcato" . "umarcato")))
153 (avoid-slur . inside)
154 ;;(staff-padding . ())
155 (quantize-position . #t)
156 (side-relative-direction . ,DOWN)))
159 (script-stencil . (feta . ("mordent" . "mordent")))
161 (avoid-slur . around)
167 (avoid-slur . outside)
169 (script-stencil . (feta . ("open" . "open")))
175 (script-stencil . (feta . ("uportato" . "dportato")))
176 (avoid-slur . around)
179 (side-relative-direction . ,DOWN)))
182 (script-stencil . (feta . ("prall" . "prall")))
184 (avoid-slur . around)
188 (script-stencil . (feta . ("pralldown" . "pralldown")))
190 (avoid-slur . around)
194 (script-stencil . (feta . ("prallmordent" . "prallmordent")))
196 (avoid-slur . around)
200 (script-stencil . (feta . ("prallprall" . "prallprall")))
202 (avoid-slur . around)
206 (script-stencil . (feta . ("prallup" . "prallup")))
208 (avoid-slur . around)
214 (script-stencil . (feta . ("reverseturn" . "reverseturn")))
216 (avoid-slur . inside)
220 (script-stencil . (feta . ("dpedalheel" . "dpedalheel")))
222 (avoid-slur . around) ;guessing?
226 (script-stencil . (feta . ("dpedaltoe" . "dpedaltoe")))
228 (avoid-slur . around) ;guessing?
234 (script-stencil . (feta . ("segno" . "segno")))
236 (avoid-slur . outside)
240 (script-stencil . (feta . ("dsemicirculus" . "dsemicirculus")))
241 (side-relative-direction . ,DOWN)
242 (quantize-position . #t)
243 (avoid-slur . ignore)
245 (script-priority . -100)
249 (script-stencil . (feta . ("dshortfermata" . "ushortfermata")))
251 (avoid-slur . around)
253 ("signumcongruentiae"
255 (script-stencil . (feta . ("dsignumcongruentiae" . "usignumcongruentiae")))
257 (avoid-slur . outside)
261 (script-stencil . (feta . ("snappizzicato" . "snappizzicato")))
263 (avoid-slur . outside)
267 (avoid-slur . inside)
268 (quantize-position . #t)
269 (script-stencil . (feta . ("dstaccatissimo" . "ustaccatissimo")))
271 (side-relative-direction . ,DOWN)))
274 (script-stencil . (feta . ("staccato" . "staccato")))
275 (side-relative-direction . ,DOWN)
276 (quantize-position . #t)
277 (avoid-slur . inside)
278 (toward-stem-shift . 0.5)
280 (script-priority . -100)))
283 (script-stencil . (feta . ("stopped" . "stopped")))
284 (avoid-slur . inside)
291 (script-stencil . (feta . ("tenuto" . "tenuto")))
292 (quantize-position . #t)
293 (avoid-slur . inside)
295 (side-relative-direction . ,DOWN)))
298 (script-stencil . (feta . ("thumb" . "thumb")))
299 (avoid-slur . inside)
304 (script-stencil . (feta . ("trill" . "trill")))
307 (avoid-slur . outside)
308 (script-priority . 2000)))
311 (script-stencil . (feta . ("turn" . "turn")))
312 (avoid-slur . inside)
319 (script-stencil . (feta . ("upbow" . "upbow")))
320 (avoid-slur . around)
325 (script-stencil . (feta . ("upmordent" . "upmordent")))
327 (avoid-slur . around)
331 (script-stencil . (feta . ("upprall" . "upprall")))
333 (avoid-slur . around)
339 (script-stencil . (feta . ("varcoda" . "varcoda")))
341 (avoid-slur . outside)
345 (script-stencil . (feta . ("lvarcomma" . "rvarcomma")))
346 (quantize-position . #t)
348 (avoid-slur . ignore)
352 (script-stencil . (feta . ("dverylongfermata" . "uverylongfermata")))
354 (avoid-slur . around)