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