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