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