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