]> git.donarmstrong.com Git - lilypond.git/blob - scm/define-grobs.scm
* lily/include/bezier-bow.hh: remove.
[lilypond.git] / scm / define-grobs.scm
1 ;;;; define-grobs.scm -- 
2 ;;;;
3 ;;;;  source file of the GNU LilyPond music typesetter
4 ;;;; 
5 ;;;; (c)  1998--2004 Han-Wen Nienhuys <hanwen@cs.uu.nl>
6 ;;;;                 Jan Nieuwenhuizen <janneke@gnu.org>
7
8 ;;;; distances are given in linethickness (thicknesses) and
9 ;;;; staffspace (distances)
10
11 ;;;; WARNING: the meta field should be the last one.
12 ;;;; WARNING: don't use anonymous functions for initialization. 
13
14 ;; TODO: junk the meta field in favor of something more compact?
15 (define-public all-grob-descriptions
16   `(
17     (Accidental
18      . (
19         (print-function . ,Accidental_interface::print)
20         (inside-slur . #t) 
21         (cautionary-style . parentheses)
22         (after-line-breaking-callback . ,Accidental_interface::after_line_breaking)             (meta . ((interfaces . (item-interface accidental-interface
23                                                                                                                                        font-interface))))
24         ))
25     
26     (AccidentalPlacement
27      . ((X-extent-callback . ,Axis_group_interface::group_extent_callback)
28         (left-padding . 0.2)
29
30         ;; this is quite small, but it is very ugly to have
31         ;; accs closer to the previous note than to the next one.
32         (right-padding . 0.15)
33         (meta . ((interfaces . (item-interface accidental-placement-interface))))
34         ))
35     (Ambitus
36      . (
37         (axes . (0 1))
38         (X-extent-callback . ,Axis_group_interface::group_extent_callback)
39         (Y-extent-callback . ,Axis_group_interface::group_extent_callback)
40         (space-alist . (
41                         (clef . (extra-space . 0.5))
42                         (key-signature . (extra-space . 0.0))
43                         (staff-bar . (extra-space . 0.0))
44                         (time-signature . (extra-space . 0.0)) 
45                         (first-note . (fixed-space . 0.0))
46                         ))
47         (breakable . #t)
48         (break-align-symbol . ambitus)
49         (break-visibility . ,begin-of-line-visible)
50         (meta . ((interfaces . (axis-group-interface break-aligned-interface ambitus-interface item-interface ))))
51         ))
52
53     (AmbitusLine
54      . (
55        (print-function . ,Ambitus::print)
56        (join-heads . #t)
57        (thickness . 2)
58        (X-offset-callbacks . (,Self_alignment_interface::centered_on_parent))
59     
60        (meta . ((interfaces . (ambitus-interface staff-symbol-referencer-interface item-interface  font-interface))))
61        ))
62     (AmbitusAccidental
63      . (
64         (print-function . ,Accidental_interface::print)
65         (font-family . music)
66         (padding . 0.5)
67         (X-offset-callbacks . (,Side_position_interface::aligned_side))
68         (direction . -1) 
69         (cautionary-style . parentheses)
70         (after-line-breaking-callback . ,Accidental_interface::after_line_breaking)             (meta . ((interfaces . (item-interface accidental-interface break-aligned-interface side-position-interface font-interface))))
71         ))
72     (AmbitusNoteHead
73      . (
74         (duration-log . 2)
75         (style . default)
76         (print-function . ,Note_head::print)
77         (glyph-name-procedure . ,find-notehead-symbol)
78         (X-extent-callback . ,Note_head::extent)
79         (Y-extent-callback . ,Note_head::extent)
80         (Y-offset-callbacks  . (,Staff_symbol_referencer::callback))
81         (meta . ((interfaces . (font-interface note-head-interface ambitus-interface staff-symbol-referencer-interface rhythmic-head-interface item-interface ))))
82         ))
83     
84     (Arpeggio
85      . (
86         (X-extent-callback . ,Arpeggio::width_callback)
87         (Y-extent-callback . #f)               
88         (print-function . ,Arpeggio::print)
89         (Y-offset-callbacks . (,Staff_symbol_referencer::callback))
90         (X-offset-callbacks . (,Side_position_interface::aligned_side))
91         (direction . -1)
92         (padding . 0.5)  
93         (staff-position . 0.0)
94         (meta . ((interfaces . (arpeggio-interface staff-symbol-referencer-interface side-position-interface item-interface font-interface))))
95         ))
96
97     (BarLine
98      . (
99         (break-align-symbol . staff-bar)
100         (glyph . "|")
101         (break-glyph-function . ,default-break-barline)
102         (bar-size-procedure . ,Bar_line::get_staff_bar_size)
103         (print-function . ,Bar_line::print)        
104         (break-visibility . ,all-visible)
105         (breakable . #t)
106         (before-line-breaking-callback . ,Bar_line::before_line_breaking)
107         (space-alist . (
108                         (time-signature . (extra-space . 0.75)) 
109                         (custos . (minimum-space . 2.0))
110                         (clef .   (minimum-space . 1.0))
111                         (key-signature . (extra-space . 1.0))
112                         (first-note . (fixed-space . 1.3))
113                         (next-note . (semi-fixed-space . 1.3))
114                         (right-edge . (extra-space . 0.0))
115                         ))
116
117         ;;
118         ;; Ross. page 151 lists other values, we opt for a leaner look
119         ;;
120         ;; TODO:
121         ;; kern should scale with linethickness too. 
122         (kern . 3.0)
123         (thin-kern . 3.0)
124         (hair-thickness . 1.9)
125         (thick-thickness . 6.0)
126         (meta . ((interfaces . (bar-line-interface item-interface   break-aligned-interface font-interface))))
127         ))
128
129     
130     (BarNumber
131      . (
132         (print-function . ,Text_item::print)
133         (breakable . #t)
134         (break-visibility . ,begin-of-line-visible)
135         (padding . 1.0)
136         (direction . 1)
137         (font-family . roman)
138         (font-size . -2)
139         (Y-offset-callbacks . (,Side_position_interface::aligned_side))
140         (X-offset-callbacks . (,Self_alignment_interface::aligned_on_self))
141         (self-alignment-X . 1)
142
143         ;; hmm. why did we do this: ? 
144         (extra-offset . (1.3 . 0))
145         (meta .
146               ((interfaces . (side-position-interface
147                               text-interface
148                               self-alignment-interface
149                               font-interface item-interface  break-aligned-interface))))
150
151              ))
152
153     (BassFigure
154      . (
155         (print-function . ,Text_item::print)
156         (Y-offset-callbacks . (,Self_alignment_interface::aligned_on_self))
157         (direction . 1)
158         (font-family . number)
159
160         ;; We must do this, other BFs in
161         ;; paper16 become too small.
162         (font-size . -4)
163         (kern . 0.2)
164         (meta . ((interfaces . (text-interface                                                  rhythmic-grob-interface
165                                                                                                 bass-figure-interface item-interface
166                                                                                                 self-alignment-interface font-interface))))
167         ))
168     (Beam
169      . (
170         ;; todo: clean this up a bit: the list is getting
171         ;; rather long.
172         (print-function . ,Beam::print)
173         (concaveness-gap . 1.85)
174         (concaveness-threshold . 0.26)
175         (gap . 0.8)
176         (positions . (#f . #f))
177         (position-callbacks . (,Beam::least_squares
178                                ,Beam::check_concave
179                                ,Beam::slope_damping
180                                ,Beam::shift_region_to_valid
181                                ,Beam::quanting
182                               ))
183
184         ;; TODO: should be in SLT.
185         (thickness . 0.48) ; in staff-space
186         (before-line-breaking-callback . ,Beam::before_line_breaking)
187         (after-line-breaking-callback . ,Beam::after_line_breaking)
188         (neutral-direction . -1)
189         (dir-function . ,beam-dir-majority-median)
190         
191         ;; Whe have some unreferenced problems here.
192         ;;
193         ;; If we shorten beamed stems less than normal stems (1 staffspace),
194         ;; or high order less than 8th beams, patterns like
195         ;;     c''4 [c''8 c''] c''4 [c''16 c]
196         ;; are ugly (different stem lengths).
197         ;;
198         ;; But if we shorten 16th beams as much as 8th beams, a single
199         ;; forced 16th beam looks *very* short.
200
201         ;; We choose to shorten 8th beams the same as single stems,
202         ;; and high order beams less than 8th beams, so that all
203         ;; isolated shortened beams look nice and a bit shortened,
204         ;; sadly possibly breaking patterns with high order beams.
205         (beamed-stem-shorten . (1.0 0.5 0.25))
206         
207         (flag-width-function . ,beam-flag-width-function)
208         (damping . 1)
209         (auto-knee-gap . 5.5)
210
211         ;; only for debugging.
212         (font-family . roman)
213         
214         (space-function . ,Beam::space_function)
215         (meta . ((interfaces . (staff-symbol-referencer-interface beam-interface spanner-interface))))
216         ))
217
218     (BreakAlignment
219      . (
220         (breakable . #t)
221         (stacking-dir . 1)
222         (break-align-orders . #(; end-of-line:
223                                 (instrument-name left-edge ambitus breathing-sign
224                                                  clef  staff-bar key-signature
225                                                  time-signature custos)
226
227                                 ; unbroken
228                                 (instrument-name left-edge ambitus breathing-sign
229                                                  clef  staff-bar key-signature
230                                                  staff
231                                                  time-signature custos)
232                                 ; begin of line
233                                 (instrument-name left-edge ambitus breathing-sign
234                                                  clef key-signature staff-bar
235                                                  time-signature custos)
236
237                                 ))
238         (axes . (0))
239         (X-extent-callback . ,Axis_group_interface::group_extent_callback)
240         (meta . ((interfaces . (break-alignment-interface item-interface axis-group-interface)))))
241         )
242
243     (BreakAlignGroup
244      . (
245         (axes  . (0))
246         (X-offset-callbacks . (,Break_align_interface::alignment_callback))
247         (X-extent-callback . ,Axis_group_interface::group_extent_callback)
248         (meta . ((interfaces . (break-aligned-interface item-interface axis-group-interface item-interface ))))
249         ))
250
251     (BreathingSign
252      . (
253         (break-align-symbol . breathing-sign)
254         (breakable . #t)
255         (space-alist . (
256                         (ambitus . (extra-space . 2.0))
257                         (custos . (minimum-space . 1.0))
258                         (key-signature . (minimum-space . 1.5))
259                         (staff-bar . (minimum-space . 1.5))
260                         (clef . (minimum-space . 2.0))
261                         (first-note . (fixed-space . 1.0)) ;huh? 
262                         (right-edge . (extra-space . 0.1))
263                         ))
264         (print-function . ,Text_item::print)
265         (text . ,(make-musicglyph-markup "scripts-rcomma"))
266         (Y-offset-callbacks . (,Breathing_sign::offset_callback))
267         (break-visibility . ,begin-of-line-invisible)
268         (meta . ((interfaces . (break-aligned-interface breathing-sign-interface text-interface font-interface item-interface ))))
269         ))
270
271     (Clef
272      . (
273         (print-function . ,Clef::print)
274         (before-line-breaking-callback . ,Clef::before_line_breaking)
275         (breakable . #t)
276         (font-family . music)      
277         (break-align-symbol . clef)
278         (break-visibility . ,begin-of-line-visible)
279         (space-alist . ((ambitus . (extra-space . 2.0))
280                         (staff-bar . (extra-space . 0.7))
281                         (key-signature . (minimum-space . 4.0))
282                         (time-signature . (minimum-space . 4.2))
283                         (first-note . (minimum-fixed-space . 5.0))
284                         (next-note . (extra-space . 0.5))
285                         (right-edge . (extra-space . 0.5))
286                         ))
287         (Y-offset-callbacks  . (,Staff_symbol_referencer::callback)) 
288         (meta . ((interfaces . (clef-interface staff-symbol-referencer-interface font-interface break-aligned-interface item-interface ))))
289         ))
290     
291     (ClusterSpannerBeacon
292      . (
293         (print-function . #f)
294         (Y-extent-callback . ,Cluster_beacon::height)
295         (meta . ((interfaces . (cluster-beacon-interface item-interface))))
296         ))
297     
298     (ClusterSpanner
299      . (
300         (print-function . ,Cluster::print)
301         (spacing-procedure . ,Spanner::set_spacing_rods)                
302         (minimum-length . 0.0)
303         (padding . 0.25)
304         (style . ramp)
305         (meta . ((interfaces . (cluster-interface spanner-interface))))
306         ))
307
308     (ChordName
309      . (
310         (print-function . ,Text_item::print)
311         (after-line-breaking-callback . ,Chord_name::after_line_breaking)
312         (word-space . 0.0)
313         (font-family . sans)
314         (font-size . 1.5)
315         (meta . ((interfaces . (font-interface                                                  rhythmic-grob-interface
316                                                                                                 text-interface chord-name-interface item-interface ))))
317         ))
318
319     (Custos
320      . (
321         (break-align-symbol . custos)
322         (breakable . #t)
323         (print-function . ,Custos::print)
324         (break-visibility . ,end-of-line-visible)
325         (style . vaticana)
326         (neutral-direction . -1)
327         (Y-offset-callbacks . (,Staff_symbol_referencer::callback))
328         (space-alist . (
329                         (first-note . (minimum-fixed-space . 0.0))
330                         (right-edge . (extra-space . 0.1))
331                         ))
332         (meta . ((interfaces
333                   . (custos-interface staff-symbol-referencer-interface
334                                       font-interface
335                                       break-aligned-interface item-interface ))))
336         ))
337
338
339     (DotColumn
340      . (
341         (axes . (0))
342         (direction . ,RIGHT)
343         (X-extent-callback . ,Axis_group_interface::group_extent_callback)
344         (X-offset-callbacks . (,Dot_column::side_position))
345         (meta . ((interfaces . (dot-column-interface axis-group-interface item-interface ))))
346         ))
347
348     (Dots
349      . (
350         (print-function . ,Dots::print)
351         (dot-count . 1)
352         (meta . ((interfaces . (font-interface staff-symbol-referencer-interface dots-interface item-interface ))))
353         ))
354
355     (DoublePercentRepeat
356      . (
357         (print-function . ,Percent_repeat_item_interface::double_percent)
358         (breakable . #t)
359         (slope . 1.0)
360         (font-encoding . fetaMusic)
361         (width . 2.0)
362         (thickness . 0.48)
363         (break-align-symbol . staff-bar)
364         (break-visibility . ,begin-of-line-invisible)
365         (meta . ((interfaces . (font-interface
366                                 break-aligned-interface
367                                 percent-repeat-interface item-interface ))))
368         ))
369     (DynamicText
370      . (
371         (Y-offset-callbacks . (,Self_alignment_interface::aligned_on_self))
372         (print-function . ,Text_item::print)
373         (X-offset-callbacks . (,Self_alignment_interface::aligned_on_self
374                                ,Self_alignment_interface::centered_on_parent))
375         (self-alignment-X . 0)
376         (no-spacing-rods . #t)
377         (script-priority . 100)
378         (font-series . bold)
379         (font-encoding . fetaDynamic)
380         (font-shape . italic)
381         (self-alignment-Y . 0)
382         (meta . ((interfaces . (font-interface text-interface self-alignment-interface
383                                                dynamic-interface script-interface item-interface))))
384         ))
385     (DynamicTextSpanner
386      . ((print-function . ,Dynamic_text_spanner::print)
387         (font-series . bold) 
388         (font-shape . italic)
389         (style . dashed-line)
390
391         ; need to blend with dynamic texts.
392         (font-size . 2)
393         (bound-padding . 0.75) 
394         (dash-fraction . 0.2)
395         (dash-period . 3.0)
396         (meta . ((interfaces . (font-interface
397                                 text-interface 
398                                 dynamic-interface dynamic-text-spanner-interface
399                                 item-interface))))
400          ))
401     
402     (DynamicLineSpanner
403      . (
404         (axes . (1))
405         (Y-extent-callback . ,Axis_group_interface::group_extent_callback)      
406         (Y-offset-callbacks . (,Side_position_interface::aligned_side))
407         (staff-padding . 0.1)
408         (padding . 0.6)
409         (minimum-space . 1.2)
410         (direction . -1)
411         
412         (meta . ((interfaces . (dynamic-interface axis-group-interface
413                                                   side-position-interface spanner-interface)))) ))
414
415     (LeftEdge
416      . (
417         (break-align-symbol . left-edge)
418         (X-extent .  (0 . 0))
419         (breakable . #t)
420         (space-alist . (
421                         (custos . (extra-space . 0.0))
422                         (ambitus . (extra-space . 2.0))
423                         (time-signature . (extra-space . 0.0)) 
424                         (staff-bar . (extra-space . 0.0))
425                         (breathing-sign . (minimum-space  . 0.0))
426                         (clef . (extra-space . 0.85))
427                         (first-note . (fixed-space . 1.0))
428                         (right-edge . (extra-space . 0.0))
429                         (key-signature . (extra-space . 0.0))
430                         ))
431         (meta . ((interfaces . (break-aligned-interface item-interface ))))
432         ))
433
434     (Fingering
435      . (
436         (print-function . ,Text_item::print)
437
438         ; sync with TextScript (?)
439         (padding . 0.5)
440         (staff-padding . 0.5)
441         (self-alignment-X . 0)
442         (self-alignment-Y . 0)
443         (script-priority . 100)
444         (font-encoding . fetaNumber)
445         (font-size . -5)                ; don't overlap when next to heads.
446         (meta . ((interfaces . (finger-interface
447                                 font-interface text-script-interface text-interface
448                                 side-position-interface self-alignment-interface
449                                 item-interface))))
450         ))
451
452     (Glissando
453      . (
454         (style . line)
455         (gap . 0.5)
456         (zigzag-width . 0.75)
457         (breakable . #t)
458         (X-extent-callback . #f)
459         (Y-extent-callback . #f)                         
460         (after-line-breaking-callback . ,Line_spanner::after_line_breaking)
461         (print-function . ,Line_spanner::print)
462         (meta . ((interfaces . (line-spanner-interface spanner-interface))))
463         ))
464
465     (Hairpin
466      . (
467         (print-function . ,Hairpin::print)
468         (thickness . 1.0)
469         (height . 0.6666)
470         (spacing-procedure . ,Spanner::set_spacing_rods)
471         (minimum-length . 2.0)
472         (bound-padding . 1.0)
473         (self-alignment-Y . 0)
474         (Y-offset-callbacks . (,Self_alignment_interface::aligned_on_self))
475         (meta . ((interfaces . (hairpin-interface line-interface self-alignment-interface dynamic-interface spanner-interface))))
476         ))
477
478     (HorizontalBracket
479      . (
480         (thickness . 1.0)
481         (print-function . ,Horizontal_bracket::print)
482         (Y-offset-callbacks . (,Side_position_interface::aligned_side))
483         (padding . 0.2)
484         (direction . -1)
485         (bracket-flare . (0.5 . 0.5)) 
486         (meta . ((interfaces . (horizontal-bracket-interface
487                                 side-position-interface
488                                 line-interface
489                                 spanner-interface))))
490         ))
491     (InstrumentName
492      . (
493         (breakable . #t)
494         (Y-offset-callbacks . (,Self_alignment_interface::aligned_on_self
495                                ,Side_position_interface::aligned_on_support_refpoints))
496         ;; This direction is for aligned_on_support_refpoints
497         ;; (?) --hwn
498         (direction . 0)
499         (space-alist . (
500                         (left-edge . (extra-space . 1.0))
501                         ))
502
503         (self-alignment-Y . 0)
504         (print-function . ,Text_item::print)            
505         (break-align-symbol . instrument-name)
506         (break-visibility . ,begin-of-line-visible)
507         (baseline-skip . 2)
508         (meta . ((interfaces . (font-interface self-alignment-interface side-position-interface text-interface break-aligned-interface item-interface ))))
509         ))
510     
511     (VocalName
512      . (
513         (breakable . #t)
514         (Y-offset-callbacks . (,Side_position_interface::aligned_on_support_refpoints))
515         (direction . 0)
516         (space-alist . ((left-edge . (extra-space . 1.0))
517                         ))
518         (break-align-symbol . instrument-name)
519         (print-function . ,Text_item::print)            
520         (break-align-symbol . clef)
521         (break-visibility . ,begin-of-line-visible)
522         (baseline-skip . 2)
523         (meta . ((interfaces . (font-interface
524                                 self-alignment-interface
525                                 side-position-interface text-interface
526                                 break-aligned-interface item-interface ))))
527         ))
528
529     (KeySignature
530      . (
531         (print-function . ,Key_signature_interface::print)
532         (space-alist . (
533                         (time-signature . (extra-space . 1.25))
534                         (staff-bar .  (extra-space . 1.1))
535                         (right-edge . (extra-space . 0.5))
536                         (first-note . (fixed-space . 2.5))
537                         ))
538         (Y-offset-callbacks . (,Staff_symbol_referencer::callback))
539         (break-align-symbol . key-signature)
540         (break-visibility . ,begin-of-line-visible)
541         (breakable . #t)
542         
543         (meta . ((interfaces . (key-signature-interface font-interface
544                                                         break-aligned-interface item-interface ))))
545         ))
546     (LedgerLineSpanner
547      . (
548         (print-function . ,Ledger_line_spanner::print)
549         (X-extent-callback . #f)
550         (Y-extent-callback . #f)
551         (print-function . ,Ledger_line_spanner::print)
552         (meta . ((interfaces . (spanner-interface ledger-line-interface))))
553         ))
554     
555     (LigatureBracket
556      . (
557         (ligature-primitive-callback . ,Note_head::print)
558         (direction . 1)
559         (gap . 0.0)
560         (padding . 2.0)
561         (thickness . 1.6)
562         (edge-height . (0.7 . 0.7))
563         (shorten-pair . (-0.2 . -0.2))
564         (before-line-breaking-callback . ,Tuplet_bracket::before_line_breaking)
565         (after-line-breaking-callback . ,Tuplet_bracket::after_line_breaking)
566         (print-function . ,Tuplet_bracket::print)
567         (meta .  ((interfaces . (tuplet-bracket-interface spanner-interface))))
568         ))
569
570     (LyricHyphen
571      . (
572         (thickness . 1.3)
573         (height . 0.42)
574         (dash-period . 10.0)
575         (length . 0.66)
576         (spacing-procedure . ,Hyphen_spanner::set_spacing_rods)
577         (print-function . ,Hyphen_spanner::print)
578         (Y-extent  . (0 . 0))
579         (meta . ((interfaces . (lyric-interface lyric-hyphen-interface
580                                                 spanner-interface))))
581         ))
582
583     (LyricExtender
584      . (
585         (print-function . ,Lyric_extender::print)
586         (thickness . 0.8) ; linethickness
587         (minimum-length . 1.5)
588         (Y-extent . (0 . 0))
589         (meta . ((interfaces . (lyric-interface
590                                 lyric-extender-interface spanner-interface))))
591         ))
592
593     (LyricText
594      . ((print-function . ,Text_item::print)
595         (X-offset-callbacks . (,Self_alignment_interface::aligned_on_parent))
596         (self-alignment-X . 0)
597         (word-space . 0.6)
598         (font-series . bold-narrow)
599         (font-size . 1.0)
600         (meta . ((interfaces . (rhythmic-grob-interface lyric-syllable-interface self-alignment-interface text-interface font-interface item-interface ))))
601         ))
602
603     (MensuralLigature
604      . (
605         (thickness . 1.4)
606         (flexa-width . 2.0)
607         (ligature-primitive-callback . ,Mensural_ligature::brew_ligature_primitive)
608         (print-function . ,Mensural_ligature::print)
609         (meta . ((interfaces . (mensural-ligature-interface font-interface))))
610         ))
611
612     (RehearsalMark
613      . (
614         (print-function . ,Text_item::print)
615         (X-offset-callbacks . (,Self_alignment_interface::aligned_on_self))
616         (Y-offset-callbacks . (,Side_position_interface::aligned_side))
617         (after-line-breaking-callback . ,shift-right-at-line-begin)
618         (self-alignment-X . 0)
619         (direction . 1)
620         (breakable . #t)
621         (font-size . 2)
622         (baseline-skip . 2)
623         (break-visibility . ,end-of-line-invisible)
624         (padding . 0.8)
625         (meta . ((interfaces . (text-interface
626                                 side-position-interface font-interface mark-interface
627                                 self-alignment-interface item-interface ))))
628         ))
629      (MetronomeMark
630      . (
631         (print-function . ,Text_item::print)
632         (Y-offset-callbacks . (,Side_position_interface::aligned_side)) 
633         (direction . 1)
634         (padding . 0.8)
635         (meta . ((interfaces . (text-interface
636                                 side-position-interface font-interface
637                                 metronome-mark-interface item-interface))))
638         ))
639     (MeasureGrouping
640      . (
641         (Y-offset-callbacks . (,Side_position_interface::aligned_side))
642         (print-function . ,Measure_grouping::print)
643         (padding . 2)
644         (direction . 1)
645         (thickness . 1)
646         (height . 2.0)
647         (staff-padding . 3)
648         (meta . ((interfaces . (spanner-interface side-position-interface measure-grouping-interface))))
649         ))
650     (MultiMeasureRest
651      . (
652         (spacing-procedure . ,Multi_measure_rest::set_spacing_rods)
653         (print-function . ,Multi_measure_rest::print)
654         (Y-offset-callbacks . (,Staff_symbol_referencer::callback))
655         (staff-position . 0)
656         (expand-limit . 10)
657         (thick-thickness . 6.6)
658         (hair-thickness . 2.0)
659         (padding . 1)
660         (meta . ((interfaces . (multi-measure-rest-interface multi-measure-interface rest-interface font-interface staff-symbol-referencer-interface))))
661         ))
662     
663     (MultiMeasureRestNumber
664      . (
665         (print-function . ,Text_item::print)
666         (X-offset-callbacks . (,Self_alignment_interface::aligned_on_self
667                                ,Self_alignment_interface::centered_on_other_axis_parent))
668         (Y-offset-callbacks . (,Side_position_interface::aligned_side))
669         (self-alignment-X . 0)
670         (direction . 1)
671         (padding . 1.3)
672         (staff-padding . 1.3)
673         (font-encoding . fetaNumber)
674         (meta . ((interfaces . (side-position-interface multi-measure-interface self-alignment-interface font-interface spanner-interface text-interface))))
675         ))
676     (MultiMeasureRestText
677      . (
678         (print-function . ,Text_item::print)
679         (X-offset-callbacks . (,Self_alignment_interface::aligned_on_self
680                                ,Self_alignment_interface::centered_on_other_axis_parent))
681         (Y-offset-callbacks . (,Side_position_interface::aligned_side))
682         (self-alignment-X . 0)
683         (direction . 1)
684         (padding . 0.2)
685         (staff-padding . 0.25)
686         (meta . ((interfaces . (side-position-interface multi-measure-interface self-alignment-interface font-interface spanner-interface text-interface))))
687         ))
688  (NoteCollision
689      . (
690         (axes . (0 1))
691         (X-extent-callback . ,Axis_group_interface::group_extent_callback)
692         (Y-extent-callback . ,Axis_group_interface::group_extent_callback)      
693         (meta . ((interfaces . (note-collision-interface axis-group-interface item-interface ))))
694         ))
695
696     (NoteColumn
697      . (
698         (axes . (0 1))
699         (X-extent-callback . ,Axis_group_interface::group_extent_callback)
700         (Y-extent-callback . ,Axis_group_interface::group_extent_callback)      
701         (meta . ((interfaces . (axis-group-interface note-column-interface item-interface ))))
702         ))
703
704     (NoteHead
705      . (
706         (style . default)
707         (print-function . ,Note_head::print)
708         (ligature-primitive-callback . ,Note_head::print)
709         (glyph-name-procedure . ,find-notehead-symbol)
710         (X-extent-callback . ,Note_head::extent)
711         (Y-extent-callback . ,Note_head::extent)
712         (Y-offset-callbacks  . (,Staff_symbol_referencer::callback))
713         (stem-attachment-function . ,note-head-style->attachment-coordinates)
714         (meta . ((interfaces . (rhythmic-grob-interface
715                                 rhythmic-head-interface font-interface note-head-interface
716                                 staff-symbol-referencer-interface item-interface ))))
717         ))
718
719     (NoteSpacing
720      . (
721         (stem-spacing-correction . 0.5)
722
723         ;; Changed this from 0.75.
724         ;; If you ever change this back, please document! --hwn
725         (knee-spacing-correction . 1.0)
726         
727         (meta . ((interfaces . (spacing-interface note-spacing-interface item-interface ))))
728         ))
729
730     (VoiceFollower
731      . (
732         (style . line)
733         (gap . 0.5)
734         (breakable . #t)
735         (X-extent-callback . #f)
736         (Y-extent-callback . #f)                         
737         (print-function . ,Line_spanner::print)
738         (after-line-breaking-callback . ,Line_spanner::after_line_breaking)
739         (meta . ((interfaces . (line-spanner-interface line-interface spanner-interface))))
740         ))
741
742     (NoteName
743      . (
744         (print-function . ,Text_item::print)
745         (meta . ((interfaces . (note-name-interface
746                                 text-interface font-interface item-interface ))))
747         ))
748
749     (OctavateEight
750      . (
751         (self-alignment-X . 0)
752         (break-visibility . ,begin-of-line-visible)
753         (X-offset-callbacks . (,Self_alignment_interface::centered_on_parent ,Self_alignment_interface::aligned_on_self))
754         (Y-offset-callbacks . (,Side_position_interface::aligned_side))
755         (print-function . ,Text_item::print)
756
757         ;; no Y dimensions, because of lyrics under tenor clef.
758         (Y-extent . (0 . 0))
759         (font-shape . italic)
760         (padding . 0.6)
761         (staff-padding . 0.2)
762         (font-size . -4)
763         (meta . ((interfaces . (text-interface self-alignment-interface side-position-interface font-interface item-interface ))))
764         ))
765
766     (PaperColumn
767      . (
768         (axes . (0))
769         (before-line-breaking-callback . ,Paper_column::before_line_breaking)
770         (X-extent-callback . ,Axis_group_interface::group_extent_callback)
771
772 ;               (print-function . ,Paper_column::print) (font-name . "ecrm8") (Y-extent-callback . #f)
773         (meta . ((interfaces . (paper-column-interface axis-group-interface spaceable-grob-interface item-interface ))))
774         ))
775
776     (PhrasingSlur
777      . ((slur-details . ,default-slur-details)
778         (print-function . ,New_slur::print)
779         (thickness . 1.2)               
780         (spacing-procedure . ,Spanner::set_spacing_rods)                
781         (minimum-length . 1.5)
782         (after-line-breaking-callback . ,New_slur::after_line_breaking)
783         (Y-extent-callback . ,New_slur::height)
784         (height-limit . 2.0)
785         (ratio . 0.333)
786         (meta . ((interfaces . (slur-interface new-slur-interface spanner-interface))))
787         ))
788
789     (NonMusicalPaperColumn
790      . (
791         (axes . (0))
792         (X-extent-callback . ,Axis_group_interface::group_extent_callback)
793         (before-line-breaking-callback . ,Paper_column::before_line_breaking)
794         (breakable . #t)
795         ;; debugging stuff: print column number.
796 ;       (print-function . ,Paper_column::print) (font-name . "ecrm8")   (Y-extent-callback . #f)
797
798
799         (meta .  ((interfaces . (paper-column-interface axis-group-interface spaceable-grob-interface item-interface ))))
800         ))
801
802     (PercentRepeat
803      . (
804         (spacing-procedure . ,Multi_measure_rest::set_spacing_rods)
805         (print-function . ,Multi_measure_rest::percent)
806         (slope . 1.0)
807         (thickness . 0.48)
808         (font-encoding . fetaMusic)
809         (meta . ((interfaces . (multi-measure-rest-interface  spanner-interface font-interface percent-repeat-interface))))
810         ))
811
812     (PianoPedalBracket   ;; an example of a text spanner
813      . (
814         (print-function . ,Piano_pedal_bracket::print)
815         (style . line)
816         (bound-padding . 1.0)
817         (direction . -1)
818         (bracket-flare . (0.5 . 0.5))
819         (edge-height . (1.0 . 1.0))
820         (shorten-pair . (0.0 . 0.0))
821         (thickness .  1.0)
822         (meta . ((interfaces . (line-interface piano-pedal-interface piano-pedal-bracket-interface spanner-interface))))
823         ))
824
825
826     (RemoveEmptyVerticalGroup
827      . (
828         (Y-offset-callbacks . (,Hara_kiri_group_spanner::force_hara_kiri_callback))
829         (Y-extent-callback . ,Hara_kiri_group_spanner::y_extent)
830         (remove-first . #t)
831         (axes . (1))
832         (meta . ((interfaces . (axis-group-interface hara-kiri-group-interface item-interface  spanner-interface))))
833         ))
834
835     (RepeatSlash
836      . (
837         (print-function . ,Percent_repeat_item_interface::beat_slash)
838         (thickness . 0.48)
839         (slope . 1.7)
840         (meta . ((interfaces . (percent-repeat-interface item-interface ))))
841         ))
842     (Rest
843      . (
844         (after-line-breaking-callback . ,Rest::after_line_breaking)
845         (X-extent-callback . ,Rest::extent_callback)
846         (Y-extent-callback . ,Rest::extent_callback)            
847         (print-function . ,Rest::print)
848         (Y-offset-callbacks . (,Staff_symbol_referencer::callback
849                                ,Rest::polyphonic_offset_callback
850                                ))
851         (minimum-distance . 0.25)
852         (meta . (
853                  (interfaces . (font-interface
854                                 rhythmic-head-interface
855                                 rhythmic-grob-interface
856                                 staff-symbol-referencer-interface
857                                 rest-interface item-interface ))
858                 ))))
859
860     (RestCollision
861      . (
862         (minimum-distance . 0.75)
863         (meta . ((interfaces . (rest-collision-interface item-interface ))))
864         ))
865
866     (Script
867      . (
868         ;; don't set direction here: it breaks staccato.
869         (print-function . ,Script_interface::print)
870
871         ;; This value is sensitive: if too large, staccato dots will move a
872         ;; space a away.
873         (padding . 0.20)
874         (staff-padding . 0.25)
875         ;; (script-priority . 0) priorities for scripts, see script.scm
876         (X-offset-callbacks . (,Self_alignment_interface::centered_on_parent))
877         (before-line-breaking-callback . ,Script_interface::before_line_breaking)
878         (font-encoding . fetaMusic)
879         (meta . ((interfaces . (script-interface side-position-interface font-interface item-interface ))))
880         ))
881
882     (ScriptColumn
883      . (
884         (before-line-breaking-callback . ,Script_column::before_line_breaking)
885         (meta . ((interfaces . (script-column-interface item-interface ))))
886         ))
887
888     (Slur
889      . ((slur-details . ,default-slur-details)
890         (print-function . ,New_slur::print)
891         (thickness . 1.2)               
892         (spacing-procedure . ,Spanner::set_spacing_rods)                
893         (minimum-length . 1.5)
894         (after-line-breaking-callback . ,New_slur::after_line_breaking)
895         (Y-extent-callback . ,New_slur::height)
896                                         ; Slur::height)
897         (height-limit . 2.0)
898         (ratio . 0.25)
899         (meta . ((interfaces . (slur-interface new-slur-interface spanner-interface))))
900         ))
901
902     (SpacingSpanner
903      . (
904         (spacing-procedure .  ,Spacing_spanner::set_springs)
905         (grace-space-factor . 0.6)
906         (shortest-duration-space . 2.0)
907         (spacing-increment . 1.2)
908         (base-shortest-duration . ,(ly:make-moment 1 8))
909         (meta . ((interfaces . (spacing-interface spacing-spanner-interface spanner-interface))))
910         ))
911
912     (SpanBar
913      . (
914         (break-align-symbol . staff-bar)
915         (bar-size-procedure . ,Span_bar::get_bar_size) 
916         (print-function . ,Span_bar::print)
917         (X-extent-callback . ,Span_bar::width_callback)
918         (Y-extent-callback . ())
919         (breakable . #t)
920         (before-line-breaking-callback . ,Span_bar::before_line_breaking)
921         ;; ugh duplication! 
922
923         ;;
924         ;; Ross. page 151 lists other values, we opt for a leaner look
925         ;; 
926         (kern . 3.0)
927         (thin-kern . 3.0)
928         (hair-thickness . 1.6)
929         (thick-thickness . 6.0)
930         (meta . ((interfaces . (span-bar-interface font-interface
931                                                    bar-line-interface item-interface ))))
932         ))
933
934     (StanzaNumber
935      . ((print-function . ,Text_item::print)            
936         (font-series . bold)
937         (padding . 1.0)
938         (X-offset-callbacks . (,Side_position_interface::aligned_side))
939         (direction . ,LEFT) 
940         (meta . ((interfaces . (side-position-interface stanza-number-interface text-interface font-interface item-interface ))))               
941         ))
942
943     (StaffSpacing
944      . (
945         (breakable . #t)
946         (stem-spacing-correction . 0.4)
947
948         (meta . ((interfaces . (spacing-interface staff-spacing-interface item-interface ))))
949         ))
950
951     (SostenutoPedal
952      . (
953         (print-function . ,Text_item::print)
954         (direction . 1)
955         (X-offset-callbacks . (,Self_alignment_interface::aligned_on_self))
956         (no-spacing-rods . #t)
957         (padding . 0.0) ;; padding relative to SostenutoPedalLineSpanner
958         (font-shape . italic)
959         (self-alignment-X . 0)
960         (meta . ((interfaces . (text-interface  self-alignment-interface font-interface item-interface))))
961         ))
962
963     (SostenutoPedalLineSpanner 
964      . (
965         (axes . (1))
966         (Y-extent-callback . ,Axis_group_interface::group_extent_callback)      
967         (Y-offset-callbacks . (,Side_position_interface::aligned_side))
968         
969
970         (padding . 1.2)
971         (minimum-space . 1.0)
972         (direction . -1)
973         (meta . ((interfaces . (piano-pedal-interface axis-group-interface side-position-interface  spanner-interface))))
974         ))
975
976     (StaffSymbol
977      . (
978         (print-function . ,Staff_symbol::print)
979         (line-count . 5)
980         (ledger-line-thickness  . (1.0 . 0.1))
981         (layer . 0)
982         (meta . ((interfaces . (staff-symbol-interface spanner-interface))))
983         ))
984         
985     (Stem
986      . (
987         ;; this list is rather long. Trim --hwn
988         (before-line-breaking-callback . ,Stem::before_line_breaking)
989         (print-function . ,Stem::print)
990         (thickness . 1.3)
991
992         ;; 3.5 (or 3 measured from note head) is standard length
993         ;; 32nd, 64th flagged stems should be longer
994         (lengths . (3.5 3.5 3.5 4.5 5.0))
995         
996         ;; Stems in unnatural (forced) direction should be shortened by
997         ;; one staff space, according to [Roush & Gourlay].
998         ;; Flagged stems we shorten only half a staff space.
999         (stem-shorten . (1.0 0.5))
1000
1001         ;; default stem direction for note on middle line
1002         (neutral-direction . -1)
1003
1004
1005
1006         ;; FIXME.  3.5 yields too long beams (according to Ross and
1007         ;; looking at Baerenreiter examples) for a number of common
1008         ;; boundary cases.  Subtracting half a beam thickness fixes
1009         ;; this, but the bug may well be somewhere else.
1010
1011         ;; FIXME this should come from 'lengths
1012
1013         (beamed-lengths . (3.26 3.26 1.5))
1014         
1015         ;; We use the normal minima as minimum for the ideal lengths,
1016         ;; and the extreme minima as abolute minimum length.
1017         
1018         ;; The 'normal' minima
1019         (beamed-minimum-free-lengths . (1.83 1.5 1.25))
1020         
1021         ;; The 'extreme case' minima
1022         (beamed-extreme-minimum-free-lengths . (2.0 1.25))
1023
1024         (X-offset-callbacks . (,Stem::off_callback))
1025         (X-extent-callback . ,Stem::dim_callback)       
1026         (Y-extent-callback . ,Stem::height)
1027         (Y-offset-callbacks . (,Staff_symbol_referencer::callback))
1028         (meta . ((interfaces . (stem-interface font-interface item-interface ))))
1029         ))
1030
1031     (StemTremolo
1032      . (
1033         (print-function . ,Stem_tremolo::print)
1034         (Y-extent-callback . ,Stem_tremolo::height)
1035         (X-extent-callback . #f)
1036
1037         (beam-width . 1.6) ; staff-space
1038         (beam-thickness . 0.48) ; staff-space
1039         (meta . ((interfaces . (stem-tremolo-interface item-interface ))))
1040         ))
1041
1042     (SeparationItem
1043      . (
1044         (X-extent-callback . #f)
1045         (Y-extent-callback . #f)
1046         (meta . ((interfaces . (spacing-interface separation-item-interface item-interface ))))
1047         ))
1048
1049     (SeparatingGroupSpanner
1050      . (
1051         (spacing-procedure . ,Separating_group_spanner::set_spacing_rods)
1052         (meta . ((interfaces . (only-prebreak-interface spacing-interface separation-spanner-interface spanner-interface))))
1053         ))
1054
1055     (SustainPedal
1056      . (
1057         (no-spacing-rods . #t)
1058         (print-function . ,Sustain_pedal::print)
1059         (self-alignment-X . 0)
1060         (direction . 1)
1061         (padding . 0.0)  ;; padding relative to SustainPedalLineSpanner
1062         (X-offset-callbacks . (,Self_alignment_interface::aligned_on_self))
1063         (meta . ((interfaces . (piano-pedal-interface text-spanner-interface text-interface self-alignment-interface font-interface item-interface))))
1064         ))
1065
1066     (SustainPedalLineSpanner 
1067      . (
1068         (axes . (1))
1069         (Y-extent-callback . ,Axis_group_interface::group_extent_callback)
1070         (Y-offset-callbacks . (,Side_position_interface::aligned_side))
1071         
1072         (padding . 1.2)
1073         (staff-padding . 1.2)
1074         (minimum-space . 1.0)
1075         (direction . -1)
1076         (meta . ((interfaces . (piano-pedal-interface axis-group-interface side-position-interface spanner-interface))))
1077         ))
1078
1079     (System
1080      . (
1081         (axes . (0 1))
1082         (X-extent-callback . ,Axis_group_interface::group_extent_callback)
1083         (Y-extent-callback . ,Axis_group_interface::group_extent_callback)      
1084         (meta . ((interfaces . (system-interface axis-group-interface spanner-interface))))
1085         ))
1086
1087     (SystemStartBrace
1088      . (
1089         (glyph . "brace")
1090         (print-function . ,System_start_delimiter::print)
1091         (collapse-height . 5.0)
1092         (font-encoding . fetaBraces)
1093         (Y-extent-callback . #f)
1094         (meta . ((interfaces . (system-start-delimiter-interface font-interface))))
1095         ))
1096
1097     (SystemStartBracket
1098      . (
1099         (Y-extent-callback . #f)
1100         (print-function . ,System_start_delimiter::print)
1101         (glyph . "bracket")
1102         (arch-height . 1.5)
1103         (arch-angle . 50.0)
1104         (arch-thick . 0.25)
1105         (arch-width . 1.5)
1106         (collapse-height . 1)
1107         (thickness . 0.25)
1108         (meta . ((interfaces . (system-start-delimiter-interface spanner-interface))))
1109         ))
1110
1111     (SystemStartBar
1112      . (
1113         (Y-extent-callback . #f)
1114         (print-function . ,System_start_delimiter::print)
1115         (glyph . "bar-line")
1116         (thickness . 1.6)
1117         (after-line-breaking-callback . ,System_start_delimiter::after_line_breaking)
1118         (meta . ((interfaces . (system-start-delimiter-interface spanner-interface))))
1119         ))
1120
1121     (TextScript
1122      . (
1123         (print-function . ,Text_item::print)
1124         (no-spacing-rods . #t)
1125         (X-offset-callbacks . (,Self_alignment_interface::aligned_on_self))
1126         (direction . -1)
1127
1128         ; sync with Fingering ?
1129         (padding . 0.5)
1130         (staff-padding . 0.5)
1131         (script-priority . 200)
1132         ;; todo: add X self alignment?
1133         (meta . ((interfaces . (text-script-interface text-interface side-position-interface font-interface item-interface ))))
1134         ))
1135     (CombineTextScript
1136      . (
1137         (print-function . ,Text_item::print)
1138         (no-spacing-rods . #t)
1139         (Y-offset-callbacks . (,Side_position_interface::aligned_side))
1140         (X-offset-callbacks . (,Self_alignment_interface::aligned_on_self))
1141         (direction . 1)
1142         (extra-offset . (-1 . 0)) 
1143         (padding . 0.5)
1144         (staff-padding . 0.5)
1145         (script-priority . 200)
1146         ;; todo: add X self alignment?
1147         (baseline-skip . 2)
1148         (font-series . bold)
1149         (meta . ((interfaces . (text-script-interface text-interface  side-position-interface font-interface item-interface ))))
1150         ))
1151     (TextSpanner
1152      . (
1153         (print-function . ,Text_spanner::print)
1154         (font-shape . italic)
1155         (style . dashed-line)
1156         (staff-padding . 0.1)
1157         (dash-fraction . 0.2)
1158         (dash-period . 3.0)
1159         (direction . 1)
1160         (meta . ((interfaces . (text-spanner-interface side-position-interface font-interface spanner-interface))))             
1161         ))
1162     (TrillSpanner
1163      . (
1164         (print-function . ,Dynamic_text_spanner::print)
1165         (edge-text . ,(cons (make-musicglyph-markup "scripts-trill")
1166                             ""))
1167         (style . trill)
1168         (staff-padding . 1.0)
1169         (padding . 0.5)
1170         (direction . 1)
1171         (Y-offset-callbacks . (,Side_position_interface::aligned_side))
1172         (meta . ((interfaces . (text-spanner-interface side-position-interface font-interface spanner-interface))))             
1173         ))
1174     
1175     (OttavaBracket
1176      . (
1177         (Y-offset-callbacks . (,Side_position_interface::aligned_side))
1178         (print-function . ,Ottava_bracket::print)
1179         (font-shape . italic)
1180         (shorten-pair . (0.0 . -0.6))
1181         (staff-padding . 1.0)
1182         (padding  . 0.5)
1183         (minimum-length . 1.0)
1184         (dash-fraction . 0.3)
1185         (edge-height . (0 . 1.2))
1186         (direction . 1)
1187         (meta . ((interfaces . (ottava-bracket-interface
1188                                 line-interface side-position-interface
1189                                 font-interface text-interface spanner-interface))))             
1190         ))
1191     
1192     (TabNoteHead
1193      . (
1194         (style . default)
1195         (print-function . ,Text_item::print)
1196         (Y-offset-callbacks  . (,Staff_symbol_referencer::callback))
1197         (extra-offset . (0 . -0.65)) ;; UGH! TODO: Clean this up!
1198         (stem-attachment-function . ,tablature-stem-attachment-function)
1199         (meta . ((interfaces
1200                   . (rhythmic-head-interface
1201                      font-interface
1202                      note-head-interface staff-symbol-referencer-interface
1203                      text-interface item-interface ))))
1204         ))
1205
1206
1207     (Tie
1208      . (
1209         (print-function . ,Tie::print)
1210         (spacing-procedure . ,Spanner::set_spacing_rods)
1211         (staffline-clearance . 0.35)
1212         (details . ((ratio . 0.333) (height-limit . 1.0)))
1213         (thickness . 1.2)
1214         (x-gap . -0.1)
1215         (y-offset . 0.6)
1216         (minimum-length  . 2.5)
1217         (meta . ((interfaces . (tie-interface spanner-interface))))
1218         ))
1219
1220     (TieColumn
1221      . (
1222         (after-line-breaking-callback . ,Tie_column::after_line_breaking)
1223         (X-extent-callback . #f)
1224         (Y-extent-callback . #f)        
1225         (meta . ((interfaces . (tie-column-interface spanner-interface))))
1226         ))
1227
1228     (TimeSignature
1229      . (
1230         (print-function . ,Time_signature::print)
1231 ;       (print-function . ,Text_item::print)    
1232         (break-align-symbol . time-signature)
1233         (break-visibility . ,all-visible)
1234         (space-alist . (
1235                         (first-note . (fixed-space . 2.0))
1236                         (right-edge . (extra-space . 0.5))
1237                         (staff-bar .  (minimum-space . 2.0))
1238                         ))
1239         (breakable . #t)
1240         (style . C)
1241 ;       (text . (,time-signature-glue-markup)) 
1242         (meta . ((interfaces . (time-signature-interface break-aligned-interface font-interface item-interface ))))
1243         ))
1244
1245     (TupletBracket
1246      . (
1247         (padding . 1.1)
1248         (thickness . 1.6)
1249         (edge-height . (0.7 . 0.7))
1250         (shorten-pair . (-0.2 . -0.2))
1251         (before-line-breaking-callback . ,Tuplet_bracket::before_line_breaking)
1252         (after-line-breaking-callback . ,Tuplet_bracket::after_line_breaking)
1253         (print-function . ,Tuplet_bracket::print)
1254         (font-shape . italic)
1255         (font-series . bold)
1256
1257         (font-size . -2)
1258         (meta .  ((interfaces . (text-interface line-interface tuplet-bracket-interface font-interface spanner-interface))))
1259         ))
1260
1261     (UnaCordaPedal
1262      . (
1263         (print-function . ,Text_item::print)
1264         (font-shape . italic)
1265         (no-spacing-rods . #t)
1266         (self-alignment-X . 0)
1267         (direction . 1)
1268         (padding . 0.0)  ;; padding relative to UnaCordaPedalLineSpanner
1269         (X-offset-callbacks . (,Self_alignment_interface::aligned_on_self))
1270         (meta . ((interfaces . (text-interface self-alignment-interface font-interface item-interface ))))
1271         ))
1272
1273     (UnaCordaPedalLineSpanner 
1274      . (
1275         (axes . (1))
1276         (Y-extent-callback . ,Axis_group_interface::group_extent_callback)      
1277         (Y-offset-callbacks . (,Side_position_interface::aligned_side))
1278         (padding . 1.2)
1279         (staff-padding . 1.2)
1280         (minimum-space . 1.0)
1281         (direction . -1)
1282         (meta . ((interfaces . (piano-pedal-interface axis-group-interface side-position-interface spanner-interface))))
1283         ))
1284
1285     (VaticanaLigature
1286      . (
1287         (thickness . 0.6)
1288         (flexa-width . 2.0)
1289         (ligature-primitive-callback . ,Vaticana_ligature::brew_ligature_primitive)
1290         (print-function . ,Vaticana_ligature::print)
1291         (meta . ((interfaces . (vaticana-ligature-interface font-interface))))
1292         ))
1293
1294     (VoltaBracket
1295      . (
1296         (print-function . ,Volta_bracket_interface::print)
1297         (direction . 1)
1298         (padding . 1)
1299         (font-encoding . fetaNumber)
1300         (Y-offset-callbacks . (,Side_position_interface::aligned_side))
1301         (thickness . 1.6)  ;  linethickness
1302         (height . 2.0) ; staffspace;
1303         (minimum-space . 5)
1304         (font-size . -4)
1305         (meta . ((interfaces . (volta-bracket-interface line-interface text-interface side-position-interface font-interface spanner-interface))))
1306         ))
1307     
1308     (VerticalAlignment
1309      . (
1310         (axes . (1))
1311         (Y-extent-callback . ,Axis_group_interface::group_extent_callback)
1312         (X-extent-callback . ,Axis_group_interface::group_extent_callback)
1313         (stacking-dir . -1)
1314         (meta . ((interfaces . (align-interface axis-group-interface spanner-interface))))
1315         ))
1316
1317     (VerticalAxisGroup
1318      . (
1319         (axes . (1))
1320         (Y-extent-callback . ,Axis_group_interface::group_extent_callback)      
1321         (X-extent-callback . ,Axis_group_interface::group_extent_callback)
1322         
1323         (meta . ((interfaces . (axis-group-interface spanner-interface))))
1324         ))
1325    )
1326  )
1327
1328
1329
1330
1331 (define (completize-grob-entry x)
1332   "transplant assoc key into 'name entry of 'meta of X
1333 "
1334   (let* ((name-sym  (car x))
1335          (grob-entry (cdr x))
1336          (metaentry (cdr (assoc 'meta grob-entry)))
1337          (ifaces-entry
1338           (cdr (assoc 'interfaces metaentry)))
1339
1340         )
1341     (set! metaentry (assoc-set! metaentry 'name name-sym))
1342     (set! metaentry (assoc-set! metaentry 'interfaces
1343                                 (cons 'grob-interface ifaces-entry)))
1344     (set! grob-entry (assoc-set! grob-entry 'meta metaentry))
1345     (cons name-sym grob-entry)))
1346
1347 (set! all-grob-descriptions (map completize-grob-entry all-grob-descriptions))
1348
1349
1350
1351                                         ;  (display  (map pair? all-grob-descriptions))
1352
1353
1354 ;; make sure that \property Foo.Bar =\turnOff doesn't complain
1355
1356 (map (lambda (x)
1357                                         ; (display (car x)) (newline)
1358
1359        (set-object-property! (car x) 'translation-type? list?)
1360        (set-object-property! (car x) 'is-grob? #t))
1361      all-grob-descriptions)
1362
1363
1364 (set! all-grob-descriptions (sort all-grob-descriptions alist<?))