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