1 ;;;; This file is part of LilyPond, the GNU music typesetter.
3 ;;;; Copyright (C) 2000--2010 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")))
67 (script-priority . 150)))
70 (script-stencil . (feta . ("downmordent" . "downmordent")))
76 (script-stencil . (feta . ("downprall" . "downprall")))
86 (script-stencil . (feta . ("espr" . "espr")))
87 (side-relative-direction . ,DOWN)))
92 (script-stencil . (feta . ("dfermata" . "ufermata")))
95 (script-priority . 4000)
99 (script-stencil . (feta . ("flageolet" . "flageolet")))
101 (avoid-slur . around) ;guessing?
107 (avoid-slur . outside)
109 (script-stencil . (feta . ("halfopen" . "halfopen")))
115 (script-stencil . (feta . ("ictus" . "ictus")))
116 (side-relative-direction . ,DOWN)
117 (quantize-position . #t)
118 (avoid-slur . ignore)
120 (script-priority . -100)
121 (direction . ,DOWN)))
126 (script-stencil . (feta . ("upedalheel" . "upedalheel")))
128 (avoid-slur . around) ;guessing?
129 (direction . ,DOWN)))
132 (script-stencil . (feta . ("lineprall" . "lineprall")))
134 (avoid-slur . around)
138 (script-stencil . (feta . ("dlongfermata" . "ulongfermata")))
140 (avoid-slur . around)
144 (script-stencil . (feta . ("upedaltoe" . "upedaltoe")))
146 (avoid-slur . around) ;guessing?
147 (direction . ,DOWN)))
152 (script-stencil . (feta . ("dmarcato" . "umarcato")))
154 (avoid-slur . inside)
155 ;;(staff-padding . ())
156 (quantize-position . #t)
157 (side-relative-direction . ,DOWN)))
160 (script-stencil . (feta . ("mordent" . "mordent")))
162 (avoid-slur . around)
168 (avoid-slur . outside)
170 (script-stencil . (feta . ("open" . "open")))
176 (script-stencil . (feta . ("uportato" . "dportato")))
177 (avoid-slur . around)
180 (side-relative-direction . ,DOWN)))
183 (script-stencil . (feta . ("prall" . "prall")))
185 (avoid-slur . around)
189 (script-stencil . (feta . ("pralldown" . "pralldown")))
191 (avoid-slur . around)
195 (script-stencil . (feta . ("prallmordent" . "prallmordent")))
197 (avoid-slur . around)
201 (script-stencil . (feta . ("prallprall" . "prallprall")))
203 (avoid-slur . around)
207 (script-stencil . (feta . ("prallup" . "prallup")))
209 (avoid-slur . around)
215 (script-stencil . (feta . ("reverseturn" . "reverseturn")))
217 (avoid-slur . inside)
221 (script-stencil . (feta . ("dpedalheel" . "dpedalheel")))
223 (avoid-slur . around) ;guessing?
227 (script-stencil . (feta . ("dpedaltoe" . "dpedaltoe")))
229 (avoid-slur . around) ;guessing?
235 (script-stencil . (feta . ("segno" . "segno")))
237 (avoid-slur . outside)
241 (script-stencil . (feta . ("dsemicirculus" . "dsemicirculus")))
242 (side-relative-direction . ,DOWN)
243 (quantize-position . #t)
244 (avoid-slur . ignore)
246 (script-priority . -100)
250 (script-stencil . (feta . ("dshortfermata" . "ushortfermata")))
252 (avoid-slur . around)
254 ("signumcongruentiae"
256 (script-stencil . (feta . ("dsignumcongruentiae" . "usignumcongruentiae")))
258 (avoid-slur . outside)
262 (script-stencil . (feta . ("snappizzicato" . "snappizzicato")))
264 (avoid-slur . outside)
268 (avoid-slur . inside)
269 (quantize-position . #t)
270 (script-stencil . (feta . ("dstaccatissimo" . "ustaccatissimo")))
272 (side-relative-direction . ,DOWN)))
275 (script-stencil . (feta . ("staccato" . "staccato")))
276 (side-relative-direction . ,DOWN)
277 (quantize-position . #t)
278 (avoid-slur . inside)
279 (toward-stem-shift . 0.5)
281 (script-priority . -100)))
284 (script-stencil . (feta . ("stopped" . "stopped")))
285 (avoid-slur . inside)
292 (script-stencil . (feta . ("tenuto" . "tenuto")))
293 (quantize-position . #t)
294 (avoid-slur . inside)
296 (side-relative-direction . ,DOWN)))
299 (script-stencil . (feta . ("thumb" . "thumb")))
300 (avoid-slur . around)
304 (staff-padding . 0.5)))
307 (script-stencil . (feta . ("trill" . "trill")))
310 (avoid-slur . outside)
311 (script-priority . 2000)))
314 (script-stencil . (feta . ("turn" . "turn")))
315 (avoid-slur . inside)
322 (script-stencil . (feta . ("upbow" . "upbow")))
323 (avoid-slur . around)
326 (script-priority . 150)))
329 (script-stencil . (feta . ("upmordent" . "upmordent")))
331 (avoid-slur . around)
335 (script-stencil . (feta . ("upprall" . "upprall")))
337 (avoid-slur . around)
343 (script-stencil . (feta . ("varcoda" . "varcoda")))
345 (avoid-slur . outside)
349 (script-stencil . (feta . ("lvarcomma" . "rvarcomma")))
350 (quantize-position . #t)
352 (avoid-slur . ignore)
356 (script-stencil . (feta . ("dverylongfermata" . "uverylongfermata")))
358 (avoid-slur . around)