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