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