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 (quantize-position . #t)
25 (script-stencil . (feta . ("sforzato" . "sforzato")))
26 (side-relative-direction . ,DOWN)))
29 (script-stencil . (feta . ("uaccentus" . "uaccentus")))
30 (side-relative-direction . ,DOWN)
33 (quantize-position . #t)
34 (script-priority . -100)
40 (script-stencil . (feta . ("circulus" . "circulus")))
41 (side-relative-direction . ,DOWN)
44 (quantize-position . #t)
45 (script-priority . -100)
49 (script-stencil . (feta . ("coda" . "coda")))
51 (avoid-slur . outside)
55 (script-stencil . (feta . ("lcomma" . "rcomma")))
56 (quantize-position . #t)
64 (script-stencil . (feta . ("downbow" . "downbow")))
70 (script-stencil . (feta . ("downmordent" . "downmordent")))
76 (script-stencil . (feta . ("downprall" . "downprall")))
86 (quantize-position . #t)
87 (script-stencil . (feta . ("espr" . "espr")))
88 (side-relative-direction . ,DOWN)))
93 (script-stencil . (feta . ("dfermata" . "ufermata")))
96 (script-priority . 4000)
100 (script-stencil . (feta . ("flageolet" . "flageolet")))
102 (avoid-slur . around) ;guessing?
108 (script-stencil . (feta . ("ictus" . "ictus")))
109 (side-relative-direction . ,DOWN)
110 (quantize-position . #t)
111 (avoid-slur . ignore)
113 (script-priority . -100)
114 (direction . ,DOWN)))
119 (script-stencil . (feta . ("upedalheel" . "upedalheel")))
121 (avoid-slur . around) ;guessing?
122 (direction . ,DOWN)))
125 (script-stencil . (feta . ("lineprall" . "lineprall")))
127 (avoid-slur . around)
131 (script-stencil . (feta . ("dlongfermata" . "ulongfermata")))
133 (avoid-slur . around)
137 (script-stencil . (feta . ("upedaltoe" . "upedaltoe")))
139 (avoid-slur . around) ;guessing?
140 (direction . ,DOWN)))
145 (script-stencil . (feta . ("dmarcato" . "umarcato")))
147 (avoid-slur . inside)
148 ;;(staff-padding . ())
149 (quantize-position . #t)
150 (side-relative-direction . ,DOWN)))
153 (script-stencil . (feta . ("mordent" . "mordent")))
155 (avoid-slur . around)
161 (avoid-slur . outside)
163 (script-stencil . (feta . ("open" . "open")))
169 (script-stencil . (feta . ("uportato" . "dportato")))
170 (avoid-slur . around)
173 (side-relative-direction . ,DOWN)))
176 (script-stencil . (feta . ("prall" . "prall")))
178 (avoid-slur . around)
182 (script-stencil . (feta . ("pralldown" . "pralldown")))
184 (avoid-slur . around)
188 (script-stencil . (feta . ("prallmordent" . "prallmordent")))
190 (avoid-slur . around)
194 (script-stencil . (feta . ("prallprall" . "prallprall")))
196 (avoid-slur . around)
200 (script-stencil . (feta . ("prallup" . "prallup")))
202 (avoid-slur . around)
208 (script-stencil . (feta . ("reverseturn" . "reverseturn")))
210 (avoid-slur . inside)
214 (script-stencil . (feta . ("dpedalheel" . "dpedalheel")))
216 (avoid-slur . around) ;guessing?
220 (script-stencil . (feta . ("dpedaltoe" . "dpedaltoe")))
222 (avoid-slur . around) ;guessing?
228 (script-stencil . (feta . ("segno" . "segno")))
230 (avoid-slur . outside)
234 (script-stencil . (feta . ("dsemicirculus" . "dsemicirculus")))
235 (side-relative-direction . ,DOWN)
236 (quantize-position . #t)
237 (avoid-slur . ignore)
239 (script-priority . -100)
243 (script-stencil . (feta . ("dshortfermata" . "ushortfermata")))
245 (avoid-slur . around)
247 ("signumcongruentiae"
249 (script-stencil . (feta . ("dsignumcongruentiae" . "usignumcongruentiae")))
251 (avoid-slur . outside)
255 (script-stencil . (feta . ("snappizzicato" . "snappizzicato")))
257 (avoid-slur . outside)
261 (avoid-slur . inside)
262 (script-stencil . (feta . ("dstaccatissimo" . "ustaccatissimo")))
264 (side-relative-direction . ,DOWN)))
267 (script-stencil . (feta . ("staccato" . "staccato")))
268 (side-relative-direction . ,DOWN)
269 (quantize-position . #t)
270 (avoid-slur . inside)
271 (toward-stem-shift . 0.5)
273 (script-priority . -100)))
276 (script-stencil . (feta . ("stopped" . "stopped")))
277 (avoid-slur . inside)
284 (script-stencil . (feta . ("tenuto" . "tenuto")))
285 (quantize-position . #t)
286 (avoid-slur . inside)
288 (side-relative-direction . ,DOWN)))
291 (script-stencil . (feta . ("thumb" . "thumb")))
292 (avoid-slur . inside)
297 (script-stencil . (feta . ("trill" . "trill")))
300 (avoid-slur . outside)
301 (script-priority . 2000)))
304 (script-stencil . (feta . ("turn" . "turn")))
305 (avoid-slur . inside)
312 (script-stencil . (feta . ("upbow" . "upbow")))
313 (avoid-slur . around)
318 (script-stencil . (feta . ("upmordent" . "upmordent")))
320 (avoid-slur . around)
324 (script-stencil . (feta . ("upprall" . "upprall")))
326 (avoid-slur . around)
332 (script-stencil . (feta . ("varcoda" . "varcoda")))
334 (avoid-slur . outside)
338 (script-stencil . (feta . ("lvarcomma" . "rvarcomma")))
339 (quantize-position . #t)
341 (avoid-slur . ignore)
345 (script-stencil . (feta . ("dverylongfermata" . "uverylongfermata")))
347 (avoid-slur . around)