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