1 ;;;; define-grobs.scm --
3 ;;;; source file of the GNU LilyPond music typesetter
5 ;;;; (c) 1998--2006 Han-Wen Nienhuys <hanwen@cs.uu.nl>
6 ;;;; Jan Nieuwenhuizen <janneke@gnu.org>
8 ;;;; distances are given in line-thickness (thicknesses) and
9 ;;;; staff-space (distances)
11 ;;;; WARNING: the meta field should be the last one.
12 ;;;; WARNING: don't use anonymous functions for initialization.
14 ;; TODO: junk the meta field in favor of something more compact?
16 ;;; todo:: reorder sensibly.
18 (define-public all-grob-descriptions
23 (cautionary-style . parentheses)
25 (stencil . ,ly:accidental-interface::print)
27 . ,ly:accidental-interface::after-line-breaking)
29 (meta . ((class . Item)
30 (interfaces . (accidental-interface
35 (stencil . ,ly:accidental-interface::print)
36 (X-offset . ,(ly:make-simple-closure
38 ,(ly:make-simple-closure (list ly:self-alignment-interface::centered-on-x-parent))
39 ,(ly:make-simple-closure (list ly:self-alignment-interface::x-aligned-on-self)))))
40 (self-alignment-X . ,CENTER)
42 (cautionary-style . smaller)
43 (Y-offset . ,ly:side-position-interface::y-aligned-side)
44 (cautionary-style . parentheses)
46 (staff-padding . 0.25)
49 (meta . ((class . Item)
50 (interfaces . (side-position-interface
53 accidental-suggestion-interface
54 self-alignment-interface
60 (positioning-done . ,ly:accidental-placement::calc-positioning-done)
61 (X-extent . ,ly:axis-group-interface::width)
63 ;; this is quite small, but it is very ugly to have
64 ;; accs closer to the previous note than to the next one.
65 (right-padding . 0.15)
66 (meta . ((class . Item)
67 (interfaces . (accidental-placement-interface))))))
71 (X-extent . ,ly:axis-group-interface::width)
72 (X-extent . ,ly:axis-group-interface::height)
75 (clef . (extra-space . 0.5))
76 (key-signature . (extra-space . 0.0))
77 (staff-bar . (extra-space . 0.0))
78 (time-signature . (extra-space . 0.0))
79 (first-note . (fixed-space . 0.0))))
81 (break-align-symbol . ambitus)
82 (break-visibility . ,begin-of-line-visible)
83 (meta . ((class . Item)
84 (interfaces . (axis-group-interface
85 break-aligned-interface
86 ambitus-interface))))))
91 (stencil . ,ly:ambitus::print)
95 (X-offset . ,ly:self-alignment-interface::centered-on-x-parent)
97 (meta . ((class . Item)
98 (interfaces . (ambitus-interface
99 staff-symbol-referencer-interface
103 (font-family . music)
105 (X-offset . ,ly:side-position-interface::x-aligned-side)
107 (cautionary-style . parentheses)
109 (stencil . ,ly:accidental-interface::print)
110 (after-line-breaking . ,ly:accidental-interface::after-line-breaking)
113 (meta . ((class . Item)
114 (interfaces . (item-interface
116 break-aligned-interface
117 side-position-interface
124 (stencil . ,ly:note-head::print)
125 (glyph-name . ,note-head::calc-glyph-name)
127 (Y-offset . ,ly:staff-symbol-referencer::callback)
128 (meta . ((class . Item)
129 (interfaces . (font-interface
132 staff-symbol-referencer-interface
133 rhythmic-head-interface
134 ledgered-interface))))))
137 . ((X-extent . ,ly:arpeggio::width)
138 (stencil . ,ly:arpeggio::print)
139 (Y-offset . ,ly:staff-symbol-referencer::callback)
140 (X-offset . ,ly:side-position-interface::x-aligned-side)
144 (staff-position . 0.0)
145 (meta . ((class . Item)
146 (interfaces . (arpeggio-interface
147 staff-symbol-referencer-interface
148 side-position-interface
153 (break-align-symbol . staff-bar)
156 (break-visibility . ,all-visible)
159 (stencil . ,ly:bar-line::print)
160 (glyph-name . ,bar-line::calc-glyph-name)
161 (bar-size . ,ly:bar-line::calc-bar-size)
164 (time-signature . (extra-space . 0.75))
165 (custos . (minimum-space . 2.0))
166 (clef . (minimum-space . 1.0))
167 (key-signature . (extra-space . 1.0))
168 (key-cancellation . (extra-space . 1.0))
169 (first-note . (fixed-space . 1.3))
170 (next-note . (semi-fixed-space . 1.3))
171 (right-edge . (extra-space . 0.0))))
174 ;; Ross. page 151 lists other values, we opt for a leaner look
177 ;; kern should scale with line-thickness too.
180 (hair-thickness . 1.9)
181 (thick-thickness . 6.0)
182 (meta . ((class . Item)
183 (interfaces . (bar-line-interface
184 break-aligned-interface
189 (stencil . ,ly:text-interface::print)
191 (break-visibility . ,begin-of-line-visible)
194 (font-family . roman)
196 (Y-offset . ,ly:side-position-interface::y-aligned-side)
198 (X-offset . ,ly:self-alignment-interface::x-aligned-on-self)
199 (self-alignment-X . 1)
203 (interfaces . (side-position-interface
205 self-alignment-interface
207 break-aligned-interface))))
213 (stencil . ,ly:text-interface::print)
215 (meta . ((class . Item)
216 (interfaces . (text-interface
217 rhythmic-grob-interface
218 bass-figure-interface
223 (stencil . ,ly:enclosing-bracket::print)
225 (edge-height . (0.2 . 0.2))
226 (meta . ((class . Item)
227 (interfaces . (enclosing-bracket-interface)) ))
229 (BassFigureContinuation
232 (stencil . ,ly:figured-bass-continuation::print)
234 (Y-offset . ,ly:figured-bass-continuation::center-on-figures)
235 (meta . ((class . Spanner)
236 (interfaces . (figured-bass-continuation-interface))
242 (Y-extent . ,ly:axis-group-interface::height)
244 (meta . ((class . Spanner)
245 (interfaces . (axis-group-interface
251 (threshold . (2 . 1000))
253 (positioning-done . ,ly:align-interface::calc-positioning-done)
254 (Y-extent . ,ly:axis-group-interface::height)
257 (meta . ((class . Spanner)
258 (interfaces . (align-interface
259 axis-group-interface))))))
263 ;; todo: clean this up a bit: the list is getting
266 (positions . ,(ly:make-simple-closure
267 (ly:make-simple-closure
268 (list chain-grob-member-functions
270 ly:beam::calc-least-squares-positions
271 ly:beam::slope-damping
272 ly:beam::shift-region-to-valid
276 ;; this is a hack to set stem lengths, if positions is set.
277 (quantized-positions . ,ly:beam::set-stem-lengths)
278 (concaveness . ,ly:beam::calc-concaveness)
279 (direction . ,ly:beam::calc-direction)
280 (shorten . ,ly:beam::calc-stem-shorten)
281 (beaming . ,ly:beam::calc-beaming)
282 (stencil . ,ly:beam::print)
284 ;; TODO: should be in SLT.
285 (thickness . 0.48) ; in staff-space
286 (neutral-direction . ,DOWN)
288 ;; Whe have some unreferenced problems here.
290 ;; If we shorten beamed stems less than normal stems (1 staff-space),
291 ;; or high order less than 8th beams, patterns like
292 ;; c''4 [c''8 c''] c''4 [c''16 c]
293 ;; are ugly (different stem lengths).
295 ;; But if we shorten 16th beams as much as 8th beams, a single
296 ;; forced 16th beam looks *very* short.
298 ;; We choose to shorten 8th beams the same as single stems,
299 ;; and high order beams less than 8th beams, so that all
300 ;; isolated shortened beams look nice and a bit shortened,
301 ;; sadly possibly breaking patterns with high order beams.
302 (beamed-stem-shorten . (1.0 0.5 0.25))
304 (auto-knee-gap . 5.5)
306 ;; only for debugging.
307 (font-family . roman)
308 (meta . ((class . Spanner)
309 (interfaces . (staff-symbol-referencer-interface
316 (positioning-done . ,ly:break-align-interface::calc-positioning-done)
317 (X-extent . ,ly:axis-group-interface::width)
318 (break-align-orders . ;; end of line
340 time-signature custos)
354 (meta . ((class . Item)
355 (interfaces . (break-alignment-interface
356 axis-group-interface))))))
361 (X-extent . ,ly:axis-group-interface::width)
362 (meta . ((class . Item)
363 (interfaces . (break-aligned-interface
364 axis-group-interface))))))
368 (break-align-symbol . breathing-sign)
371 (ambitus . (extra-space . 2.0))
372 (custos . (minimum-space . 1.0))
373 (key-signature . (minimum-space . 1.5))
374 (time-signature . (minimum-space . 1.5))
375 (staff-bar . (minimum-space . 1.5))
376 (clef . (minimum-space . 2.0))
377 (first-note . (fixed-space . 1.0)) ;huh?
378 (right-edge . (extra-space . 0.1))))
380 (stencil . ,ly:text-interface::print)
382 (text . ,(make-musicglyph-markup "scripts.rcomma"))
383 (Y-offset . ,ly:breathing-sign::offset-callback)
384 (break-visibility . ,begin-of-line-invisible)
385 (meta . ((class . Item)
386 (interfaces . (break-aligned-interface
387 breathing-sign-interface
394 (stencil . ,ly:clef::print)
395 (glyph-name . ,ly:clef::calc-glyph-name)
398 (font-family . music)
399 (break-align-symbol . clef)
400 (break-visibility . ,begin-of-line-visible)
401 (space-alist . ((ambitus . (extra-space . 2.0))
402 (staff-bar . (extra-space . 0.7))
403 (key-cancellation . (minimum-space . 3.5))
404 (key-signature . (minimum-space . 3.5))
405 (time-signature . (minimum-space . 4.2))
406 (first-note . (minimum-fixed-space . 5.0))
407 (next-note . (extra-space . 0.5))
408 (right-edge . (extra-space . 0.5))))
409 (Y-offset . ,ly:staff-symbol-referencer::callback)
410 (meta . ((class . Item)
411 (interfaces . (clef-interface
412 staff-symbol-referencer-interface
414 break-aligned-interface))))))
416 (ClusterSpannerBeacon
419 (Y-extent . ,ly:cluster-beacon::height)
421 (meta . ((class . Item)
422 (interfaces . (cluster-beacon-interface))))))
427 (springs-and-rods . ,ly:spanner::set-spacing-rods)
428 (stencil . ,ly:cluster::print)
431 (minimum-length . 0.0)
434 (meta . ((class . Spanner)
435 (interfaces . (cluster-interface))))))
440 (stencil . ,ly:text-interface::print)
441 (after-line-breaking . ,ly:chord-name::after-line-breaking)
446 (meta . ((class . Item)
447 (interfaces . (font-interface
448 rhythmic-grob-interface
456 (stencil . ,ly:text-interface::print)
458 (no-spacing-rods . #t)
459 (Y-offset . ,ly:side-position-interface::y-aligned-side)
460 (X-offset . ,ly:self-alignment-interface::x-aligned-on-self)
463 (staff-padding . 0.5)
464 (script-priority . 200)
465 ;; todo: add X self alignment?
469 (meta . ((class . Item)
470 (interfaces . (text-script-interface
472 side-position-interface
477 (break-align-symbol . custos)
480 (stencil . ,ly:custos::print)
482 (break-visibility . ,end-of-line-visible)
484 (neutral-direction . ,DOWN)
485 (Y-offset . ,ly:staff-symbol-referencer::callback)
487 (first-note . (minimum-fixed-space . 0.0))
488 (right-edge . (extra-space . 0.1))))
489 (meta . ((class . Item)
492 staff-symbol-referencer-interface
494 break-aligned-interface))))))
501 (positioning-done . ,ly:dot-column::calc-positioning-done)
502 (X-extent . ,ly:axis-group-interface::width)
504 (X-offset . ,ly:dot-column::side-position)
505 (meta . ((class . Item)
506 (interfaces . (dot-column-interface
507 axis-group-interface))))))
512 (stencil . ,ly:dots::print)
515 (meta . ((class . Item)
516 (interfaces . (font-interface
517 staff-symbol-referencer-interface
522 (stencil . ,ly:percent-repeat-item-interface::double-percent)
525 (font-encoding . fetaMusic)
528 (break-align-symbol . staff-bar)
529 (break-visibility . ,begin-of-line-invisible)
530 (meta . ((class . Item)
531 (interfaces . (font-interface
532 break-aligned-interface
533 percent-repeat-interface))))))
535 (DoublePercentRepeatCounter
538 (stencil . ,ly:text-interface::print)
539 (X-offset . ,(ly:make-simple-closure `(,+ ,(ly:make-simple-closure (list ly:self-alignment-interface::centered-on-y-parent))
540 ,(ly:make-simple-closure (list ly:self-alignment-interface::x-aligned-on-self)))))
541 (Y-offset . ,ly:side-position-interface::y-aligned-side)
542 (font-encoding . fetaNumber)
543 (self-alignment-X . 0)
547 (staff-padding . 0.25)
549 (meta . ((class . Item)
550 (interfaces . (side-position-interface
551 self-alignment-interface
552 percent-repeat-interface
558 (Y-offset . ,ly:side-position-interface::y-aligned-side)
559 (staff-padding . 0.1)
561 (avoid-slur . outside)
563 (minimum-space . 1.2)
567 (Y-extent . ,ly:axis-group-interface::height)
568 (X-extent . ,ly:axis-group-interface::width)
571 (meta . ((class . Spanner)
572 (interfaces . (axis-group-interface
574 dynamic-line-spanner-interface
575 side-position-interface))))))
582 (stencil . ,ly:text-interface::print)
583 (direction . ,ly:script-interface::calc-direction)
585 (X-offset . ,ly:self-alignment-interface::x-aligned-on-self)
586 (self-alignment-X . 0)
587 (Y-offset . ,ly:self-alignment-interface::y-aligned-on-self)
588 (self-alignment-Y . 0)
590 (font-encoding . fetaDynamic)
591 (font-shape . italic)
592 (avoid-slur . around)
593 (no-spacing-rods . #t)
594 (script-priority . 100)
595 (meta . ((class . Item)
596 (interfaces . (font-interface
598 self-alignment-interface
600 script-interface))))))
605 (stencil . ,ly:dynamic-text-spanner::print)
607 ;; rather ugh with NCSB
608 ;; (font-series . bold)
609 (font-shape . italic)
610 (style . dashed-line)
612 ;; need to blend with dynamic texts.
614 (bound-padding . 0.75)
615 (dash-fraction . 0.2)
617 (meta . ((class . Spanner)
618 (interfaces . (font-interface
621 dynamic-text-spanner-interface
622 spanner-interface))))))
627 ;; sync with TextScript (?)
630 (avoid-slur . around)
632 (staff-padding . 0.5)
633 (self-alignment-X . 0)
634 (self-alignment-Y . 0)
635 (script-priority . 100)
637 (stencil . ,ly:text-interface::print)
638 (direction . ,ly:script-interface::calc-direction)
640 (font-encoding . fetaNumber)
641 (font-size . -5) ; don't overlap when next to heads.
642 (meta . ((class . Item)
643 (interfaces . (finger-interface
645 text-script-interface
647 side-position-interface
648 self-alignment-interface
654 (zigzag-width . 0.75)
659 (stencil . ,ly:line-spanner::print)
660 (after-line-breaking . ,ly:line-spanner::after-line-breaking)
663 (meta . ((class . Spanner)
664 (interfaces . (line-interface
665 line-spanner-interface))))))
671 (meta . ((class . Item)
672 (interfaces . (grid-point-interface))))))
677 (X-extent . ,ly:grid-line-interface::width)
678 (stencil . ,ly:grid-line-interface::print)
680 (self-alignment-X . ,CENTER)
681 (X-offset . ,(ly:make-simple-closure
682 `(,+ ,(ly:make-simple-closure (list ly:self-alignment-interface::centered-on-x-parent))
683 ,(ly:make-simple-closure (list ly:self-alignment-interface::x-aligned-on-self)))))
685 (meta . ((class . Item)
686 (interfaces . (self-alignment-interface
687 grid-line-interface))))))
693 (stencil . ,ly:hairpin::print)
694 (springs-and-rods . ,ly:spanner::set-spacing-rods)
695 (after-line-breaking . ,ly:hairpin::after-line-breaking)
699 (minimum-length . 2.0)
700 (bound-padding . 1.0)
701 (self-alignment-Y . 0)
702 (Y-offset . ,ly:self-alignment-interface::y-aligned-on-self)
703 (meta . ((class . Spanner)
704 (interfaces . (hairpin-interface
706 self-alignment-interface
708 spanner-interface))))))
713 (stencil . ,ly:horizontal-bracket::print)
714 (Y-offset . ,ly:side-position-interface::y-aligned-side)
716 (staff-padding . 0.2)
719 (bracket-flare . (0.5 . 0.5))
720 (meta . ((class . Spanner)
721 (interfaces . (horizontal-bracket-interface
722 side-position-interface
724 spanner-interface))))))
729 (stencil . ,ly:system-start-delimiter::print)
730 (collapse-height . 5.0)
731 (X-offset . ,ly:side-position-interface::x-aligned-side)
735 (meta . ((class . Spanner)
736 (interfaces . (system-start-text-interface
737 side-position-interface
743 (stencil . ,ly:key-signature-interface::print)
746 (time-signature . (extra-space . 1.25))
747 (staff-bar . (extra-space . 0.6))
748 (key-signature . (extra-space . 0.5))
749 (right-edge . (extra-space . 0.5))
750 (first-note . (fixed-space . 2.5))))
751 (Y-offset . ,ly:staff-symbol-referencer::callback)
752 (break-align-symbol . key-cancellation)
753 (break-visibility . ,begin-of-line-invisible)
756 (meta . ((class . Item)
757 (interfaces . (key-signature-interface
759 break-aligned-interface))))))
763 (stencil . ,ly:key-signature-interface::print)
766 (time-signature . (extra-space . 1.15))
767 (staff-bar . (extra-space . 1.1))
768 (right-edge . (extra-space . 0.5))
769 (first-note . (fixed-space . 2.5))))
770 (Y-offset . ,ly:staff-symbol-referencer::callback)
771 (break-align-symbol . key-signature)
772 (break-visibility . ,begin-of-line-visible)
775 (meta . ((class . Item)
776 (interfaces . (key-signature-interface
778 break-aligned-interface))))))
782 (stencil . ,ly:tie::print)
783 (control-points . ,ly:laissez-vibrer-tie::calc-control-points)
784 (direction . ,ly:laissez-vibrer-tie::calc-direction)
786 (details . ((ratio . 0.333)
787 (height-limit . 1.0)))
789 (meta . ((class . Item)
790 (interfaces . (laissez-vibrer-tie-interface))
794 (LaissezVibrerTieColumn
798 (positioning-done . ,ly:laissez-vibrer-tie-column::calc-positioning-done)
799 (meta . ((class . Item)
800 (interfaces . (laissez-vibrer-tie-column-interface))
807 (springs-and-rods . ,ly:ledger-line-spanner::set-spacing-rods)
809 (stencil . ,ly:ledger-line-spanner::print)
813 (minimum-length-fraction . 0.25)
814 (length-fraction . 0.25)
816 (meta . ((class . Spanner)
817 (interfaces . (ledger-line-interface))))))
821 (break-align-symbol . left-edge)
824 (break-visibility . ,center-invisible)
826 (custos . (extra-space . 0.0))
827 (ambitus . (extra-space . 2.0))
828 (time-signature . (extra-space . 1.0))
829 (staff-bar . (extra-space . 0.0))
830 (breathing-sign . (minimum-space . 0.0))
831 (clef . (extra-space . 0.8))
832 (first-note . (fixed-space . 2.0))
833 (right-edge . (extra-space . 0.0))
834 (key-signature . (extra-space . 0.0))
835 (key-cancellation . (extra-space . 0.0))
837 (meta . ((class . Item)
838 (interfaces . (break-aligned-interface))))))
842 ;; ugh. A ligature bracket is totally different from
847 (edge-height . (0.7 . 0.7))
848 (shorten-pair . (-0.2 . -0.2))
850 (positions . ,ly:tuplet-bracket::calc-positions)
851 (stencil . ,ly:tuplet-bracket::print)
853 (meta . ((class . Spanner)
854 (interfaces . (tuplet-bracket-interface
863 (minimum-length . 0.3)
864 (minimum-distance . 0.1)
866 (springs-and-rods . ,ly:hyphen-spanner::set-spacing-rods)
868 (stencil . ,ly:hyphen-spanner::print)
871 (meta . ((class . Spanner)
872 (interfaces . (lyric-interface
874 lyric-hyphen-interface
875 spanner-interface))))))
880 (stencil . ,ly:lyric-extender::print)
882 (thickness . 0.8) ; line-thickness
883 (minimum-length . 1.5)
885 (meta . ((class . Spanner)
886 (interfaces . (lyric-interface
887 lyric-extender-interface))))))
890 . ((minimum-distance . 0.3)
891 (springs-and-rods . ,ly:hyphen-spanner::set-spacing-rods)
895 (meta . ((class . Spanner)
896 (interfaces . (spanner-interface
897 lyric-hyphen-interface spacing-interface))
902 (stencil . ,ly:text-interface::print)
903 (X-offset . ,ly:self-alignment-interface::aligned-on-x-parent)
904 (self-alignment-X . 0)
906 (font-series . bold-narrow)
908 (meta . ((class . Item)
909 (interfaces . (rhythmic-grob-interface
910 lyric-syllable-interface
911 self-alignment-interface
918 (Y-offset . ,ly:side-position-interface::y-aligned-side)
921 (stencil . ,ly:measure-grouping::print)
928 (meta . ((class . Spanner)
929 (interfaces . (side-position-interface
930 measure-grouping-interface))))))
934 (neutral-direction . ,DOWN)
935 (meta . ((class . Item)
936 (interfaces . (melody-spanner-interface spacing-interface))))))
941 (stencil . ,ly:mensural-ligature::print)
943 (meta . ((class . Spanner)
944 (interfaces . (mensural-ligature-interface
949 (stencil . ,ly:text-interface::print)
950 (Y-offset . ,ly:side-position-interface::y-aligned-side)
954 (meta . ((class . Item)
955 (interfaces . (text-interface
956 side-position-interface
958 metronome-mark-interface))))))
963 (stencil . ,ly:multi-measure-rest::print)
964 (springs-and-rods . ,ly:multi-measure-rest::set-spacing-rods)
965 (Y-offset . ,ly:staff-symbol-referencer::callback)
968 (thick-thickness . 6.6)
969 (hair-thickness . 2.0)
971 (meta . ((class . Spanner)
972 (interfaces . (multi-measure-rest-interface
973 multi-measure-interface
976 staff-symbol-referencer-interface))))))
979 (MultiMeasureRestNumber
981 (springs-and-rods . ,ly:multi-measure-rest::set-spacing-rods)
982 (stencil . ,ly:text-interface::print)
983 (X-offset . ,(ly:make-simple-closure
984 `(,+ ,(ly:make-simple-closure (list ly:self-alignment-interface::x-aligned-on-self))
985 ,(ly:make-simple-closure (list ly:self-alignment-interface::x-centered-on-y-parent)))))
986 (Y-offset . ,ly:side-position-interface::y-aligned-side)
989 (self-alignment-X . 0)
992 (staff-padding . 0.4)
993 (font-encoding . fetaNumber)
994 (meta . ((class . Spanner)
995 (interfaces . (side-position-interface
996 multi-measure-interface
997 self-alignment-interface
1002 (MultiMeasureRestText
1004 (stencil . ,ly:text-interface::print)
1005 (X-offset . ,(ly:make-simple-closure
1006 `(,+ ,(ly:make-simple-closure (list ly:self-alignment-interface::x-centered-on-y-parent))
1007 ,(ly:make-simple-closure (list ly:self-alignment-interface::x-aligned-on-self)))))
1009 (Y-offset . ,ly:side-position-interface::y-aligned-side)
1010 (self-alignment-X . 0)
1013 (staff-padding . 0.25)
1014 (meta . ((class . Spanner)
1015 (interfaces . (side-position-interface
1016 multi-measure-interface
1017 self-alignment-interface
1019 text-interface))))))
1025 (X-extent . ,ly:axis-group-interface::width)
1026 (Y-extent . ,ly:axis-group-interface::height)
1027 (positioning-done . ,ly:note-collision-interface::calc-positioning-done)
1029 (meta . ((class . Item)
1030 (interfaces . (note-collision-interface
1031 axis-group-interface))))))
1036 (X-extent . ,ly:axis-group-interface::width)
1037 (Y-extent . ,ly:axis-group-interface::height)
1039 (meta . ((class . Item)
1040 (interfaces . (axis-group-interface
1041 note-column-interface))))))
1046 (stencil . ,ly:note-head::print)
1047 (stem-attachment . ,ly:note-head::calc-stem-attachment)
1048 (glyph-name . ,note-head::calc-glyph-name)
1049 (Y-offset . ,ly:staff-symbol-referencer::callback)
1050 (X-offset . ,ly:note-head::stem-x-shift)
1051 (meta . ((class . Item)
1052 (interfaces . (rhythmic-grob-interface
1053 rhythmic-head-interface
1057 staff-symbol-referencer-interface))))))
1061 (stem-spacing-correction . 0.5)
1062 (same-direction-correction . 0.25)
1063 ;; Changed this from 0.75.
1064 ;; If you ever change this back, please document! --hwn
1065 (knee-spacing-correction . 1.0)
1067 (meta . ((class . Item)
1068 (interfaces . (spacing-interface
1069 note-spacing-interface))))))
1074 (stencil . ,ly:text-interface::print)
1076 (meta . ((class . Item)
1077 (interfaces . (note-name-interface
1079 font-interface))))))
1083 (self-alignment-X . 0)
1084 (break-visibility . ,begin-of-line-visible)
1085 (X-offset . ,(ly:make-simple-closure
1086 `(,+ ,(ly:make-simple-closure (list ly:self-alignment-interface::x-aligned-on-self))
1087 ,(ly:make-simple-closure (list ly:self-alignment-interface::centered-on-x-parent)))))
1089 (Y-offset . ,ly:side-position-interface::y-aligned-side)
1091 (stencil . ,ly:text-interface::print)
1094 ;; no Y dimensions, because of lyrics under tenor clef.
1095 (Y-extent . (0 . 0))
1096 (font-shape . italic)
1098 (staff-padding . 0.2)
1100 (meta . ((class . Item)
1101 (interfaces . (text-interface
1102 self-alignment-interface
1103 side-position-interface
1104 font-interface))))))
1108 (Y-offset . ,ly:side-position-interface::y-aligned-side)
1110 (stencil . ,ly:ottava-bracket::print)
1112 (font-shape . italic)
1113 (shorten-pair . (0.0 . -0.6))
1114 (staff-padding . 1.0)
1116 (minimum-length . 1.0)
1117 (dash-fraction . 0.3)
1118 (edge-height . (0 . 1.2))
1120 (meta . ((class . Spanner)
1121 (interfaces . (ottava-bracket-interface
1122 horizontal-bracket-interface
1124 side-position-interface
1126 text-interface))))))
1132 (before-line-breaking . ,ly:paper-column::before-line-breaking)
1133 ;; (stencil . ,ly:paper-column::print)
1134 (X-extent . ,ly:axis-group-interface::width)
1138 ;; (font-size . -6) (font-name . "sans") (Y-extent . #f)
1139 (meta . ((class . Paper_column)
1140 (interfaces . (paper-column-interface
1141 axis-group-interface
1142 spaceable-grob-interface))))))
1146 (stencil . ,parentheses-item::print)
1149 (meta . ((class . Item)
1150 (interfaces . (parentheses-interface font-interface))))
1154 . ((details . ,default-slur-details)
1156 (control-points . ,ly:slur::calc-control-points)
1157 (direction . ,ly:slur::calc-direction)
1158 (springs-and-rods . ,ly:spanner::set-spacing-rods)
1159 (Y-extent . ,ly:slur::height)
1160 (stencil . ,ly:slur::print)
1164 (minimum-length . 1.5)
1165 (height-limit . 2.0)
1167 (meta . ((class . Spanner)
1168 (interfaces . (slur-interface))))))
1170 (NonMusicalPaperColumn
1174 (before-line-breaking . ,ly:paper-column::before-line-breaking)
1175 (X-extent . ,ly:axis-group-interface::width)
1176 ;; (stencil . ,ly:paper-column::print)
1180 ;; debugging stuff: print column number.
1181 ;; (font-size . -6) (font-name . "sans") (Y-extent . #f)
1183 (meta . ((class . Paper_column)
1184 (interfaces . (paper-column-interface
1185 axis-group-interface
1186 spaceable-grob-interface))))))
1191 (springs-and-rods . ,ly:multi-measure-rest::set-spacing-rods)
1192 (stencil . ,ly:multi-measure-rest::percent)
1196 (font-encoding . fetaMusic)
1197 (meta . ((class . Spanner)
1198 (interfaces . (multi-measure-rest-interface
1200 percent-repeat-interface))))))
1201 (PercentRepeatCounter
1203 (stencil . ,ly:text-interface::print)
1204 (X-offset . ,(ly:make-simple-closure
1205 `(,+ ,(ly:make-simple-closure (list ly:self-alignment-interface::x-centered-on-y-parent))
1206 ,(ly:make-simple-closure (list ly:self-alignment-interface::x-aligned-on-self)))))
1207 (Y-offset . ,ly:side-position-interface::y-aligned-side)
1208 (self-alignment-X . 0)
1211 (staff-padding . 0.25)
1213 (font-encoding . fetaNumber)
1214 (meta . ((class . Spanner)
1215 (interfaces . (side-position-interface
1216 self-alignment-interface
1217 percent-repeat-interface
1219 text-interface))))))
1221 ;; an example of a text spanner
1225 (stencil . ,ly:piano-pedal-bracket::print)
1228 (bound-padding . 1.0)
1230 (bracket-flare . (0.5 . 0.5))
1231 (edge-height . (1.0 . 1.0))
1232 (shorten-pair . (0.0 . 0.0))
1234 (meta . ((class . Spanner)
1235 (interfaces . (line-interface
1236 piano-pedal-interface
1237 piano-pedal-bracket-interface))))))
1241 (stencil . ,ly:text-interface::print)
1242 (X-offset . ,(ly:make-simple-closure
1243 `(,+ ,(ly:make-simple-closure
1244 `(,ly:self-alignment-interface::x-aligned-on-self))
1245 ,(ly:make-simple-closure
1246 `(,ly:self-alignment-interface::centered-on-x-parent)))
1248 (Y-offset . ,ly:side-position-interface::y-aligned-side)
1249 (self-alignment-X . 0)
1254 (break-visibility . ,end-of-line-invisible)
1256 (meta . ((class . Item)
1257 (interfaces . (text-interface
1258 side-position-interface
1261 self-alignment-interface))))))
1266 (stencil . ,ly:percent-repeat-item-interface::beat-slash)
1269 (meta . ((class . Item)
1270 (interfaces . (percent-repeat-interface))))))
1273 (stencil . ,ly:rest::print)
1274 (X-extent . ,ly:rest::width)
1275 (Y-extent . ,ly:rest::height)
1276 (Y-offset . ,ly:rest::y-offset-callback)
1277 (minimum-distance . 0.25)
1278 (meta . ((class . Item)
1279 (interfaces . (font-interface
1280 rhythmic-head-interface
1281 rhythmic-grob-interface
1282 staff-symbol-referencer-interface
1283 rest-interface))))))
1287 (minimum-distance . 0.75)
1288 (positioning-done . ,ly:rest-collision::calc-positioning-done)
1290 (meta . ((class . Item)
1291 (interfaces . (rest-collision-interface))))))
1295 ;; don't set direction here: it breaks staccato.
1297 ;; This value is sensitive: if too large, staccato dots will move a
1300 (staff-padding . 0.25)
1301 ;; (script-priority . 0) priorities for scripts, see script.scm
1302 (X-offset . , ly:self-alignment-interface::centered-on-x-parent)
1305 (stencil . ,ly:script-interface::print)
1306 (direction . ,ly:script-interface::calc-direction)
1308 (font-encoding . fetaMusic)
1309 (meta . ((class . Item)
1310 (interfaces . (script-interface
1311 side-position-interface
1312 font-interface))))))
1317 (before-line-breaking . ,ly:script-column::before-line-breaking)
1319 (meta . ((class . Item)
1320 (interfaces . (script-column-interface))))))
1326 (meta . ((class . Item)
1327 (interfaces . (spacing-interface
1328 separation-item-interface))))))
1330 (SeparatingGroupSpanner
1333 (springs-and-rods . ,ly:separating-group-spanner::set-spacing-rods)
1335 (meta . ((class . Spanner)
1336 (interfaces . (only-prebreak-interface
1338 separation-spanner-interface))))))
1341 . ((details . ,default-slur-details)
1343 (control-points . ,ly:slur::calc-control-points)
1344 (direction . ,ly:slur::calc-direction)
1345 (springs-and-rods . ,ly:spanner::set-spacing-rods)
1346 (Y-extent . ,ly:slur::height)
1347 (stencil . ,ly:slur::print)
1350 (minimum-length . 1.5)
1352 (height-limit . 2.0)
1354 (meta . ((class . Spanner)
1355 (interfaces . (slur-interface))))))
1360 (springs-and-rods . ,ly:spacing-spanner::set-springs)
1361 (average-spacing-wishes . #t)
1362 (grace-space-factor . 0.6)
1363 (shortest-duration-space . 2.0)
1364 (spacing-increment . 1.2)
1365 (base-shortest-duration . ,(ly:make-moment 3 16))
1366 (meta . ((class . Spanner)
1367 (interfaces . (spacing-interface
1368 spacing-spanner-interface))))))
1372 (break-align-symbol . staff-bar)
1377 (stencil . ,ly:span-bar::print)
1378 (bar-size . ,ly:span-bar::calc-bar-size)
1379 (X-extent . ,ly:span-bar::width)
1380 (glyph-name . ,ly:span-bar::calc-glyph-name)
1381 (before-line-breaking . ,ly:span-bar::before-line-breaking)
1386 ;; Ross. page 151 lists other values, we opt for a leaner look
1390 (hair-thickness . 1.6)
1391 (thick-thickness . 6.0)
1392 (meta . ((class . Item)
1393 (interfaces . (span-bar-interface
1395 bar-line-interface))))))
1399 (stencil . ,ly:text-interface::print)
1401 (font-series . bold)
1403 (X-offset . ,ly:side-position-interface::x-aligned-side)
1406 (meta . ((class . Item)
1407 (interfaces . (side-position-interface
1408 stanza-number-interface
1410 font-interface))))))
1415 (stencil . ,print-circled-text-callback)
1418 (staff-padding . 0.5)
1419 (self-alignment-X . 0)
1420 (self-alignment-Y . 0)
1421 (script-priority . 100)
1422 (font-encoding . fetaNumber)
1423 (font-size . -5) ; don't overlap when next to heads.
1424 (meta . ((class . Item)
1425 (interfaces . (string-number-interface
1427 text-script-interface
1429 side-position-interface
1430 self-alignment-interface
1431 item-interface))))))
1436 (stem-spacing-correction . 0.4)
1437 (meta . ((class . Item)
1438 (interfaces . (spacing-interface
1439 staff-spacing-interface))))))
1444 (stencil . ,ly:text-interface::print)
1446 (direction . ,RIGHT)
1447 (X-offset . ,ly:self-alignment-interface::x-aligned-on-self)
1448 (no-spacing-rods . #t)
1449 (padding . 0.0) ;; padding relative to SostenutoPedalLineSpanner
1450 (font-shape . italic)
1451 (self-alignment-X . 0)
1452 (meta . ((class . Item)
1453 (interfaces . (text-interface
1454 self-alignment-interface
1455 font-interface))))))
1457 (SostenutoPedalLineSpanner
1461 (X-extent . ,ly:axis-group-interface::height)
1463 (Y-offset . ,ly:side-position-interface::y-aligned-side)
1467 (minimum-space . 1.0)
1469 (meta . ((class . Spanner)
1470 (interfaces . (piano-pedal-interface
1471 axis-group-interface
1472 side-position-interface))))))
1476 (Y-extent . ,ly:staff-symbol::height)
1477 (stencil . ,ly:staff-symbol::print)
1479 (ledger-line-thickness . (1.0 . 0.1))
1481 (meta . ((class . Spanner)
1482 (interfaces . (staff-symbol-interface))))))
1486 (direction . ,ly:stem::calc-direction)
1487 (default-direction . ,ly:stem::calc-default-direction)
1488 (stem-end-position . ,ly:stem::calc-stem-end-position)
1489 (stem-info . ,ly:stem::calc-stem-info)
1490 (positioning-done . ,ly:stem::calc-positioning-done)
1491 (stencil . ,ly:stem::print)
1492 (X-extent . ,ly:stem::width)
1493 (Y-extent . ,ly:stem::height)
1494 (length . ,ly:stem::calc-length)
1500 ;; 3.5 (or 3 measured from note head) is standard length
1501 ;; 32nd, 64th flagged stems should be longer
1502 (lengths . (3.5 3.5 3.5 4.5 5.0))
1504 ;; FIXME. 3.5 yields too long beams (according to Ross and
1505 ;; looking at Baerenreiter examples) for a number of common
1506 ;; boundary cases. Subtracting half a beam thickness fixes
1507 ;; this, but the bug may well be somewhere else.
1509 ;; FIXME this should come from 'lengths
1510 (beamed-lengths . (3.26 3.5 3.6))
1512 ;; The 'normal' minima
1513 (beamed-minimum-free-lengths . (1.83 1.5 1.25))
1514 ;(beamed-minimum-free-lengths . (2.0 1.83 1.25))
1516 ;; The 'extreme case' minima
1517 (beamed-extreme-minimum-free-lengths . (2.0 1.25))
1519 ;; Stems in unnatural (forced) direction should be shortened by
1520 ;; one staff space, according to [Roush & Gourlay].
1521 ;; Flagged stems we shorten only half a staff space.
1522 (stem-shorten . (1.0 0.5))
1527 ;; default stem direction for note on middle line
1528 (neutral-direction . ,DOWN)
1530 ;; We use the normal minima as minimum for the ideal lengths,
1531 ;; and the extreme minima as abolute minimum length.
1533 (X-offset . ,ly:stem::offset-callback)
1534 (Y-offset . ,ly:staff-symbol-referencer::callback)
1535 (meta . ((class . Item)
1536 (interfaces . (stem-interface
1537 font-interface))))))
1541 (Y-extent . ,ly:stem-tremolo::height)
1542 (stencil . ,ly:stem-tremolo::print)
1544 (beam-width . 1.6) ; staff-space
1545 (beam-thickness . 0.48) ; staff-space
1546 (meta . ((class . Item)
1547 (interfaces . (stem-tremolo-interface))))))
1551 (no-spacing-rods . #t)
1552 (stencil . ,ly:sustain-pedal::print)
1553 (self-alignment-X . 0)
1554 (direction . ,RIGHT)
1555 (padding . 0.0) ;; padding relative to SustainPedalLineSpanner
1556 (X-offset . ,ly:self-alignment-interface::x-aligned-on-self)
1557 (meta . ((class . Item)
1558 (interfaces . (piano-pedal-interface
1559 text-spanner-interface
1561 self-alignment-interface
1562 font-interface))))))
1564 (SustainPedalLineSpanner
1567 (X-extent . ,ly:axis-group-interface::height)
1568 (Y-offset . ,ly:side-position-interface::y-aligned-side)
1571 (staff-padding . 1.2)
1572 (minimum-space . 1.0)
1574 (meta . ((class . Spanner)
1575 (interfaces . (piano-pedal-interface
1576 axis-group-interface
1577 side-position-interface))))))
1582 (X-extent . ,ly:axis-group-interface::width)
1583 (Y-extent . ,ly:axis-group-interface::height)
1584 (meta . ((class . System)
1585 (interfaces . (system-interface
1586 axis-group-interface))))))
1592 (stencil . ,ly:system-start-delimiter::print)
1593 (collapse-height . 5.0)
1594 (X-offset . ,ly:side-position-interface::x-aligned-side)
1596 (font-encoding . fetaBraces)
1598 (meta . ((class . Spanner)
1599 (interfaces . (system-start-delimiter-interface
1600 side-position-interface
1601 font-interface))))))
1607 (X-offset . ,ly:side-position-interface::x-aligned-side)
1609 (stencil . ,ly:system-start-delimiter::print)
1610 (style . line-bracket)
1612 (meta . ((class . Spanner)
1613 (interfaces . (font-interface
1614 side-position-interface
1615 system-start-delimiter-interface))))))
1620 (X-offset . ,ly:side-position-interface::x-aligned-side)
1622 (stencil . ,ly:system-start-delimiter::print)
1624 (collapse-height . 5.0)
1626 (meta . ((class . Spanner)
1627 (interfaces . (font-interface
1628 side-position-interface
1629 system-start-delimiter-interface))))))
1635 (X-offset . ,ly:side-position-interface::x-aligned-side)
1639 (stencil . ,ly:system-start-delimiter::print)
1640 (meta . ((class . Spanner)
1641 (interfaces . (side-position-interface
1642 system-start-delimiter-interface))))))
1648 (stencil . ,ly:text-interface::print)
1649 (Y-offset . ,ly:staff-symbol-referencer::callback)
1651 (stem-attachment . (1.0 . 1.35))
1652 (font-series . bold)
1653 (meta . ((class . Item)
1655 . (rhythmic-head-interface
1656 font-interface rhythmic-grob-interface
1658 staff-symbol-referencer-interface
1659 text-interface))))))
1663 (no-spacing-rods . #t)
1664 (X-offset . ,ly:self-alignment-interface::x-aligned-on-self)
1667 ;; sync with Fingering ?
1669 (staff-padding . 0.5)
1671 (stencil . ,ly:text-interface::print)
1672 (direction . ,ly:script-interface::calc-direction)
1674 (avoid-slur . around)
1675 (slur-padding . 0.5)
1676 (script-priority . 200)
1677 ;; todo: add X self alignment?
1678 (meta . ((class . Item)
1679 (interfaces . (text-script-interface
1681 side-position-interface
1682 font-interface))))))
1686 (stencil . ,ly:text-spanner::print)
1687 (Y-offset . ,ly:side-position-interface::y-aligned-side)
1688 (font-shape . italic)
1689 (style . dashed-line)
1690 (staff-padding . 0.8)
1691 (dash-fraction . 0.2)
1695 (meta . ((class . Spanner)
1696 (interfaces . (text-spanner-interface
1697 side-position-interface
1698 font-interface))))))
1702 (control-points . ,ly:tie::calc-control-points)
1703 (avoid-slur . inside)
1704 (direction . ,ly:tie::calc-direction)
1705 (stencil . ,ly:tie::print)
1707 ;; for a full list, see tie-helper.cc
1709 (center-staff-line-clearance . 0.6)
1710 (tip-staff-line-clearance . 0.45)
1711 (note-head-gap . 0.2)
1713 (height-limit . 1.0)
1714 (horizontal-distance-penalty-factor . 10)
1715 (tie-tie-collision-distance . 0.45)
1716 (tie-tie-collision-penalty . 25.0)
1717 (intra-space-threshold . 1.25)
1718 (outer-tie-vertical-distance-symmetry-penalty-factor . 10)
1719 (outer-tie-length-symmetry-penalty-factor . 10)
1720 (between-length-limit . 1.0)))
1722 (meta . ((class . Spanner)
1723 (interfaces . (tie-interface))))
1728 (positioning-done . ,ly:tie-column::calc-positioning-done)
1729 (before-line-breaking . ,ly:tie-column::before-line-breaking)
1732 (meta . ((class . Spanner)
1733 (interfaces . (tie-column-interface))))))
1737 (stencil . ,ly:time-signature::print)
1738 (break-align-symbol . time-signature)
1739 (break-visibility . ,all-visible)
1741 (first-note . (fixed-space . 2.0))
1742 (right-edge . (extra-space . 0.5))
1743 (staff-bar . (minimum-space . 2.0))))
1746 (meta . ((class . Item)
1747 (interfaces . (time-signature-interface
1748 break-aligned-interface
1749 font-interface))))))
1753 (stencil . ,ly:dynamic-text-spanner::print)
1754 (edge-text . ,(cons (make-musicglyph-markup "scripts.trill")
1757 (staff-padding . 1.0)
1760 (Y-offset . ,ly:side-position-interface::y-aligned-side)
1762 (meta . ((class . Spanner)
1763 (interfaces . (text-spanner-interface
1764 side-position-interface
1765 font-interface))))))
1767 (TrillPitchAccidental
1768 . ((X-offset . ,ly:side-position-interface::x-aligned-side)
1773 (stencil . ,ly:accidental-interface::print)
1774 (meta . ((class . Item)
1775 (interfaces . (item-interface
1776 accidental-interface
1777 side-position-interface
1778 font-interface))))))
1781 . ((X-offset . ,ly:side-position-interface::x-aligned-side)
1784 (stencil . ,parenthesize-elements)
1785 (direction . ,RIGHT)
1788 (meta . ((class . Item)
1789 (interfaces . (side-position-interface
1791 rhythmic-head-interface
1793 accidental-interface
1794 axis-group-interface))))))
1798 (stencil . ,ly:note-head::print)
1800 (Y-offset . ,ly:staff-symbol-referencer::callback)
1802 (meta . ((class . Item)
1803 (interfaces . (item-interface
1804 rhythmic-head-interface
1806 pitched-trill-interface
1808 staff-symbol-referencer-interface))))))
1814 (edge-height . (0.7 . 0.7))
1815 (shorten-pair . (-0.2 . -0.2))
1816 (staff-padding . 0.25)
1818 (direction . ,ly:tuplet-bracket::calc-direction)
1819 (positions . ,ly:tuplet-bracket::calc-positions)
1820 (connect-to-neighbor . ,ly:tuplet-bracket::calc-connect-to-neighbors)
1821 (control-points . ,ly:tuplet-bracket::calc-control-points)
1822 (stencil . ,ly:tuplet-bracket::print)
1824 (meta . ((class . Spanner)
1825 (interfaces . (line-interface
1826 tuplet-bracket-interface))))))
1830 (stencil . ,ly:tuplet-number::print)
1831 (font-shape . italic)
1833 (avoid-slur . inside)
1834 (meta . ((class . Spanner)
1835 (interfaces . (text-interface tuplet-number-interface
1836 font-interface))))))
1840 (stencil . ,ly:text-interface::print)
1841 (font-shape . italic)
1842 (no-spacing-rods . #t)
1843 (self-alignment-X . 0)
1844 (direction . ,RIGHT)
1845 (padding . 0.0) ;; padding relative to UnaCordaPedalLineSpanner
1846 (X-offset . ,ly:self-alignment-interface::x-aligned-on-self)
1847 (meta . ((class . Item)
1848 (interfaces . (text-interface
1849 self-alignment-interface
1850 font-interface))))))
1852 (UnaCordaPedalLineSpanner
1855 (X-extent . ,ly:axis-group-interface::height)
1856 (Y-offset . ,ly:side-position-interface::y-aligned-side)
1859 (staff-padding . 1.2)
1860 (minimum-space . 1.0)
1862 (meta . ((class . Spanner)
1863 (interfaces . (piano-pedal-interface
1864 axis-group-interface
1865 side-position-interface))))))
1871 (stencil . ,ly:vaticana-ligature::print)
1872 (meta . ((class . Spanner)
1873 (interfaces . (vaticana-ligature-interface
1874 font-interface))))))
1879 (positioning-done . ,ly:align-interface::calc-positioning-done)
1880 (after-line-breaking . ,ly:align-interface::stretch-after-break)
1881 (Y-extent . ,ly:axis-group-interface::height)
1882 (X-extent . ,ly:axis-group-interface::width)
1884 (meta . ((class . Spanner)
1885 (interfaces . (align-interface
1886 axis-group-interface))))))
1890 (Y-offset . ,ly:hara-kiri-group-spanner::force-hara-kiri-callback)
1892 (Y-extent . ,ly:hara-kiri-group-spanner::y-extent)
1893 (X-extent . ,ly:axis-group-interface::width)
1894 (meta . ((class . Spanner)
1895 (interfaces . (axis-group-interface
1896 hara-kiri-group-interface
1897 vertically-spaceable-interface))))))
1902 (stencil . ,ly:volta-bracket-interface::print)
1903 (after-line-breaking . ,ly:volta-bracket-interface::after-line-breaking)
1906 (font-encoding . fetaNumber)
1907 (Y-offset . ,ly:side-position-interface::y-aligned-side)
1909 (thickness . 1.6) ;; line-thickness
1910 (edge-height . (2.0 . 2.0)) ;; staff-space;
1913 (meta . ((class . Spanner)
1914 (interfaces . (volta-bracket-interface
1915 horizontal-bracket-interface
1918 side-position-interface
1930 (stencil . ,ly:line-spanner::print)
1931 (after-line-breaking . ,ly:line-spanner::after-line-breaking)
1932 (meta . ((class . Spanner)
1933 (interfaces . (line-spanner-interface
1939 (define (completize-grob-entry x)
1940 "Transplant assoc key into 'name entry of 'meta of X. Set interfaces for Item, Spanner etc.
1942 ;; (display (car x))
1944 (let* ((name-sym (car x))
1945 (grob-entry (cdr x))
1946 (meta-entry (cdr (assoc 'meta grob-entry)))
1947 (class (cdr (assoc 'class meta-entry)))
1949 (cdr (assoc 'interfaces meta-entry))))
1953 (set! ifaces-entry (cons 'item-interface ifaces-entry)))
1954 ((eq? 'Spanner class)
1955 (set! ifaces-entry (cons 'spanner-interface ifaces-entry)))
1956 ((eq? 'Paper_column class)
1957 (set! ifaces-entry (cons 'item-interface
1958 (cons 'paper-column-interface ifaces-entry))))
1959 ((eq? 'System class)
1960 (set! ifaces-entry (cons 'system-interface
1961 (cons 'spanner-interface ifaces-entry))))
1963 (ly:warning "Unknown class ~a" class)))
1964 (set! ifaces-entry (cons 'grob-interface ifaces-entry))
1966 (set! meta-entry (assoc-set! meta-entry 'name name-sym))
1967 (set! meta-entry (assoc-set! meta-entry 'interfaces
1969 (set! grob-entry (assoc-set! grob-entry 'meta meta-entry))
1970 (cons name-sym grob-entry)))
1972 (set! all-grob-descriptions (map completize-grob-entry all-grob-descriptions))
1974 ;; (display (map pair? all-grob-descriptions))
1976 ;; make sure that \property Foo.Bar =\turnOff doesn't complain
1979 ;; (display (car x)) (newline)
1981 (set-object-property! (car x) 'translation-type? list?)
1982 (set-object-property! (car x) 'is-grob? #t))
1983 all-grob-descriptions)
1985 (set! all-grob-descriptions (sort all-grob-descriptions alist<?))