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