]> git.donarmstrong.com Git - lilypond.git/blob - scm/define-grobs.scm
(print): new file. Set limits to
[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 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 ;       (beamed-lengths . (3.5 3.5 3.5 4.5 5.0))
981         
982         ;; We use the normal minima as minimum for the ideal lengths,
983         ;; and the extreme minima as abolute minimum length.
984         
985         ;; The 'normal' minima
986         (beamed-minimum-free-lengths . (1.83 1.5 1.25))
987         
988         ;; The 'extreme case' minima
989         (beamed-extreme-minimum-free-lengths . (2.0 1.25))
990
991         (X-offset-callbacks . (,Stem::off_callback))
992         (X-extent-callback . ,Stem::dim_callback)       
993         (Y-extent-callback . ,Stem::height)
994         (Y-offset-callbacks . (,Staff_symbol_referencer::callback))
995         (meta . ((interfaces . (stem-interface font-interface item-interface ))))
996         ))
997
998     (StemTremolo
999      . (
1000         (print-function . ,Stem_tremolo::print)
1001         (Y-extent-callback . ,Stem_tremolo::height)
1002         (X-extent-callback . #f)
1003
1004         (beam-width . 1.6) ; staff-space
1005         (beam-thickness . 0.48) ; staff-space
1006         (meta . ((interfaces . (stem-tremolo-interface item-interface ))))
1007         ))
1008
1009     (SeparationItem
1010      . (
1011         (X-extent-callback . #f)
1012         (Y-extent-callback . #f)
1013         (meta . ((interfaces . (spacing-interface separation-item-interface item-interface ))))
1014         ))
1015
1016     (SeparatingGroupSpanner
1017      . (
1018         (spacing-procedure . ,Separating_group_spanner::set_spacing_rods)
1019         (meta . ((interfaces . (only-prebreak-interface spacing-interface separation-spanner-interface spanner-interface))))
1020         ))
1021
1022     (SustainPedal
1023      . (
1024         (no-spacing-rods . #t)
1025         (print-function . ,Sustain_pedal::print)
1026         (self-alignment-X . 0)
1027         (direction . 1)
1028         (padding . 0.0)  ;; padding relative to SustainPedalLineSpanner
1029         (X-offset-callbacks . (,Self_alignment_interface::aligned_on_self))
1030         (meta . ((interfaces . (piano-pedal-interface text-spanner-interface text-interface self-alignment-interface font-interface item-interface))))
1031         ))
1032
1033     (SustainPedalLineSpanner 
1034      . (
1035         (axes . (1))
1036         (Y-extent-callback . ,Axis_group_interface::group_extent_callback)
1037         (Y-offset-callbacks . (,Side_position_interface::aligned_side))
1038         
1039         (padding . 1.2)
1040         (staff-padding . 1.2)
1041         (minimum-space . 1.0)
1042         (direction . -1)
1043         (meta . ((interfaces . (piano-pedal-interface axis-group-interface side-position-interface spanner-interface))))
1044         ))
1045
1046     (System
1047      . (
1048         (axes . (0 1))
1049         (X-extent-callback . ,Axis_group_interface::group_extent_callback)
1050         (Y-extent-callback . ,Axis_group_interface::group_extent_callback)      
1051         (meta . ((interfaces . (system-interface axis-group-interface spanner-interface))))
1052         ))
1053
1054     (SystemStartBrace
1055      . (
1056         (glyph . "brace")
1057         (print-function . ,System_start_delimiter::print)
1058         (collapse-height . 5.0)
1059         (font-encoding . fetaBraces)
1060         (Y-extent-callback . #f)
1061         (meta . ((interfaces . (system-start-delimiter-interface font-interface))))
1062         ))
1063
1064     (SystemStartBracket
1065      . (
1066         (Y-extent-callback . #f)
1067         (print-function . ,System_start_delimiter::print)
1068         (glyph . "bracket")
1069         (arch-height . 1.5)
1070         (arch-angle . 50.0)
1071         (arch-thick . 0.25)
1072         (arch-width . 1.5)
1073         (collapse-height . 1)
1074         (thickness . 0.25)
1075         (meta . ((interfaces . (system-start-delimiter-interface spanner-interface))))
1076         ))
1077
1078     (SystemStartBar
1079      . (
1080         (Y-extent-callback . #f)
1081         (print-function . ,System_start_delimiter::print)
1082         (glyph . "bar-line")
1083         (thickness . 1.6)
1084         (after-line-breaking-callback . ,System_start_delimiter::after_line_breaking)
1085         (meta . ((interfaces . (system-start-delimiter-interface spanner-interface))))
1086         ))
1087
1088     (TextScript
1089      . (
1090         (print-function . ,Text_item::print)
1091         (no-spacing-rods . #t)
1092         (X-offset-callbacks . (,Self_alignment_interface::aligned_on_self))
1093         (direction . -1)
1094         (padding . 0.5)
1095         (staff-padding . 0.5)
1096         (script-priority . 200)
1097         ;; todo: add X self alignment?
1098         (meta . ((interfaces . (text-script-interface text-interface side-position-interface font-interface item-interface ))))
1099         ))
1100     (CombineTextScript
1101      . (
1102         (print-function . ,Text_item::print)
1103         (no-spacing-rods . #t)
1104         (Y-offset-callbacks . (,Side_position_interface::aligned_side))
1105         (X-offset-callbacks . (,Self_alignment_interface::aligned_on_self))
1106         (direction . 1)
1107         (extra-offset . (-1 . 0)) 
1108         (padding . 0.5)
1109         (staff-padding . 0.5)
1110         (script-priority . 200)
1111         ;; todo: add X self alignment?
1112         (baseline-skip . 2)
1113         (font-series . bold)
1114         (meta . ((interfaces . (text-script-interface text-interface  side-position-interface font-interface item-interface ))))
1115         ))
1116     (TextSpanner
1117      . (
1118         (print-function . ,Text_spanner::print)
1119         (font-shape . italic)
1120         (style . dashed-line)
1121         (staff-padding . 0.1)
1122         
1123         ;; urg, only for (de)cresc. text spanners
1124         (if-text-padding . 1.0)
1125         (dash-fraction . 0.2)
1126         (dash-period . 3.0)
1127         (direction . 1)
1128         (meta . ((interfaces . (text-spanner-interface side-position-interface font-interface spanner-interface))))             
1129         ))
1130     
1131     (OttavaBracket
1132      . (
1133         (Y-offset-callbacks . (,Side_position_interface::aligned_side))
1134         (print-function . ,Ottava_bracket::print)
1135         (font-shape . italic)
1136         (shorten-pair . (0.0 . -0.6))
1137         (staff-padding . 1.0)
1138         (padding  . 0.5)
1139         (minimum-length . 1.0)
1140         (dash-fraction . 0.3)
1141         (edge-height . (0 . 1.2))
1142         (direction . 1)
1143         (meta . ((interfaces . (ottava-bracket-interface
1144                                 line-interface side-position-interface
1145                                 font-interface text-interface spanner-interface))))             
1146         ))
1147     
1148     (TabNoteHead
1149      . (
1150         (style . default)
1151         (print-function . ,Text_item::print)
1152         (Y-offset-callbacks  . (,Staff_symbol_referencer::callback))
1153         (extra-offset . (0 . -0.65)) ;; UGH! TODO: Clean this up!
1154         (stem-attachment-function . ,tablature-stem-attachment-function)
1155         (meta . ((interfaces
1156                   . (rhythmic-head-interface
1157                      font-interface
1158                      note-head-interface staff-symbol-referencer-interface
1159                      text-interface item-interface ))))
1160         ))
1161
1162
1163     (Tie
1164      . (
1165         (print-function . ,Tie::print)
1166         (spacing-procedure . ,Spanner::set_spacing_rods)
1167         (staffline-clearance . 0.35)
1168         (details . ((ratio . 0.333) (height-limit . 1.0)))
1169         (thickness . 1.2)
1170         (x-gap . -0.1)
1171         (y-offset . 0.6)
1172         (minimum-length  . 2.5)
1173         (meta . ((interfaces . (tie-interface spanner-interface))))
1174         ))
1175
1176     (TieColumn
1177      . (
1178         (after-line-breaking-callback . ,Tie_column::after_line_breaking)
1179         (X-extent-callback . #f)
1180         (Y-extent-callback . #f)        
1181         (meta . ((interfaces . (tie-column-interface spanner-interface))))
1182         ))
1183
1184     (TimeSignature
1185      . (
1186         (print-function . ,Time_signature::print)
1187 ;       (print-function . ,Text_item::print)    
1188         (break-align-symbol . time-signature)
1189         (break-visibility . ,all-visible)
1190         (space-alist . (
1191                         (first-note . (fixed-space . 2.0))
1192                         (right-edge . (extra-space . 0.5))
1193                         (staff-bar .  (minimum-space . 2.0))
1194                         ))
1195         (breakable . #t)
1196         (style . C)
1197 ;       (text . (,time-signature-glue-markup)) 
1198         (meta . ((interfaces . (time-signature-interface break-aligned-interface font-interface item-interface ))))
1199         ))
1200
1201     (TupletBracket
1202      . (
1203         (padding . 1.1)
1204         (thickness . 1.6)
1205         (edge-height . (0.7 . 0.7))
1206         (shorten-pair . (-0.2 . -0.2))
1207         (before-line-breaking-callback . ,Tuplet_bracket::before_line_breaking)
1208         (after-line-breaking-callback . ,Tuplet_bracket::after_line_breaking)
1209         (print-function . ,Tuplet_bracket::print)
1210         (font-shape . italic)
1211         (font-series . bold)
1212
1213         (font-size . -2)
1214         (meta .  ((interfaces . (text-interface line-interface tuplet-bracket-interface font-interface spanner-interface))))
1215         ))
1216
1217     (UnaCordaPedal
1218      . (
1219         (print-function . ,Text_item::print)
1220         (font-shape . italic)
1221         (no-spacing-rods . #t)
1222         (self-alignment-X . 0)
1223         (direction . 1)
1224         (padding . 0.0)  ;; padding relative to UnaCordaPedalLineSpanner
1225         (X-offset-callbacks . (,Self_alignment_interface::aligned_on_self))
1226         (meta . ((interfaces . (text-interface self-alignment-interface font-interface item-interface ))))
1227         ))
1228
1229     (UnaCordaPedalLineSpanner 
1230      . (
1231         (axes . (1))
1232         (Y-extent-callback . ,Axis_group_interface::group_extent_callback)      
1233         (Y-offset-callbacks . (,Side_position_interface::aligned_side))
1234         (padding . 1.2)
1235         (staff-padding . 1.2)
1236         (minimum-space . 1.0)
1237         (direction . -1)
1238         (meta . ((interfaces . (piano-pedal-interface axis-group-interface side-position-interface spanner-interface))))
1239         ))
1240
1241     (VaticanaLigature
1242      . (
1243         (thickness . 0.6)
1244         (flexa-width . 2.0)
1245         (ligature-primitive-callback . ,Vaticana_ligature::brew_ligature_primitive)
1246         (print-function . ,Vaticana_ligature::print)
1247         (meta . ((interfaces . (vaticana-ligature-interface font-interface))))
1248         ))
1249
1250     (VoltaBracket
1251      . (
1252         (print-function . ,Volta_bracket_interface::print)
1253         (direction . 1)
1254         (padding . 1)
1255         (font-encoding . fetaNumber)
1256         (Y-offset-callbacks . (,Side_position_interface::aligned_side))
1257         (thickness . 1.6)  ;  linethickness
1258         (height . 2.0) ; staffspace;
1259         (minimum-space . 5)
1260         (font-size . -4)
1261         (meta . ((interfaces . (volta-bracket-interface line-interface text-interface side-position-interface font-interface spanner-interface))))
1262         ))
1263     
1264     (VerticalAlignment
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         (stacking-dir . -1)
1270         (meta . ((interfaces . (align-interface axis-group-interface spanner-interface))))
1271         ))
1272
1273     (VerticalAxisGroup
1274      . (
1275         (axes . (1))
1276         (Y-extent-callback . ,Axis_group_interface::group_extent_callback)      
1277         (X-extent-callback . ,Axis_group_interface::group_extent_callback)
1278         
1279         (meta . ((interfaces . (axis-group-interface spanner-interface))))
1280         ))
1281    )
1282  )
1283
1284
1285
1286
1287 (define (completize-grob-entry x)
1288   "transplant assoc key into 'name entry of 'meta of X
1289 "
1290   (let* ((name-sym  (car x))
1291          (grob-entry (cdr x))
1292          (metaentry (cdr (assoc 'meta grob-entry)))
1293          (ifaces-entry
1294           (cdr (assoc 'interfaces metaentry)))
1295
1296         )
1297     (set! metaentry (assoc-set! metaentry 'name name-sym))
1298     (set! metaentry (assoc-set! metaentry 'interfaces
1299                                 (cons 'grob-interface ifaces-entry)))
1300     (set! grob-entry (assoc-set! grob-entry 'meta metaentry))
1301     (cons name-sym grob-entry)))
1302
1303 (set! all-grob-descriptions (map completize-grob-entry all-grob-descriptions))
1304
1305
1306
1307                                         ;  (display  (map pair? all-grob-descriptions))
1308
1309
1310 ;; make sure that \property Foo.Bar =\turnOff doesn't complain
1311
1312 (map (lambda (x)
1313                                         ; (display (car x)) (newline)
1314
1315        (set-object-property! (car x) 'translation-type? list?)
1316        (set-object-property! (car x) 'is-grob? #t))
1317      all-grob-descriptions)
1318
1319
1320 (set! all-grob-descriptions (sort all-grob-descriptions alist<?))