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