]> git.donarmstrong.com Git - lilypond.git/blob - scm/define-grobs.scm
* scm/define-grobs.scm: switch on new-slur by default.
[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         (Y-extent-callback . ,Cluster_beacon::height)
265         (meta . ((interfaces . (cluster-beacon-interface item-interface))))
266         ))
267     
268     (ClusterSpanner
269      . (
270         (print-function . ,Cluster::print)
271         (spacing-procedure . ,Spanner::set_spacing_rods)                
272         (minimum-length . 0.0)
273         (padding . 0.25)
274         (style . ramp)
275         (meta . ((interfaces . (cluster-interface spanner-interface))))
276         ))
277
278     (ChordName
279      . (
280         (print-function . ,Text_item::print)
281         (after-line-breaking-callback . ,Chord_name::after_line_breaking)
282         (word-space . 0.0)
283         (font-family . sans)
284         (font-size . 1.5)
285         (meta . ((interfaces . (font-interface                                                  rhythmic-grob-interface
286                                                                                                 text-interface chord-name-interface item-interface ))))
287         ))
288
289     (Custos
290      . (
291         (break-align-symbol . custos)
292         (breakable . #t)
293         (print-function . ,Custos::print)
294         (break-visibility . ,end-of-line-visible)
295         (style . vaticana)
296         (neutral-direction . -1)
297         (Y-offset-callbacks . (,Staff_symbol_referencer::callback))
298         (space-alist . (
299                         (first-note . (minimum-fixed-space . 0.0))
300                         (right-edge . (extra-space . 0.1))
301                         ))
302         (meta . ((interfaces
303                   . (custos-interface staff-symbol-referencer-interface
304                                       font-interface
305                                       break-aligned-interface item-interface ))))
306         ))
307
308
309     (DotColumn
310      . (
311         (axes . (0))
312         (direction . ,RIGHT)
313         (X-extent-callback . ,Axis_group_interface::group_extent_callback)
314         (X-offset-callbacks . (,Dot_column::side_position))
315         (meta . ((interfaces . (dot-column-interface axis-group-interface item-interface ))))
316         ))
317
318     (Dots
319      . (
320         (print-function . ,Dots::print)
321         (dot-count . 1)
322         (meta . ((interfaces . (font-interface staff-symbol-referencer-interface dots-interface item-interface ))))
323         ))
324
325     (DoublePercentRepeat .
326                          (
327                           (print-function . ,Percent_repeat_item_interface::double_percent)
328                           (breakable . #t)
329                           (slope . 1.0)
330                           (font-encoding . fetaMusic)
331                           (width . 2.0)
332                           (thickness . 0.48)
333                           (break-align-symbol . staff-bar)
334                           (break-visibility . ,begin-of-line-invisible)
335                           (meta . ((interfaces . (font-interface
336                                                   break-aligned-interface
337                                                   percent-repeat-interface item-interface ))))
338                          ))
339
340     (DynamicText
341      . (
342         (Y-offset-callbacks . (,Self_alignment_interface::aligned_on_self))
343         (print-function . ,Text_item::print)
344         (X-offset-callbacks . (,Self_alignment_interface::aligned_on_self
345                                ,Self_alignment_interface::centered_on_parent))
346         (self-alignment-X . 0)
347         (no-spacing-rods . #t)
348         (script-priority . 100)
349         (font-series . bold)
350         (font-encoding . fetaDynamic)
351         (font-shape . italic)
352         (self-alignment-Y . 0)
353         (meta . ((interfaces . (font-interface text-interface self-alignment-interface  dynamic-interface script-interface item-interface))))
354         ))
355
356     (DynamicLineSpanner
357      . (
358         (axes . (1))
359         (Y-extent-callback . ,Axis_group_interface::group_extent_callback)      
360         (Y-offset-callbacks . (,Side_position_interface::aligned_side))
361         (staff-padding . 0.1)
362         (padding . 0.6)
363         (minimum-space . 1.2)
364         (direction . -1)
365         (meta . ((interfaces . (dynamic-interface axis-group-interface side-position-interface spanner-interface))))
366         ))
367
368     (LeftEdge
369      . (
370         (break-align-symbol . left-edge)
371         (X-extent .  (0 . 0))
372         (breakable . #t)
373         (space-alist . (
374                         (custos . (extra-space . 0.0))
375                         (ambitus . (extra-space . 2.0))
376                         (time-signature . (extra-space . 0.0)) 
377                         (staff-bar . (extra-space . 0.0))
378                         (breathing-sign . (minimum-space  . 0.0))
379                         (clef . (extra-space . 0.85))
380                         (first-note . (fixed-space . 1.0))
381                         (right-edge . (extra-space . 0.0))
382                         (key-signature . (extra-space . 0.0))
383                         ))
384         (meta . ((interfaces . (break-aligned-interface item-interface ))))
385         ))
386
387     (Fingering
388      . (
389         (print-function . ,Text_item::print)
390         (padding . 0.6)
391         (staff-padding . 0.6)
392         (self-alignment-X . 0)
393         (self-alignment-Y . 0)
394         (script-priority . 100)
395         (font-encoding . fetaNumber)
396         (font-size . -5)                ; don't overlap when next to heads.
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         (break-align-symbol . instrument-name)
463         (print-function . ,Text_item::print)            
464         (break-align-symbol . clef)
465         (break-visibility . ,begin-of-line-visible)
466         (baseline-skip . 2)
467         (meta . ((interfaces . (font-interface
468                                 self-alignment-interface
469                                 side-position-interface text-interface
470                                 break-aligned-interface item-interface ))))
471         ))
472
473     (KeySignature
474      . (
475         (print-function . ,Key_signature_interface::print)
476         (space-alist . (
477                         (time-signature . (extra-space . 1.25))
478                         (staff-bar .  (extra-space . 1.1))
479                         (right-edge . (extra-space . 0.5))
480                         (first-note . (fixed-space . 2.5))
481                         ))
482         (Y-offset-callbacks . (,Staff_symbol_referencer::callback))
483         (break-align-symbol . key-signature)
484         (break-visibility . ,begin-of-line-visible)
485         (breakable . #t)
486         (meta . ((interfaces . (key-signature-interface  font-interface  break-aligned-interface item-interface ))))
487         ))
488
489     (LigatureBracket
490      . (
491         (ligature-primitive-callback . ,Note_head::print)
492         (direction . 1)
493         (gap . 0.0)
494         (padding . 2.0)
495         (thickness . 1.6)
496         (edge-height . (0.7 . 0.7))
497         (shorten-pair . (-0.2 . -0.2))
498         (before-line-breaking-callback . ,Tuplet_bracket::before_line_breaking)
499         (after-line-breaking-callback . ,Tuplet_bracket::after_line_breaking)
500         (print-function . ,Tuplet_bracket::print)
501         (meta .  ((interfaces . (tuplet-bracket-interface spanner-interface))))
502         ))
503
504     (LyricHyphen
505      . (
506         (thickness . 1.3)
507         (height . 0.42)
508         (dash-period . 10.0)
509         (length . 0.66)
510         (spacing-procedure . ,Hyphen_spanner::set_spacing_rods)
511         (print-function . ,Hyphen_spanner::print)
512         (Y-extent  . (0 . 0))
513         (meta . ((interfaces . (lyric-interface lyric-hyphen-interface
514                                                 spanner-interface))))
515         ))
516
517     (LyricExtender
518      . (
519         (print-function . ,Lyric_extender::print)
520         (thickness . 0.8) ; linethickness
521         (minimum-length . 1.5)
522         (Y-extent . (0 . 0))
523         (meta . ((interfaces . (lyric-interface
524                                 lyric-extender-interface spanner-interface))))
525         ))
526
527     (LyricText
528      . ((print-function . ,Text_item::print)
529         (X-offset-callbacks . (,Self_alignment_interface::aligned_on_parent))
530         (self-alignment-X . 0)
531         (word-space . 0.6)
532         (font-series . bold-narrow)
533         (font-size . 1.0)
534         (meta . ((interfaces . (rhythmic-grob-interface lyric-syllable-interface self-alignment-interface text-interface font-interface item-interface ))))
535         ))
536
537     (MensuralLigature
538      . (
539         (thickness . 1.4)
540         (flexa-width . 2.0)
541         (ligature-primitive-callback . ,Mensural_ligature::brew_ligature_primitive)
542         (print-function . ,Mensural_ligature::print)
543         (meta . ((interfaces . (mensural-ligature-interface font-interface))))
544         ))
545
546     (RehearsalMark
547      . (
548         (print-function . ,Text_item::print)
549         (X-offset-callbacks . (,Self_alignment_interface::aligned_on_self))
550         (Y-offset-callbacks . (,Side_position_interface::aligned_side))
551         (after-line-breaking-callback . ,shift-right-at-line-begin)
552         (self-alignment-X . 0)
553         (direction . 1)
554         (breakable . #t)
555         (font-size . 2)
556         (baseline-skip . 2)
557         (break-visibility . ,end-of-line-invisible)
558         (padding . 0.8)
559         (meta . ((interfaces . (text-interface side-position-interface font-interface mark-interface self-alignment-interface item-interface ))))
560         ))
561      (MetronomeMark
562      . (
563         (print-function . ,Text_item::print)
564         (Y-offset-callbacks . (,Side_position_interface::aligned_side)) 
565         (direction . 1)
566         (padding . 0.8)
567         (meta . ((interfaces . (text-interface side-position-interface font-interface metronome-mark-interface item-interface))))
568         ))
569     (MeasureGrouping
570      . (
571         (Y-offset-callbacks . (,Side_position_interface::aligned_side))
572         (print-function . ,Measure_grouping::print)
573         (padding . 2)
574         (direction . 1)
575         (thickness . 1)
576         (height . 2.0)
577         (staff-padding . 3)
578         (meta . ((interfaces . (spanner-interface side-position-interface measure-grouping-interface))))
579         ))
580     (MultiMeasureRest
581      . (
582         (spacing-procedure . ,Multi_measure_rest::set_spacing_rods)
583         (print-function . ,Multi_measure_rest::print)
584         (Y-offset-callbacks . (,Staff_symbol_referencer::callback))
585         (staff-position . 0)
586         (expand-limit . 10)
587         (thick-thickness . 6.6)
588         (hair-thickness . 2.0)
589         (padding . 1)
590         (font-encoding . fetaMusic)
591         (meta . ((interfaces . (multi-measure-rest-interface multi-measure-interface rest-interface font-interface staff-symbol-referencer-interface))))
592         ))
593     
594     (MultiMeasureRestNumber
595      . (
596         (print-function . ,Text_item::print)
597         (X-offset-callbacks . (,Self_alignment_interface::aligned_on_self
598                                ,Self_alignment_interface::centered_on_other_axis_parent))
599         (Y-offset-callbacks . (,Side_position_interface::aligned_side))
600         (self-alignment-X . 0)
601         (direction . 1)
602         (padding . 1.3)
603         (staff-padding . 1.3)
604         (font-encoding . fetaNumber)
605         (meta . ((interfaces . (side-position-interface multi-measure-interface self-alignment-interface font-interface spanner-interface text-interface))))
606         ))
607     (MultiMeasureRestText
608      . (
609         (print-function . ,Text_item::print)
610         (X-offset-callbacks . (,Self_alignment_interface::aligned_on_self
611                                ,Self_alignment_interface::centered_on_other_axis_parent))
612         (Y-offset-callbacks . (,Side_position_interface::aligned_side))
613         (self-alignment-X . 0)
614         (direction . 1)
615         (padding . 1.5)
616         (staff-padding . 1.5)
617         (meta . ((interfaces . (side-position-interface multi-measure-interface self-alignment-interface font-interface spanner-interface text-interface))))
618         ))
619  (NoteCollision
620      . (
621         (axes . (0 1))
622         (X-extent-callback . ,Axis_group_interface::group_extent_callback)
623         (Y-extent-callback . ,Axis_group_interface::group_extent_callback)      
624         (meta . ((interfaces . (note-collision-interface axis-group-interface item-interface ))))
625         ))
626
627     (NoteColumn
628      . (
629         (axes . (0 1))
630         (X-extent-callback . ,Axis_group_interface::group_extent_callback)
631         (Y-extent-callback . ,Axis_group_interface::group_extent_callback)      
632         (meta . ((interfaces . (axis-group-interface note-column-interface item-interface ))))
633         ))
634
635     (NoteHead
636      . (
637         (style . default)
638         (print-function . ,Note_head::print)
639         (ligature-primitive-callback . ,Note_head::print)
640         (glyph-name-procedure . ,find-notehead-symbol)
641         (X-extent-callback . ,Note_head::extent)
642         (Y-extent-callback . ,Note_head::extent)
643         (Y-offset-callbacks  . (,Staff_symbol_referencer::callback))
644         (stem-attachment-function . ,note-head-style->attachment-coordinates)
645         (meta . ((interfaces . (rhythmic-grob-interface rhythmic-head-interface font-interface note-head-interface staff-symbol-referencer-interface item-interface ))))
646         ))
647
648     (NoteSpacing
649      . (
650         (stem-spacing-correction . 0.5)
651
652         ;; Changed this from 0.75.
653         ;; If you ever change this back, please document! --hwn
654         (knee-spacing-correction . 1.0)
655         
656         (meta . ((interfaces . (spacing-interface note-spacing-interface item-interface ))))
657         ))
658
659     (VoiceFollower
660      . (
661         (style . line)
662         (gap . 0.5)
663         (breakable . #t)
664         (X-extent-callback . #f)
665         (Y-extent-callback . #f)                         
666         (print-function . ,Line_spanner::print)
667         (after-line-breaking-callback . ,Line_spanner::after_line_breaking)
668         (meta . ((interfaces . (line-spanner-interface spanner-interface))))
669         ))
670
671     (NoteName
672      . (
673         (print-function . ,Text_item::print)
674         (meta . ((interfaces . (note-name-interface
675                                 text-interface font-interface item-interface ))))
676         ))
677
678     (OctavateEight
679      . (
680         (self-alignment-X . 0)
681         (break-visibility . ,begin-of-line-visible)
682         (X-offset-callbacks . (,Self_alignment_interface::centered_on_parent ,Self_alignment_interface::aligned_on_self))
683         (Y-offset-callbacks . (,Side_position_interface::aligned_side))
684         (print-function . ,Text_item::print)
685
686         ;; no Y dimensions, because of lyrics under tenor clef.
687         (Y-extent . (0 . 0))
688         (font-shape . italic)
689         (padding . 0.6)
690         (staff-padding . 0.2)
691         (font-size . -4)
692         (meta . ((interfaces . (text-interface self-alignment-interface side-position-interface font-interface item-interface ))))
693         ))
694
695     (PaperColumn
696      . (
697         (axes . (0))
698         (before-line-breaking-callback . ,Paper_column::before_line_breaking)
699         (X-extent-callback . ,Axis_group_interface::group_extent_callback)
700
701 ;               (print-function . ,Paper_column::print) (font-name . "ecrm8") (Y-extent-callback . #f)
702         (meta . ((interfaces . (paper-column-interface axis-group-interface spaceable-grob-interface item-interface ))))
703         ))
704
705     (PhrasingSlur
706      . (
707         (print-function . ,Slur::print)
708         (thickness . 1.2)               
709         (spacing-procedure . ,Spanner::set_spacing_rods)                
710         (minimum-length . 1.5)
711         (after-line-breaking-callback . ,Slur::after_line_breaking)
712         (extremity-function . ,calc-slur-extremity)
713         (extremity-offset-alist . ,default-phrasing-slur-extremity-offset-alist)
714         (de-uglify-parameters . (1.5  0.8  -2.0))
715         (Y-extent-callback . ,Slur::height)
716         (height-limit . 2.0)
717         (ratio . 0.333)
718         (beautiful . 0.5)
719         (y-free . 0.75)
720         (attachment . (#f . #f))
721         (attachment-offset . ((0 . 0) . (0 . 0)))
722         (slope-limit . 0.8)
723         (details . ((force-blowfit . 0.5)
724                     (bezier-pct-c0 . -0.2) (bezier-pct-c3 . 0.000006)
725                     (bezier-pct-out-max . 0.8) (bezier-pct-in-max . 1.2)
726                     (bezier-area-steps . 1.0)))
727         (meta . ((interfaces . (slur-interface spanner-interface))))
728         ))
729
730     (NonMusicalPaperColumn
731      . (
732         (axes . (0))
733         (X-extent-callback . ,Axis_group_interface::group_extent_callback)
734         (before-line-breaking-callback . ,Paper_column::before_line_breaking)
735         (breakable . #t)
736         ;; debugging stuff: print column number.
737 ;       (print-function . ,Paper_column::print) (font-name . "ecrm8")   (Y-extent-callback . #f)
738
739
740         (meta .  ((interfaces . (paper-column-interface axis-group-interface spaceable-grob-interface item-interface ))))
741         ))
742
743     (PercentRepeat
744      . (
745         (spacing-procedure . ,Multi_measure_rest::set_spacing_rods)
746         (print-function . ,Multi_measure_rest::percent)
747         (slope . 1.0)
748         (thickness . 0.48)
749         (font-encoding . fetaMusic)
750         (meta . ((interfaces . (multi-measure-rest-interface  spanner-interface font-interface percent-repeat-interface))))
751         ))
752
753     (PianoPedalBracket   ;; an example of a text spanner
754      . (
755         (print-function . ,Piano_pedal_bracket::print)
756         (style . line)
757         (if-text-padding . 1.0)
758         (direction . -1)
759         (bracket-flare . (0.5 . 0.5))
760         (edge-height . (1.0 . 1.0))
761         (shorten-pair . (0.0 . 0.0))
762         (thickness .  1.0)
763         (meta . ((interfaces . (line-interface piano-pedal-interface piano-pedal-bracket-interface spanner-interface))))
764         ))
765
766
767     (RemoveEmptyVerticalGroup
768      . (
769         (Y-offset-callbacks . (,Hara_kiri_group_spanner::force_hara_kiri_callback))
770         (Y-extent-callback . ,Hara_kiri_group_spanner::y_extent)
771         (remove-first . #t)
772         (axes . (1))
773         (meta . ((interfaces . (axis-group-interface hara-kiri-group-interface item-interface  spanner-interface))))
774         ))
775
776     (RepeatSlash
777      . (
778         (print-function . ,Percent_repeat_item_interface::beat_slash)
779         (thickness . 0.48)
780         (slope . 1.7)
781         (meta . ((interfaces . (percent-repeat-interface item-interface ))))
782         ))
783     (Rest
784      . (
785         (after-line-breaking-callback . ,Rest::after_line_breaking)
786         (X-extent-callback . ,Rest::extent_callback)
787         (Y-extent-callback . ,Rest::extent_callback)            
788         (print-function . ,Rest::print)
789         (Y-offset-callbacks . (,Staff_symbol_referencer::callback
790                                ,Rest::polyphonic_offset_callback
791                                ))
792         (minimum-distance . 0.25)
793         (meta . (
794                  (interfaces . (font-interface
795                                 rhythmic-head-interface
796                                 rhythmic-grob-interface
797                                 staff-symbol-referencer-interface
798                                 rest-interface item-interface ))
799                 ))))
800
801     (RestCollision
802      . (
803         (minimum-distance . 0.75)
804         (meta . ((interfaces . (rest-collision-interface item-interface ))))
805         ))
806
807     (Script
808      . (
809         ;; don't set direction here: it breaks staccato.
810         (print-function . ,Script_interface::print)
811
812         ;; This value is sensitive: if too large, staccato dots will move a
813         ;; space a away.
814         (padding . 0.20)
815         (staff-padding . 0.25)
816         ;; (script-priority . 0) priorities for scripts, see script.scm
817         (X-offset-callbacks . (,Self_alignment_interface::centered_on_parent))
818         (before-line-breaking-callback . ,Script_interface::before_line_breaking)
819         (font-encoding . fetaMusic)
820         (meta . ((interfaces . (script-interface side-position-interface font-interface item-interface ))))
821         ))
822
823     (ScriptColumn
824      . (
825         (before-line-breaking-callback . ,Script_column::before_line_breaking)
826         (meta . ((interfaces . (script-column-interface item-interface ))))
827         ))
828
829     (Slur
830      . (
831         (print-function . ,New_slur::print)
832         ; ,Slur::print)
833         (thickness . 1.2)               
834         (spacing-procedure . ,Spanner::set_spacing_rods)                
835         (minimum-length . 1.5)
836         (after-line-breaking-callback .
837                                       ,New_slur::after_line_breaking)
838                 ;                     ,Slur::after_line_breaking)
839         (extremity-function . ,calc-slur-extremity)
840         (extremity-offset-alist . ,default-slur-extremity-offset-alist)
841         (de-uglify-parameters . (1.5  0.8  -2.0))
842         (Y-extent-callback .
843                            ,New_slur::height)
844                                         ; Slur::height)
845         (height-limit . 2.0)
846         (ratio . 0.333)
847         (beautiful . 0.5)
848         (y-free . 0.75)
849         (attachment . (#f . #f))
850         (attachment-offset . ((0 . 0) . (0 . 0)))
851         (slope-limit . 0.8)
852         (details . ((force-blowfit . 0.5)
853                     (bezier-pct-c0 . -0.2) (bezier-pct-c3 . 0.000006)
854                     (bezier-pct-out-max . 0.8) (bezier-pct-in-max . 1.2)
855                     (bezier-area-steps . 1.0)))
856         (meta . ((interfaces . (slur-interface spanner-interface))))
857         ))
858
859     (SpacingSpanner
860      . (
861         (spacing-procedure .  ,Spacing_spanner::set_springs)
862         (grace-space-factor . 0.6)
863         (shortest-duration-space . 2.0)
864         (spacing-increment . 1.2)
865         (base-shortest-duration . ,(ly:make-moment 1 8))
866         (meta . ((interfaces . (spacing-interface spacing-spanner-interface spanner-interface))))
867         ))
868
869     (SpanBar
870      . (
871         (break-align-symbol . staff-bar)
872         (bar-size-procedure . ,Span_bar::get_bar_size) 
873         (print-function . ,Span_bar::print)
874         (X-extent-callback . ,Span_bar::width_callback)
875         (Y-extent-callback . ())
876         (breakable . #t)
877         (before-line-breaking-callback . ,Span_bar::before_line_breaking)
878         ;; ugh duplication! 
879
880         ;;
881         ;; Ross. page 151 lists other values, we opt for a leaner look
882         ;; 
883         (kern . 3.0)
884         (thin-kern . 3.0)
885         (hair-thickness . 1.6)
886         (thick-thickness . 6.0)
887         (meta . ((interfaces . (span-bar-interface font-interface
888                                                    bar-line-interface item-interface ))))
889         ))
890
891     (StanzaNumber
892      . ((print-function . ,Text_item::print)            
893         (font-series . bold)
894         (padding . 1.0)
895         (X-offset-callbacks . (,Side_position_interface::aligned_side))
896         (direction . ,LEFT) 
897         (meta . ((interfaces . (side-position-interface stanza-number-interface text-interface font-interface item-interface ))))               
898         ))
899
900     (StaffSpacing
901      . (
902         (breakable . #t)
903         (stem-spacing-correction . 0.4)
904
905         (meta . ((interfaces . (spacing-interface staff-spacing-interface item-interface ))))
906         ))
907
908     (SostenutoPedal
909      . (
910         (print-function . ,Text_item::print)
911         (direction . 1)
912         (X-offset-callbacks . (,Self_alignment_interface::aligned_on_self))
913         (no-spacing-rods . #t)
914         (padding . 0.0) ;; padding relative to SostenutoPedalLineSpanner
915         (font-shape . italic)
916         (self-alignment-X . 0)
917         (meta . ((interfaces . (text-interface  self-alignment-interface font-interface item-interface))))
918         ))
919
920     (SostenutoPedalLineSpanner 
921      . (
922         (axes . (1))
923         (Y-extent-callback . ,Axis_group_interface::group_extent_callback)      
924         (Y-offset-callbacks . (,Side_position_interface::aligned_side))
925         
926
927         (padding . 1.2)
928         (minimum-space . 1.0)
929         (direction . -1)
930         (meta . ((interfaces . (piano-pedal-interface axis-group-interface side-position-interface  spanner-interface))))
931         ))
932
933     (StaffSymbol
934      . (
935         (print-function . ,Staff_symbol::print)
936         (line-count . 5)
937         (ledger-line-thickness  . (1.0 . 0.1))
938         (layer . 0)
939         (meta . ((interfaces . (staff-symbol-interface spanner-interface))))
940         ))
941         
942     (Stem
943      . (
944         ;; this list is rather long. Trim --hwn
945         (before-line-breaking-callback . ,Stem::before_line_breaking)
946         (print-function . ,Stem::print)
947         (thickness . 1.3)
948
949         ;; 3.5 (or 3 measured from note head) is standard length
950         ;; 32nd, 64th flagged stems should be longer
951         (lengths . (3.5 3.5 3.5 4.5 5.0))
952         
953         ;; Stems in unnatural (forced) direction should be shortened by
954         ;; one staff space, according to [Roush & Gourlay].
955         ;; Flagged stems we shorten only half a staff space.
956         (stem-shorten . (1.0 0.5))
957
958         ;; default stem direction for note on middle line
959         (neutral-direction . -1)
960
961
962
963         ;; FIXME.  3.5 yields too long beams (according to Ross and
964         ;; looking at Baerenreiter examples) for a number of common
965         ;; boundary cases.  Subtracting half a beam thickness fixes
966         ;; this, but the bug may well be somewhere else.
967
968         ;; FIXME this should come from 'lengths
969
970         (beamed-lengths . (3.26 3.26 1.5))
971 ;       (beamed-lengths . (3.5 3.5 3.5 4.5 5.0))
972         
973         ;; We use the normal minima as minimum for the ideal lengths,
974         ;; and the extreme minima as abolute minimum length.
975         
976         ;; The 'normal' minima
977         (beamed-minimum-free-lengths . (1.83 1.5 1.25))
978         
979         ;; The 'extreme case' minima
980         (beamed-extreme-minimum-free-lengths . (2.0 1.25))
981
982         (X-offset-callbacks . (,Stem::off_callback))
983         (X-extent-callback . ,Stem::dim_callback)       
984         (Y-extent-callback . ,Stem::height)
985         (Y-offset-callbacks . (,Staff_symbol_referencer::callback))
986         (meta . ((interfaces . (stem-interface font-interface item-interface ))))
987         ))
988
989     (StemTremolo
990      . (
991         (print-function . ,Stem_tremolo::print)
992         (Y-extent-callback . ,Stem_tremolo::height)
993         (X-extent-callback . #f)
994
995         (beam-width . 1.6) ; staff-space
996         (beam-thickness . 0.48) ; staff-space
997         (meta . ((interfaces . (stem-tremolo-interface item-interface ))))
998         ))
999
1000     (SeparationItem
1001      . (
1002         (X-extent-callback . #f)
1003         (Y-extent-callback . #f)
1004         (meta . ((interfaces . (spacing-interface separation-item-interface item-interface ))))
1005         ))
1006
1007     (SeparatingGroupSpanner
1008      . (
1009         (spacing-procedure . ,Separating_group_spanner::set_spacing_rods)
1010         (meta . ((interfaces . (only-prebreak-interface spacing-interface separation-spanner-interface spanner-interface))))
1011         ))
1012
1013     (SustainPedal
1014      . (
1015         (no-spacing-rods . #t)
1016         (print-function . ,Sustain_pedal::print)
1017         (self-alignment-X . 0)
1018         (direction . 1)
1019         (padding . 0.0)  ;; padding relative to SustainPedalLineSpanner
1020         (X-offset-callbacks . (,Self_alignment_interface::aligned_on_self))
1021         (meta . ((interfaces . (piano-pedal-interface text-spanner-interface text-interface self-alignment-interface font-interface item-interface))))
1022         ))
1023
1024     (SustainPedalLineSpanner 
1025      . (
1026         (axes . (1))
1027         (Y-extent-callback . ,Axis_group_interface::group_extent_callback)
1028         (Y-offset-callbacks . (,Side_position_interface::aligned_side))
1029         
1030         (padding . 1.2)
1031         (staff-padding . 1.2)
1032         (minimum-space . 1.0)
1033         (direction . -1)
1034         (meta . ((interfaces . (piano-pedal-interface axis-group-interface side-position-interface spanner-interface))))
1035         ))
1036
1037     (System
1038      . (
1039         (axes . (0 1))
1040         (X-extent-callback . ,Axis_group_interface::group_extent_callback)
1041         (Y-extent-callback . ,Axis_group_interface::group_extent_callback)      
1042         (meta . ((interfaces . (system-interface axis-group-interface spanner-interface))))
1043         ))
1044
1045     (SystemStartBrace
1046      . (
1047         (glyph . "brace")
1048         (print-function . ,System_start_delimiter::print)
1049         (collapse-height . 5.0)
1050         (font-encoding . fetaBraces)
1051         (Y-extent-callback . #f)
1052         (meta . ((interfaces . (system-start-delimiter-interface font-interface))))
1053         ))
1054
1055     (SystemStartBracket
1056      . (
1057         (Y-extent-callback . #f)
1058         (print-function . ,System_start_delimiter::print)
1059         (glyph . "bracket")
1060         (arch-height . 1.5)
1061         (arch-angle . 50.0)
1062         (arch-thick . 0.25)
1063         (arch-width . 1.5)
1064         (collapse-height . 1)
1065         (thickness . 0.25)
1066         (meta . ((interfaces . (system-start-delimiter-interface spanner-interface))))
1067         ))
1068
1069     (SystemStartBar
1070      . (
1071         (Y-extent-callback . #f)
1072         (print-function . ,System_start_delimiter::print)
1073         (glyph . "bar-line")
1074         (thickness . 1.6)
1075         (after-line-breaking-callback . ,System_start_delimiter::after_line_breaking)
1076         (meta . ((interfaces . (system-start-delimiter-interface spanner-interface))))
1077         ))
1078
1079     (TextScript
1080      . (
1081         (print-function . ,Text_item::print)
1082         (no-spacing-rods . #t)
1083         (X-offset-callbacks . (,Self_alignment_interface::aligned_on_self))
1084         (direction . -1)
1085         (padding . 0.5)
1086         (staff-padding . 0.5)
1087         (script-priority . 200)
1088         ;; todo: add X self alignment?
1089         (meta . ((interfaces . (text-script-interface text-interface side-position-interface font-interface item-interface ))))
1090         ))
1091     (CombineTextScript
1092      . (
1093         (print-function . ,Text_item::print)
1094         (no-spacing-rods . #t)
1095         (Y-offset-callbacks . (,Side_position_interface::aligned_side))
1096         (X-offset-callbacks . (,Self_alignment_interface::aligned_on_self))
1097         (direction . 1)
1098         (extra-offset . (-1 . 0)) 
1099         (padding . 0.5)
1100         (staff-padding . 0.5)
1101         (script-priority . 200)
1102         ;; todo: add X self alignment?
1103         (baseline-skip . 2)
1104         (font-series . bold)
1105         (meta . ((interfaces . (text-script-interface text-interface  side-position-interface font-interface item-interface ))))
1106         ))
1107     (TextSpanner
1108      . (
1109         (print-function . ,Text_spanner::print)
1110         (font-shape . italic)
1111         (style . dashed-line)
1112         (staff-padding . 0.1)
1113         
1114         ;; urg, only for (de)cresc. text spanners
1115         (if-text-padding . 1.0)
1116         (dash-fraction . 0.2)
1117         (dash-period . 3.0)
1118         (direction . 1)
1119         (meta . ((interfaces . (text-spanner-interface side-position-interface font-interface spanner-interface))))             
1120         ))
1121     
1122     (OttavaBracket
1123      . (
1124         (Y-offset-callbacks . (,Side_position_interface::aligned_side))
1125         (print-function . ,Ottava_bracket::print)
1126         (font-shape . italic)
1127         (shorten-pair . (0.0 . -0.6))
1128         (staff-padding . 1.0)
1129         (padding  . 0.5)
1130         (minimum-length . 1.0)
1131         (dash-fraction . 0.3)
1132         (edge-height . (0 . 1.2))
1133         (direction . 1)
1134         (meta . ((interfaces . (ottava-bracket-interface
1135                                 line-interface side-position-interface
1136                                 font-interface text-interface spanner-interface))))             
1137         ))
1138     
1139     (TabNoteHead
1140      . (
1141         (style . default)
1142         (print-function . ,Text_item::print)
1143         (Y-offset-callbacks  . (,Staff_symbol_referencer::callback))
1144         (extra-offset . (0 . -0.65)) ;; UGH! TODO: Clean this up!
1145         (stem-attachment-function . ,tablature-stem-attachment-function)
1146         (meta . ((interfaces
1147                   . (rhythmic-head-interface
1148                      font-interface
1149                      note-head-interface staff-symbol-referencer-interface
1150                      text-interface item-interface ))))
1151         ))
1152
1153
1154     (Tie
1155      . (
1156         (print-function . ,Tie::print)
1157         (spacing-procedure . ,Spanner::set_spacing_rods)
1158         (staffline-clearance . 0.35)
1159         (details . ((ratio . 0.333) (height-limit . 1.0)))
1160         (thickness . 1.2)
1161         (x-gap . -0.1)
1162         (y-offset . 0.6)
1163         (minimum-length  . 2.5)
1164         (meta . ((interfaces . (tie-interface spanner-interface))))
1165         ))
1166
1167     (TieColumn
1168      . (
1169         (after-line-breaking-callback . ,Tie_column::after_line_breaking)
1170         (X-extent-callback . #f)
1171         (Y-extent-callback . #f)        
1172         (meta . ((interfaces . (tie-column-interface spanner-interface))))
1173         ))
1174
1175     (TimeSignature
1176      . (
1177         (print-function . ,Time_signature::print)
1178 ;       (print-function . ,Text_item::print)    
1179         (break-align-symbol . time-signature)
1180         (break-visibility . ,all-visible)
1181         (space-alist . (
1182                         (first-note . (fixed-space . 2.0))
1183                         (right-edge . (extra-space . 0.5))
1184                         (staff-bar .  (minimum-space . 2.0))
1185                         ))
1186         (breakable . #t)
1187         (style . C)
1188 ;       (text . (,time-signature-glue-markup)) 
1189         (meta . ((interfaces . (time-signature-interface break-aligned-interface font-interface item-interface ))))
1190         ))
1191
1192     (TupletBracket
1193      . (
1194         (padding . 1.1)
1195         (thickness . 1.6)
1196         (edge-height . (0.7 . 0.7))
1197         (shorten-pair . (-0.2 . -0.2))
1198         (before-line-breaking-callback . ,Tuplet_bracket::before_line_breaking)
1199         (after-line-breaking-callback . ,Tuplet_bracket::after_line_breaking)
1200         (print-function . ,Tuplet_bracket::print)
1201         (font-shape . italic)
1202         (font-series . bold)
1203
1204         (font-size . -2)
1205         (meta .  ((interfaces . (text-interface line-interface tuplet-bracket-interface font-interface spanner-interface))))
1206         ))
1207
1208     (UnaCordaPedal
1209      . (
1210         (print-function . ,Text_item::print)
1211         (font-shape . italic)
1212         (no-spacing-rods . #t)
1213         (self-alignment-X . 0)
1214         (direction . 1)
1215         (padding . 0.0)  ;; padding relative to UnaCordaPedalLineSpanner
1216         (X-offset-callbacks . (,Self_alignment_interface::aligned_on_self))
1217         (meta . ((interfaces . (text-interface self-alignment-interface font-interface item-interface ))))
1218         ))
1219
1220     (UnaCordaPedalLineSpanner 
1221      . (
1222         (axes . (1))
1223         (Y-extent-callback . ,Axis_group_interface::group_extent_callback)      
1224         (Y-offset-callbacks . (,Side_position_interface::aligned_side))
1225         (padding . 1.2)
1226         (staff-padding . 1.2)
1227         (minimum-space . 1.0)
1228         (direction . -1)
1229         (meta . ((interfaces . (piano-pedal-interface axis-group-interface side-position-interface spanner-interface))))
1230         ))
1231
1232     (VaticanaLigature
1233      . (
1234         (thickness . 0.6)
1235         (flexa-width . 2.0)
1236         (ligature-primitive-callback . ,Vaticana_ligature::brew_ligature_primitive)
1237         (print-function . ,Vaticana_ligature::print)
1238         (meta . ((interfaces . (vaticana-ligature-interface font-interface))))
1239         ))
1240
1241     (VoltaBracket
1242      . (
1243         (print-function . ,Volta_bracket_interface::print)
1244         (direction . 1)
1245         (padding . 1)
1246         (font-encoding . fetaNumber)
1247         (Y-offset-callbacks . (,Side_position_interface::aligned_side))
1248         (thickness . 1.6)  ;  linethickness
1249         (height . 2.0) ; staffspace;
1250         (minimum-space . 5)
1251         (font-size . -4)
1252         (meta . ((interfaces . (volta-bracket-interface line-interface text-interface side-position-interface font-interface spanner-interface))))
1253         ))
1254     
1255     (VerticalAlignment
1256      . (
1257         (axes . (1))
1258         (Y-extent-callback . ,Axis_group_interface::group_extent_callback)
1259         (X-extent-callback . ,Axis_group_interface::group_extent_callback)
1260         (stacking-dir . -1)
1261         (meta . ((interfaces . (align-interface axis-group-interface spanner-interface))))
1262         ))
1263
1264     (VerticalAxisGroup
1265      . (
1266         (axes . (1))
1267         (Y-extent-callback . ,Axis_group_interface::group_extent_callback)      
1268         (X-extent-callback . ,Axis_group_interface::group_extent_callback)
1269         
1270         (meta . ((interfaces . (axis-group-interface spanner-interface))))
1271         ))
1272    )
1273  )
1274
1275
1276
1277
1278 (define (completize-grob-entry x)
1279   "transplant assoc key into 'name entry of 'meta of X
1280 "
1281   (let* ((name-sym  (car x))
1282          (grob-entry (cdr x))
1283          (metaentry (cdr (assoc 'meta grob-entry)))
1284          (ifaces-entry
1285           (cdr (assoc 'interfaces metaentry)))
1286
1287         )
1288     (set! metaentry (assoc-set! metaentry 'name name-sym))
1289     (set! metaentry (assoc-set! metaentry 'interfaces
1290                                 (cons 'grob-interface ifaces-entry)))
1291     (set! grob-entry (assoc-set! grob-entry 'meta metaentry))
1292     (cons name-sym grob-entry)))
1293
1294 (set! all-grob-descriptions (map completize-grob-entry all-grob-descriptions))
1295
1296
1297
1298                                         ;  (display  (map pair? all-grob-descriptions))
1299
1300
1301 ;; make sure that \property Foo.Bar =\turnOff doesn't complain
1302
1303 (map (lambda (x)
1304                                         ; (display (car x)) (newline)
1305
1306        (set-object-property! (car x) 'translation-type? list?)
1307        (set-object-property! (car x) 'is-grob? #t))
1308      all-grob-descriptions)
1309
1310
1311 (set! all-grob-descriptions (sort all-grob-descriptions alist<?))