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