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 linethickness (thicknesses) and
9 ;;;; staffspace (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 . ,Accidental_interface::print)
27 . ,Accidental_interface::after_line_breaking)
29 (meta . ((class . Item)
30 (interfaces . (accidental-interface
35 (stencil . ,Accidental_interface::print)
36 (X-offset . ,(ly:make-simple-closure
38 ,(ly:make-simple-closure (list Self_alignment_interface::centered_on_x_parent))
39 ,(ly:make-simple-closure (list Self_alignment_interface::x_aligned_on_self)))))
40 (self-alignment-X . ,CENTER)
42 (cautionary-style . smaller)
43 (Y-offset . ,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 . ,Accidental_placement::calc_positioning_done)
61 (X-extent . ,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 . ,Axis_group_interface::width)
72 (X-extent . ,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 . ,Ambitus::print)
95 (X-offset . ,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 . ,Side_position_interface::x_aligned_side)
107 (cautionary-style . parentheses)
109 (stencil . ,Accidental_interface::print)
110 (after-line-breaking . ,Accidental_interface::after_line_breaking)
113 (meta . ((class . Item)
114 (interfaces . (item-interface
116 break-aligned-interface
117 side-position-interface
124 (stencil . ,Note_head::print)
125 (glyph-name . ,note-head::calc-glyph-name)
127 (Y-offset . ,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 . ,Arpeggio::width)
138 (stencil . ,Arpeggio::print)
139 (Y-offset . ,Staff_symbol_referencer::callback)
140 (X-offset . ,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 . ,Bar_line::print)
160 (glyph-name . ,bar-line::calc-glyph-name)
161 (bar-size . ,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 linethickness 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 . ,Text_interface::print)
191 (break-visibility . ,begin-of-line-visible)
194 (font-family . roman)
196 (Y-offset . ,Side_position_interface::y_aligned_side)
198 (X-offset . ,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 . ,Text_interface::print)
215 (meta . ((class . Item)
216 (interfaces . (text-interface
217 rhythmic-grob-interface
218 bass-figure-interface
223 (stencil . ,Enclosing_bracket::print)
225 (edge-height . (0.2 . 0.2))
226 (meta . ((class . Item)
227 (interfaces . (enclosing-bracket-interface)) ))
229 (BassFigureContinuation
232 (stencil . ,Figured_bass_continuation::print)
234 (Y-offset . ,Figured_bass_continuation::center_on_figures)
235 (meta . ((class . Spanner)
236 (interfaces . (figured-bass-continuation-interface))
242 (Y-extent . ,Axis_group_interface::height)
244 (meta . ((class . Spanner)
245 (interfaces . (axis-group-interface
251 (threshold . (2 . 1000))
253 (positioning-done . ,Align_interface::calc_positioning_done)
254 (Y-extent . ,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 Beam::calc_least_squares_positions
272 Beam::shift_region_to_valid
276 ;; this is a hack to set stem lengths, if positions is set.
277 (quantized-positions . ,Beam::set_stem_lengths)
278 (concaveness . ,Beam::calc_concaveness)
279 (direction . ,Beam::calc_direction)
280 (shorten . ,Beam::calc_stem_shorten)
281 (beaming . ,Beam::calc_beaming)
282 (stencil . ,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 staffspace),
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
317 (positioning-done . ,Break_align_interface::calc_positioning_done)
318 (X-extent . ,Axis_group_interface::width)
320 (break-align-orders . ;; end of line
342 time-signature custos)
356 (meta . ((class . Item)
357 (interfaces . (break-alignment-interface
358 axis-group-interface))))))
364 (X-extent . ,Axis_group_interface::width)
366 (meta . ((class . Item)
367 (interfaces . (break-aligned-interface
368 axis-group-interface))))))
372 (break-align-symbol . breathing-sign)
375 (ambitus . (extra-space . 2.0))
376 (custos . (minimum-space . 1.0))
377 (key-signature . (minimum-space . 1.5))
378 (time-signature . (minimum-space . 1.5))
379 (staff-bar . (minimum-space . 1.5))
380 (clef . (minimum-space . 2.0))
381 (first-note . (fixed-space . 1.0)) ;huh?
382 (right-edge . (extra-space . 0.1))))
384 (stencil . ,Text_interface::print)
386 (text . ,(make-musicglyph-markup "scripts.rcomma"))
387 (Y-offset . ,Breathing_sign::offset_callback)
388 (break-visibility . ,begin-of-line-invisible)
389 (meta . ((class . Item)
390 (interfaces . (break-aligned-interface
391 breathing-sign-interface
398 (stencil . ,Clef::print)
399 (glyph-name . ,Clef::calc_glyph_name)
402 (font-family . music)
403 (break-align-symbol . clef)
404 (break-visibility . ,begin-of-line-visible)
405 (space-alist . ((ambitus . (extra-space . 2.0))
406 (staff-bar . (extra-space . 0.7))
407 (key-cancellation . (minimum-space . 3.5))
408 (key-signature . (minimum-space . 3.5))
409 (time-signature . (minimum-space . 4.2))
410 (first-note . (minimum-fixed-space . 5.0))
411 (next-note . (extra-space . 0.5))
412 (right-edge . (extra-space . 0.5))))
413 (Y-offset . ,Staff_symbol_referencer::callback)
414 (meta . ((class . Item)
415 (interfaces . (clef-interface
416 staff-symbol-referencer-interface
418 break-aligned-interface))))))
420 (ClusterSpannerBeacon
423 (Y-extent . ,Cluster_beacon::height)
425 (meta . ((class . Item)
426 (interfaces . (cluster-beacon-interface))))))
431 (springs-and-rods . ,Spanner::set_spacing_rods)
432 (stencil . ,Cluster::print)
435 (minimum-length . 0.0)
438 (meta . ((class . Spanner)
439 (interfaces . (cluster-interface))))))
444 (stencil . ,Text_interface::print)
445 (after-line-breaking . ,Chord_name::after_line_breaking)
450 (meta . ((class . Item)
451 (interfaces . (font-interface
452 rhythmic-grob-interface
460 (stencil . ,Text_interface::print)
462 (no-spacing-rods . #t)
463 (Y-offset . ,Side_position_interface::y_aligned_side)
464 (X-offset . ,Self_alignment_interface::x_aligned_on_self)
467 (staff-padding . 0.5)
468 (script-priority . 200)
469 ;; todo: add X self alignment?
473 (meta . ((class . Item)
474 (interfaces . (text-script-interface
476 side-position-interface
481 (break-align-symbol . custos)
484 (stencil . ,Custos::print)
486 (break-visibility . ,end-of-line-visible)
488 (neutral-direction . ,DOWN)
489 (Y-offset . ,Staff_symbol_referencer::callback)
491 (first-note . (minimum-fixed-space . 0.0))
492 (right-edge . (extra-space . 0.1))))
493 (meta . ((class . Item)
496 staff-symbol-referencer-interface
498 break-aligned-interface))))))
505 (positioning-done . ,Dot_column::calc_positioning_done)
506 (X-extent . ,Axis_group_interface::width)
508 (X-offset . ,Dot_column::side_position)
509 (meta . ((class . Item)
510 (interfaces . (dot-column-interface
511 axis-group-interface))))))
516 (stencil . ,Dots::print)
519 (meta . ((class . Item)
520 (interfaces . (font-interface
521 staff-symbol-referencer-interface
526 (stencil . ,Percent_repeat_item_interface::double_percent)
529 (font-encoding . fetaMusic)
532 (break-align-symbol . staff-bar)
533 (break-visibility . ,begin-of-line-invisible)
534 (meta . ((class . Item)
535 (interfaces . (font-interface
536 break-aligned-interface
537 percent-repeat-interface))))))
539 (DoublePercentRepeatCounter
542 (stencil . ,Text_interface::print)
543 (X-offset . ,(ly:make-simple-closure `(,+ ,(ly:make-simple-closure (list Self_alignment_interface::centered_on_y_parent))
544 ,(ly:make-simple-closure (list Self_alignment_interface::x_aligned_on_self)))))
545 (Y-offset . ,Side_position_interface::y_aligned_side)
546 (font-encoding . fetaNumber)
547 (self-alignment-X . 0)
551 (staff-padding . 0.25)
553 (meta . ((class . Item)
554 (interfaces . (side-position-interface
555 self-alignment-interface
556 percent-repeat-interface
562 (Y-offset . ,Side_position_interface::y_aligned_side)
563 (staff-padding . 0.1)
565 (avoid-slur . outside)
567 (minimum-space . 1.2)
571 (Y-extent . ,Axis_group_interface::height)
572 (X-extent . ,Axis_group_interface::width)
575 (meta . ((class . Spanner)
576 (interfaces . (axis-group-interface
578 dynamic-line-spanner-interface
579 side-position-interface))))))
586 (stencil . ,Text_interface::print)
587 (direction . ,Script_interface::calc_direction)
589 (X-offset . ,Self_alignment_interface::x_aligned_on_self)
590 (self-alignment-X . 0)
591 (Y-offset . ,Self_alignment_interface::y_aligned_on_self)
592 (self-alignment-Y . 0)
594 (font-encoding . fetaDynamic)
595 (font-shape . italic)
596 (avoid-slur . around)
597 (no-spacing-rods . #t)
598 (script-priority . 100)
599 (meta . ((class . Item)
600 (interfaces . (font-interface
602 self-alignment-interface
604 script-interface))))))
609 (stencil . ,Dynamic_text_spanner::print)
611 ;; rather ugh with NCSB
612 ;; (font-series . bold)
613 (font-shape . italic)
614 (style . dashed-line)
616 ;; need to blend with dynamic texts.
618 (bound-padding . 0.75)
619 (dash-fraction . 0.2)
621 (meta . ((class . Spanner)
622 (interfaces . (font-interface
625 dynamic-text-spanner-interface
626 spanner-interface))))))
631 ;; sync with TextScript (?)
634 (avoid-slur . around)
636 (staff-padding . 0.5)
637 (self-alignment-X . 0)
638 (self-alignment-Y . 0)
639 (script-priority . 100)
641 (stencil . ,Text_interface::print)
642 (direction . ,Script_interface::calc_direction)
644 (font-encoding . fetaNumber)
645 (font-size . -5) ; don't overlap when next to heads.
646 (meta . ((class . Item)
647 (interfaces . (finger-interface
649 text-script-interface
651 side-position-interface
652 self-alignment-interface
658 (zigzag-width . 0.75)
663 (stencil . ,Line_spanner::print)
664 (after-line-breaking . ,Line_spanner::after_line_breaking)
667 (meta . ((class . Spanner)
668 (interfaces . (line-interface
669 line-spanner-interface))))))
675 (meta . ((class . Item)
676 (interfaces . (grid-point-interface))))))
681 (X-extent . ,Grid_line_interface::width)
682 (stencil . ,Grid_line_interface::print)
684 (self-alignment-X . ,CENTER)
685 (X-offset . ,(ly:make-simple-closure
686 `(,+ ,(ly:make-simple-closure (list Self_alignment_interface::centered_on_x_parent))
687 ,(ly:make-simple-closure (list Self_alignment_interface::x_aligned_on_self)))))
689 (meta . ((class . Item)
690 (interfaces . (self-alignment-interface
691 grid-line-interface))))))
697 (stencil . ,Hairpin::print)
698 (springs-and-rods . ,Spanner::set_spacing_rods)
699 (after-line-breaking . ,Hairpin::after_line_breaking)
703 (minimum-length . 2.0)
704 (bound-padding . 1.0)
705 (self-alignment-Y . 0)
706 (Y-offset . ,Self_alignment_interface::y_aligned_on_self)
707 (meta . ((class . Spanner)
708 (interfaces . (hairpin-interface
710 self-alignment-interface
712 spanner-interface))))))
717 (stencil . ,Horizontal_bracket::print)
718 (Y-offset . ,Side_position_interface::y_aligned_side)
720 (staff-padding . 0.2)
723 (bracket-flare . (0.5 . 0.5))
724 (meta . ((class . Spanner)
725 (interfaces . (horizontal-bracket-interface
726 side-position-interface
728 spanner-interface))))))
732 (Y-offset . ,(ly:make-simple-closure `(,+ ,(ly:make-simple-closure (list Self_alignment_interface::y_aligned_on_self))
733 ,(ly:make-simple-closure (list Side_position_interface::y_aligned_on_support_refpoints)))))
735 ;; This direction is for aligned_on_support_refpoints
737 (direction . ,CENTER)
739 (left-edge . (extra-space . 1.0))))
741 (self-alignment-Y . 0)
742 (stencil . ,Text_interface::print)
743 (break-align-symbol . instrument-name)
744 (break-visibility . ,begin-of-line-visible)
747 (meta . ((class . Item)
748 (interfaces . (font-interface
749 self-alignment-interface
750 side-position-interface
752 break-aligned-interface))))))
757 (stencil . ,Key_signature_interface::print)
760 (time-signature . (extra-space . 1.25))
761 (staff-bar . (extra-space . 0.6))
762 (key-signature . (extra-space . 0.5))
763 (right-edge . (extra-space . 0.5))
764 (first-note . (fixed-space . 2.5))))
765 (Y-offset . ,Staff_symbol_referencer::callback)
766 (break-align-symbol . key-cancellation)
767 (break-visibility . ,begin-of-line-invisible)
770 (meta . ((class . Item)
771 (interfaces . (key-signature-interface
773 break-aligned-interface))))))
777 (stencil . ,Key_signature_interface::print)
780 (time-signature . (extra-space . 1.15))
781 (staff-bar . (extra-space . 1.1))
782 (right-edge . (extra-space . 0.5))
783 (first-note . (fixed-space . 2.5))))
784 (Y-offset . ,Staff_symbol_referencer::callback)
785 (break-align-symbol . key-signature)
786 (break-visibility . ,begin-of-line-visible)
789 (meta . ((class . Item)
790 (interfaces . (key-signature-interface
792 break-aligned-interface))))))
796 (stencil . ,Tie::print)
797 (control-points . ,Laissez_vibrer_tie::calc_control_points)
798 (direction . ,Laissez_vibrer_tie::calc_direction)
800 (details . ((ratio . 0.333)
801 (height-limit . 1.0)))
803 (meta . ((class . Item)
804 (interfaces . (laissez-vibrer-tie-interface))
808 (LaissezVibrerTieColumn
812 (positioning-done . ,Laissez_vibrer_tie_column::calc_positioning_done)
813 (meta . ((class . Item)
814 (interfaces . (laissez-vibrer-tie-column-interface))
821 (springs-and-rods . ,Ledger_line_spanner::set_spacing_rods)
823 (stencil . ,Ledger_line_spanner::print)
827 (minimum-length-fraction . 0.25)
828 (length-fraction . 0.25)
830 (meta . ((class . Spanner)
831 (interfaces . (ledger-line-interface))))))
835 (break-align-symbol . left-edge)
838 (break-visibility . ,center-invisible)
840 (custos . (extra-space . 0.0))
841 (ambitus . (extra-space . 2.0))
842 (time-signature . (extra-space . 1.0))
843 (staff-bar . (extra-space . 0.0))
844 (breathing-sign . (minimum-space . 0.0))
845 (clef . (extra-space . 0.8))
846 (first-note . (fixed-space . 2.0))
847 (right-edge . (extra-space . 0.0))
848 (key-signature . (extra-space . 0.0))
849 (key-cancellation . (extra-space . 0.0))
851 (meta . ((class . Item)
852 (interfaces . (break-aligned-interface))))))
856 ;; ugh. A ligature bracket is totally different from
861 (edge-height . (0.7 . 0.7))
862 (shorten-pair . (-0.2 . -0.2))
864 (positions . ,Tuplet_bracket::calc_positions)
865 (stencil . ,Tuplet_bracket::print)
867 (meta . ((class . Spanner)
868 (interfaces . (tuplet-bracket-interface
877 (minimum-length . 0.3)
878 (minimum-distance . 0.1)
880 (springs-and-rods . ,Hyphen_spanner::set_spacing_rods)
882 (stencil . ,Hyphen_spanner::print)
885 (meta . ((class . Spanner)
886 (interfaces . (lyric-interface
888 lyric-hyphen-interface
889 spanner-interface))))))
894 (stencil . ,Lyric_extender::print)
896 (thickness . 0.8) ; linethickness
897 (minimum-length . 1.5)
899 (meta . ((class . Spanner)
900 (interfaces . (lyric-interface
901 lyric-extender-interface))))))
904 . ((minimum-distance . 0.3)
905 (springs-and-rods . ,Hyphen_spanner::set_spacing_rods)
909 (meta . ((class . Spanner)
910 (interfaces . (spanner-interface
911 lyric-hyphen-interface spacing-interface))
917 (stencil . ,Text_interface::print)
919 (X-offset . ,Self_alignment_interface::aligned_on_x_parent)
920 (self-alignment-X . 0)
922 (font-series . bold-narrow)
924 (meta . ((class . Item)
925 (interfaces . (rhythmic-grob-interface
926 lyric-syllable-interface
927 self-alignment-interface
934 (Y-offset . ,Side_position_interface::y_aligned_side)
937 (stencil . ,Measure_grouping::print)
944 (meta . ((class . Spanner)
945 (interfaces . (side-position-interface
946 measure-grouping-interface))))))
950 (neutral-direction . ,DOWN)
951 (meta . ((class . Item)
952 (interfaces . (melody-spanner-interface spacing-interface))))))
957 (stencil . ,Mensural_ligature::print)
959 (meta . ((class . Spanner)
960 (interfaces . (mensural-ligature-interface
966 (stencil . ,Text_interface::print)
968 (Y-offset . ,Side_position_interface::y_aligned_side)
972 (meta . ((class . Item)
973 (interfaces . (text-interface
974 side-position-interface
976 metronome-mark-interface))))))
981 (stencil . ,Multi_measure_rest::print)
982 (springs-and-rods . ,Multi_measure_rest::set_spacing_rods)
983 (Y-offset . ,Staff_symbol_referencer::callback)
986 (thick-thickness . 6.6)
987 (hair-thickness . 2.0)
989 (meta . ((class . Spanner)
990 (interfaces . (multi-measure-rest-interface
991 multi-measure-interface
994 staff-symbol-referencer-interface))))))
997 (MultiMeasureRestNumber
999 (springs-and-rods . ,Multi_measure_rest::set_spacing_rods)
1000 (stencil . ,Text_interface::print)
1001 (X-offset . ,(ly:make-simple-closure
1002 `(,+ ,(ly:make-simple-closure (list Self_alignment_interface::x_aligned_on_self))
1003 ,(ly:make-simple-closure (list Self_alignment_interface::x_centered_on_y_parent)))))
1004 (Y-offset . ,Side_position_interface::y_aligned_side)
1007 (self-alignment-X . 0)
1010 (staff-padding . 0.4)
1011 (font-encoding . fetaNumber)
1012 (meta . ((class . Spanner)
1013 (interfaces . (side-position-interface
1014 multi-measure-interface
1015 self-alignment-interface
1020 (MultiMeasureRestText
1022 (stencil . ,Text_interface::print)
1023 (X-offset . ,(ly:make-simple-closure
1024 `(,+ ,(ly:make-simple-closure (list Self_alignment_interface::x_centered_on_y_parent))
1025 ,(ly:make-simple-closure (list Self_alignment_interface::x_aligned_on_self)))))
1027 (Y-offset . ,Side_position_interface::y_aligned_side)
1028 (self-alignment-X . 0)
1031 (staff-padding . 0.25)
1032 (meta . ((class . Spanner)
1033 (interfaces . (side-position-interface
1034 multi-measure-interface
1035 self-alignment-interface
1037 text-interface))))))
1043 (X-extent . ,Axis_group_interface::width)
1044 (Y-extent . ,Axis_group_interface::height)
1045 (positioning-done . ,Note_collision_interface::calc_positioning_done)
1047 (meta . ((class . Item)
1048 (interfaces . (note-collision-interface
1049 axis-group-interface))))))
1054 (X-extent . ,Axis_group_interface::width)
1055 (Y-extent . ,Axis_group_interface::height)
1057 (meta . ((class . Item)
1058 (interfaces . (axis-group-interface
1059 note-column-interface))))))
1064 (stencil . ,Note_head::print)
1065 (stem-attachment . ,Note_head::calc_stem_attachment)
1066 (glyph-name . ,note-head::calc-glyph-name)
1067 (Y-offset . ,Staff_symbol_referencer::callback)
1068 (X-offset . ,Note_head::stem_x_shift)
1069 (meta . ((class . Item)
1070 (interfaces . (rhythmic-grob-interface
1071 rhythmic-head-interface
1075 staff-symbol-referencer-interface))))))
1079 (stem-spacing-correction . 0.5)
1080 (same-direction-correction . 0.25)
1081 ;; Changed this from 0.75.
1082 ;; If you ever change this back, please document! --hwn
1083 (knee-spacing-correction . 1.0)
1085 (meta . ((class . Item)
1086 (interfaces . (spacing-interface
1087 note-spacing-interface))))))
1092 (stencil . ,Text_interface::print)
1094 (meta . ((class . Item)
1095 (interfaces . (note-name-interface
1097 font-interface))))))
1101 (self-alignment-X . 0)
1102 (break-visibility . ,begin-of-line-visible)
1103 (X-offset . ,(ly:make-simple-closure
1104 `(,+ ,(ly:make-simple-closure (list Self_alignment_interface::x_aligned_on_self))
1105 ,(ly:make-simple-closure (list Self_alignment_interface::centered_on_x_parent)))))
1107 (Y-offset . ,Side_position_interface::y_aligned_side)
1109 (stencil . ,Text_interface::print)
1112 ;; no Y dimensions, because of lyrics under tenor clef.
1113 (Y-extent . (0 . 0))
1114 (font-shape . italic)
1116 (staff-padding . 0.2)
1118 (meta . ((class . Item)
1119 (interfaces . (text-interface
1120 self-alignment-interface
1121 side-position-interface
1122 font-interface))))))
1126 (Y-offset . ,Side_position_interface::y_aligned_side)
1128 (stencil . ,Ottava_bracket::print)
1130 (font-shape . italic)
1131 (shorten-pair . (0.0 . -0.6))
1132 (staff-padding . 1.0)
1134 (minimum-length . 1.0)
1135 (dash-fraction . 0.3)
1136 (edge-height . (0 . 1.2))
1138 (meta . ((class . Spanner)
1139 (interfaces . (ottava-bracket-interface
1140 horizontal-bracket-interface
1142 side-position-interface
1144 text-interface))))))
1150 (before-line-breaking . ,Paper_column::before_line_breaking)
1151 ;; (stencil . ,Paper_column::print)
1152 (X-extent . ,Axis_group_interface::width)
1156 ;; (font-size . -6) (font-name . "sans") (Y-extent . #f)
1157 (meta . ((class . Paper_column)
1158 (interfaces . (paper-column-interface
1159 axis-group-interface
1160 spaceable-grob-interface))))))
1163 . ((details . ,default-slur-details)
1165 (control-points . ,Slur::calc_control_points)
1166 (direction . ,Slur::calc_direction)
1167 (springs-and-rods . ,Spanner::set_spacing_rods)
1168 (Y-extent . ,Slur::height)
1169 (stencil . ,Slur::print)
1173 (minimum-length . 1.5)
1174 (height-limit . 2.0)
1176 (meta . ((class . Spanner)
1177 (interfaces . (slur-interface))))))
1179 (NonMusicalPaperColumn
1183 (before-line-breaking . ,Paper_column::before_line_breaking)
1184 (X-extent . ,Axis_group_interface::width)
1185 ;; (stencil . ,Paper_column::print)
1189 ;; debugging stuff: print column number.
1190 ;; (font-size . -6) (font-name . "sans") (Y-extent . #f)
1192 (meta . ((class . Paper_column)
1193 (interfaces . (paper-column-interface
1194 axis-group-interface
1195 spaceable-grob-interface))))))
1200 (springs-and-rods . ,Multi_measure_rest::set_spacing_rods)
1201 (stencil . ,Multi_measure_rest::percent)
1205 (font-encoding . fetaMusic)
1206 (meta . ((class . Spanner)
1207 (interfaces . (multi-measure-rest-interface
1209 percent-repeat-interface))))))
1210 (PercentRepeatCounter
1212 (stencil . ,Text_interface::print)
1213 (X-offset . ,(ly:make-simple-closure
1214 `(,+ ,(ly:make-simple-closure (list Self_alignment_interface::x_centered_on_y_parent))
1215 ,(ly:make-simple-closure (list Self_alignment_interface::x_aligned_on_self)))))
1216 (Y-offset . ,Side_position_interface::y_aligned_side)
1217 (self-alignment-X . 0)
1220 (staff-padding . 0.25)
1222 (font-encoding . fetaNumber)
1223 (meta . ((class . Spanner)
1224 (interfaces . (side-position-interface
1225 self-alignment-interface
1226 percent-repeat-interface
1228 text-interface))))))
1230 ;; an example of a text spanner
1234 (stencil . ,Piano_pedal_bracket::print)
1237 (bound-padding . 1.0)
1239 (bracket-flare . (0.5 . 0.5))
1240 (edge-height . (1.0 . 1.0))
1241 (shorten-pair . (0.0 . 0.0))
1243 (meta . ((class . Spanner)
1244 (interfaces . (line-interface
1245 piano-pedal-interface
1246 piano-pedal-bracket-interface))))))
1250 (stencil . ,Text_interface::print)
1251 (X-offset . ,(ly:make-simple-closure
1252 `(,+ ,(ly:make-simple-closure
1253 `(,Self_alignment_interface::x_aligned_on_self))
1254 ,(ly:make-simple-closure
1255 `(,Self_alignment_interface::centered_on_x_parent)))
1257 (Y-offset . ,Side_position_interface::y_aligned_side)
1258 (self-alignment-X . 0)
1263 (break-visibility . ,end-of-line-invisible)
1265 (meta . ((class . Item)
1266 (interfaces . (text-interface
1267 side-position-interface
1270 self-alignment-interface))))))
1276 (stencil . ,Percent_repeat_item_interface::beat_slash)
1280 (meta . ((class . Item)
1281 (interfaces . (percent-repeat-interface))))))
1284 (stencil . ,Rest::print)
1285 (X-extent . ,Rest::width)
1286 (Y-extent . ,Rest::height)
1287 (Y-offset . ,Rest::y_offset_callback)
1288 (minimum-distance . 0.25)
1289 (meta . ((class . Item)
1290 (interfaces . (font-interface
1291 rhythmic-head-interface
1292 rhythmic-grob-interface
1293 staff-symbol-referencer-interface
1294 rest-interface))))))
1298 (minimum-distance . 0.75)
1299 (positioning-done . ,Rest_collision::calc_positioning_done)
1301 (meta . ((class . Item)
1302 (interfaces . (rest-collision-interface))))))
1306 ;; don't set direction here: it breaks staccato.
1308 ;; This value is sensitive: if too large, staccato dots will move a
1311 (staff-padding . 0.25)
1312 ;; (script-priority . 0) priorities for scripts, see script.scm
1313 (X-offset . , Self_alignment_interface::centered_on_x_parent)
1316 (stencil . ,Script_interface::print)
1317 (direction . ,Script_interface::calc_direction)
1319 (font-encoding . fetaMusic)
1320 (meta . ((class . Item)
1321 (interfaces . (script-interface
1322 side-position-interface
1323 font-interface))))))
1328 (before-line-breaking . ,Script_column::before_line_breaking)
1330 (meta . ((class . Item)
1331 (interfaces . (script-column-interface))))))
1337 (meta . ((class . Item)
1338 (interfaces . (spacing-interface
1339 separation-item-interface))))))
1341 (SeparatingGroupSpanner
1344 (springs-and-rods . ,Separating_group_spanner::set_spacing_rods)
1346 (meta . ((class . Spanner)
1347 (interfaces . (only-prebreak-interface
1349 separation-spanner-interface))))))
1352 . ((details . ,default-slur-details)
1354 (control-points . ,Slur::calc_control_points)
1355 (direction . ,Slur::calc_direction)
1356 (springs-and-rods . ,Spanner::set_spacing_rods)
1357 (Y-extent . ,Slur::height)
1358 (stencil . ,Slur::print)
1361 (minimum-length . 1.5)
1363 (height-limit . 2.0)
1365 (meta . ((class . Spanner)
1366 (interfaces . (slur-interface))))))
1371 (springs-and-rods . ,Spacing_spanner::set_springs)
1372 (average-spacing-wishes . #t)
1373 (grace-space-factor . 0.6)
1374 (shortest-duration-space . 2.0)
1375 (spacing-increment . 1.2)
1376 (base-shortest-duration . ,(ly:make-moment 3 16))
1377 (meta . ((class . Spanner)
1378 (interfaces . (spacing-interface
1379 spacing-spanner-interface))))))
1383 (break-align-symbol . staff-bar)
1388 (stencil . ,Span_bar::print)
1389 (bar-size . ,Span_bar::calc_bar_size)
1390 (X-extent . ,Span_bar::width)
1391 (glyph-name . ,Span_bar::calc_glyph_name)
1392 (before-line-breaking . ,Span_bar::before_line_breaking)
1397 ;; Ross. page 151 lists other values, we opt for a leaner look
1401 (hair-thickness . 1.6)
1402 (thick-thickness . 6.0)
1403 (meta . ((class . Item)
1404 (interfaces . (span-bar-interface
1406 bar-line-interface))))))
1410 (stencil . ,Text_interface::print)
1412 (font-series . bold)
1414 (X-offset . ,Side_position_interface::x_aligned_side)
1417 (meta . ((class . Item)
1418 (interfaces . (side-position-interface
1419 stanza-number-interface
1421 font-interface))))))
1426 (stencil . ,print-circled-text-callback)
1429 (staff-padding . 0.5)
1430 (self-alignment-X . 0)
1431 (self-alignment-Y . 0)
1432 (script-priority . 100)
1433 (font-encoding . fetaNumber)
1434 (font-size . -5) ; don't overlap when next to heads.
1435 (meta . ((class . Item)
1436 (interfaces . (string-number-interface
1438 text-script-interface
1440 side-position-interface
1441 self-alignment-interface
1442 item-interface))))))
1447 (stem-spacing-correction . 0.4)
1448 (meta . ((class . Item)
1449 (interfaces . (spacing-interface
1450 staff-spacing-interface))))))
1455 (stencil . ,Text_interface::print)
1457 (direction . ,RIGHT)
1458 (X-offset . ,Self_alignment_interface::x_aligned_on_self)
1459 (no-spacing-rods . #t)
1460 (padding . 0.0) ;; padding relative to SostenutoPedalLineSpanner
1461 (font-shape . italic)
1462 (self-alignment-X . 0)
1463 (meta . ((class . Item)
1464 (interfaces . (text-interface
1465 self-alignment-interface
1466 font-interface))))))
1468 (SostenutoPedalLineSpanner
1472 (X-extent . ,Axis_group_interface::height)
1474 (Y-offset . ,Side_position_interface::y_aligned_side)
1478 (minimum-space . 1.0)
1480 (meta . ((class . Spanner)
1481 (interfaces . (piano-pedal-interface
1482 axis-group-interface
1483 side-position-interface))))))
1487 (Y-extent . ,Staff_symbol::height)
1488 (stencil . ,Staff_symbol::print)
1490 (ledger-line-thickness . (1.0 . 0.1))
1492 (meta . ((class . Spanner)
1493 (interfaces . (staff-symbol-interface))))))
1497 (direction . ,Stem::calc_direction)
1498 (default-direction . ,Stem::calc_default_direction)
1499 (stem-end-position . ,Stem::calc_stem_end_position)
1500 (stem-info . ,Stem::calc_stem_info)
1501 (positioning-done . ,Stem::calc_positioning_done)
1502 (stencil . ,Stem::print)
1503 (X-extent . ,Stem::width)
1504 (Y-extent . ,Stem::height)
1505 (length . ,Stem::calc_length)
1511 ;; 3.5 (or 3 measured from note head) is standard length
1512 ;; 32nd, 64th flagged stems should be longer
1513 (lengths . (3.5 3.5 3.5 4.5 5.0))
1515 ;; FIXME. 3.5 yields too long beams (according to Ross and
1516 ;; looking at Baerenreiter examples) for a number of common
1517 ;; boundary cases. Subtracting half a beam thickness fixes
1518 ;; this, but the bug may well be somewhere else.
1520 ;; FIXME this should come from 'lengths
1521 (beamed-lengths . (3.26 3.5 3.6))
1523 ;; The 'normal' minima
1524 (beamed-minimum-free-lengths . (1.83 1.5 1.25))
1525 ;(beamed-minimum-free-lengths . (2.0 1.83 1.25))
1527 ;; The 'extreme case' minima
1528 (beamed-extreme-minimum-free-lengths . (2.0 1.25))
1530 ;; Stems in unnatural (forced) direction should be shortened by
1531 ;; one staff space, according to [Roush & Gourlay].
1532 ;; Flagged stems we shorten only half a staff space.
1533 (stem-shorten . (1.0 0.5))
1538 ;; default stem direction for note on middle line
1539 (neutral-direction . ,DOWN)
1541 ;; We use the normal minima as minimum for the ideal lengths,
1542 ;; and the extreme minima as abolute minimum length.
1544 (X-offset . ,Stem::offset_callback)
1545 (Y-offset . ,Staff_symbol_referencer::callback)
1546 (meta . ((class . Item)
1547 (interfaces . (stem-interface
1548 font-interface))))))
1552 (Y-extent . ,Stem_tremolo::height)
1553 (stencil . ,Stem_tremolo::print)
1555 (beam-width . 1.6) ; staff-space
1556 (beam-thickness . 0.48) ; staff-space
1557 (meta . ((class . Item)
1558 (interfaces . (stem-tremolo-interface))))))
1562 (no-spacing-rods . #t)
1563 (stencil . ,Sustain_pedal::print)
1564 (self-alignment-X . 0)
1565 (direction . ,RIGHT)
1566 (padding . 0.0) ;; padding relative to SustainPedalLineSpanner
1567 (X-offset . ,Self_alignment_interface::x_aligned_on_self)
1568 (meta . ((class . Item)
1569 (interfaces . (piano-pedal-interface
1570 text-spanner-interface
1572 self-alignment-interface
1573 font-interface))))))
1575 (SustainPedalLineSpanner
1578 (X-extent . ,Axis_group_interface::height)
1579 (Y-offset . ,Side_position_interface::y_aligned_side)
1582 (staff-padding . 1.2)
1583 (minimum-space . 1.0)
1585 (meta . ((class . Spanner)
1586 (interfaces . (piano-pedal-interface
1587 axis-group-interface
1588 side-position-interface))))))
1593 (X-extent . ,Axis_group_interface::width)
1594 (Y-extent . ,Axis_group_interface::height)
1595 (meta . ((class . System)
1596 (interfaces . (system-interface
1597 axis-group-interface))))))
1603 (stencil . ,System_start_delimiter::print)
1604 (collapse-height . 5.0)
1605 (X-offset . ,Side_position_interface::x_aligned_side)
1607 (font-encoding . fetaBraces)
1609 (meta . ((class . Spanner)
1610 (interfaces . (system-start-delimiter-interface
1611 side-position-interface
1612 font-interface))))))
1617 (X-offset . ,Side_position_interface::x_aligned_side)
1619 (stencil . ,System_start_delimiter::print)
1620 (style . line-bracket)
1622 (meta . ((class . Spanner)
1623 (interfaces . (font-interface
1624 side-position-interface
1625 system-start-delimiter-interface))))))
1630 (X-offset . ,Side_position_interface::x_aligned_side)
1632 (stencil . ,System_start_delimiter::print)
1634 (collapse-height . 5.0)
1636 (meta . ((class . Spanner)
1637 (interfaces . (font-interface
1638 side-position-interface
1639 system-start-delimiter-interface))))))
1645 (X-offset . ,Side_position_interface::x_aligned_side)
1649 (stencil . ,System_start_delimiter::print)
1650 (meta . ((class . Spanner)
1651 (interfaces . (side-position-interface
1652 system-start-delimiter-interface))))))
1658 (stencil . ,Text_interface::print)
1659 (Y-offset . ,Staff_symbol_referencer::callback)
1661 (stem-attachment . (1.0 . 1.35))
1662 (font-series . bold)
1663 (meta . ((class . Item)
1665 . (rhythmic-head-interface
1666 font-interface rhythmic-grob-interface
1668 staff-symbol-referencer-interface
1669 text-interface))))))
1673 (no-spacing-rods . #t)
1674 (X-offset . ,Self_alignment_interface::x_aligned_on_self)
1677 ;; sync with Fingering ?
1679 (staff-padding . 0.5)
1681 (stencil . ,Text_interface::print)
1682 (direction . ,Script_interface::calc_direction)
1684 (avoid-slur . around)
1685 (slur-padding . 0.5)
1686 (script-priority . 200)
1687 ;; todo: add X self alignment?
1688 (meta . ((class . Item)
1689 (interfaces . (text-script-interface
1691 side-position-interface
1692 font-interface))))))
1696 (stencil . ,Text_spanner::print)
1697 (Y-offset . ,Side_position_interface::y_aligned_side)
1698 (font-shape . italic)
1699 (style . dashed-line)
1700 (staff-padding . 0.8)
1701 (dash-fraction . 0.2)
1705 (meta . ((class . Spanner)
1706 (interfaces . (text-spanner-interface
1707 side-position-interface
1708 font-interface))))))
1712 (control-points . ,Tie::calc_control_points)
1713 (avoid-slur . inside)
1714 (direction . ,Tie::calc_direction)
1715 (stencil . ,Tie::print)
1717 ;; for a full list, see tie-helper.cc
1719 (center-staff-line-clearance . 0.6)
1720 (tip-staff-line-clearance . 0.45)
1721 (note-head-gap . 0.2)
1723 (height-limit . 1.0)
1724 (horizontal-distance-penalty-factor . 10)
1725 (tie-tie-collision-distance . 0.45)
1726 (tie-tie-collision-penalty . 25.0)
1727 (intra-space-threshold . 1.25)
1728 (outer-tie-vertical-distance-symmetry-penalty-factor . 10)
1729 (outer-tie-length-symmetry-penalty-factor . 10)
1730 (between-length-limit . 1.0)))
1732 (meta . ((class . Spanner)
1733 (interfaces . (tie-interface))))
1738 (positioning-done . ,Tie_column::calc_positioning_done)
1739 (before-line-breaking . ,Tie_column::before_line_breaking)
1742 (meta . ((class . Spanner)
1743 (interfaces . (tie-column-interface))))))
1747 (stencil . ,Time_signature::print)
1748 (break-align-symbol . time-signature)
1749 (break-visibility . ,all-visible)
1751 (first-note . (fixed-space . 2.0))
1752 (right-edge . (extra-space . 0.5))
1753 (staff-bar . (minimum-space . 2.0))))
1756 (meta . ((class . Item)
1757 (interfaces . (time-signature-interface
1758 break-aligned-interface
1759 font-interface))))))
1763 (stencil . ,Dynamic_text_spanner::print)
1764 (edge-text . ,(cons (make-musicglyph-markup "scripts.trill")
1767 (staff-padding . 1.0)
1770 (Y-offset . ,Side_position_interface::y_aligned_side)
1772 (meta . ((class . Spanner)
1773 (interfaces . (text-spanner-interface
1774 side-position-interface
1775 font-interface))))))
1777 (TrillPitchAccidental
1778 . ((X-offset . ,Side_position_interface::x_aligned_side)
1783 (stencil . ,Accidental_interface::print)
1784 (meta . ((class . Item)
1785 (interfaces . (item-interface
1786 accidental-interface
1787 side-position-interface
1788 font-interface))))))
1791 . ((X-offset . ,Side_position_interface::x_aligned_side)
1794 (stencil . ,parenthesize-elements)
1795 (direction . ,RIGHT)
1798 (meta . ((class . Item)
1799 (interfaces . (side-position-interface
1801 rhythmic-head-interface
1803 accidental-interface
1804 axis-group-interface))))))
1808 (stencil . ,Note_head::print)
1810 (Y-offset . ,Staff_symbol_referencer::callback)
1812 (meta . ((class . Item)
1813 (interfaces . (item-interface
1814 rhythmic-head-interface
1816 pitched-trill-interface
1818 staff-symbol-referencer-interface))))))
1824 (edge-height . (0.7 . 0.7))
1825 (shorten-pair . (-0.2 . -0.2))
1826 (staff-padding . 0.25)
1828 (direction . ,Tuplet_bracket::calc_direction)
1829 (positions . ,Tuplet_bracket::calc_positions)
1830 (connect-to-neighbor . ,Tuplet_bracket::calc_connect_to_neighbors)
1831 (control-points . ,Tuplet_bracket::calc_control_points)
1832 (stencil . ,Tuplet_bracket::print)
1834 (meta . ((class . Spanner)
1835 (interfaces . (line-interface
1836 tuplet-bracket-interface))))))
1840 (stencil . ,Tuplet_number::print)
1841 (font-shape . italic)
1843 (avoid-slur . inside)
1844 (meta . ((class . Spanner)
1845 (interfaces . (text-interface tuplet-number-interface
1846 font-interface))))))
1850 (stencil . ,Text_interface::print)
1851 (font-shape . italic)
1852 (no-spacing-rods . #t)
1853 (self-alignment-X . 0)
1854 (direction . ,RIGHT)
1855 (padding . 0.0) ;; padding relative to UnaCordaPedalLineSpanner
1856 (X-offset . ,Self_alignment_interface::x_aligned_on_self)
1857 (meta . ((class . Item)
1858 (interfaces . (text-interface
1859 self-alignment-interface
1860 font-interface))))))
1862 (UnaCordaPedalLineSpanner
1865 (X-extent . ,Axis_group_interface::height)
1866 (Y-offset . ,Side_position_interface::y_aligned_side)
1869 (staff-padding . 1.2)
1870 (minimum-space . 1.0)
1872 (meta . ((class . Spanner)
1873 (interfaces . (piano-pedal-interface
1874 axis-group-interface
1875 side-position-interface))))))
1881 (stencil . ,Vaticana_ligature::print)
1882 (meta . ((class . Spanner)
1883 (interfaces . (vaticana-ligature-interface
1884 font-interface))))))
1889 (positioning-done . ,Align_interface::calc_positioning_done)
1890 (after-line-breaking . ,Align_interface::stretch_after_break)
1891 (Y-extent . ,Axis_group_interface::height)
1892 (X-extent . ,Axis_group_interface::width)
1894 (meta . ((class . Spanner)
1895 (interfaces . (align-interface
1896 axis-group-interface))))))
1900 (Y-offset . ,Hara_kiri_group_spanner::force_hara_kiri_callback)
1901 (Y-extent . ,Hara_kiri_group_spanner::y_extent)
1902 (X-extent . ,Axis_group_interface::width)
1903 (meta . ((class . Spanner)
1904 (interfaces . (axis-group-interface
1905 hara-kiri-group-interface
1906 vertically-spaceable-interface))))))
1911 (Y-offset . ,Side_position_interface::y_aligned_on_support_refpoints)
1912 (direction . ,CENTER)
1913 (space-alist . ((left-edge . (extra-space . 1.0))))
1914 (break-align-symbol . instrument-name)
1915 (stencil . ,Text_interface::print)
1916 (break-align-symbol . clef)
1917 (break-visibility . ,begin-of-line-visible)
1920 (meta . ((class . Item)
1921 (interfaces . (font-interface
1922 self-alignment-interface
1923 side-position-interface
1925 break-aligned-interface))))))
1929 (stencil . ,Volta_bracket_interface::print)
1930 (after-line-breaking . ,Volta_bracket_interface::after_line_breaking)
1933 (font-encoding . fetaNumber)
1934 (Y-offset . ,Side_position_interface::y_aligned_side)
1936 (thickness . 1.6) ;; linethickness
1937 (edge-height . (2.0 . 2.0)) ;; staffspace;
1940 (meta . ((class . Spanner)
1941 (interfaces . (volta-bracket-interface
1942 horizontal-bracket-interface
1945 side-position-interface
1957 (stencil . ,Line_spanner::print)
1958 (after-line-breaking . ,Line_spanner::after_line_breaking)
1959 (meta . ((class . Spanner)
1960 (interfaces . (line-spanner-interface
1966 (define (completize-grob-entry x)
1967 "Transplant assoc key into 'name entry of 'meta of X. Set interfaces for Item, Spanner etc.
1969 ;; (display (car x))
1971 (let* ((name-sym (car x))
1972 (grob-entry (cdr x))
1973 (meta-entry (cdr (assoc 'meta grob-entry)))
1974 (class (cdr (assoc 'class meta-entry)))
1976 (cdr (assoc 'interfaces meta-entry))))
1980 (set! ifaces-entry (cons 'item-interface ifaces-entry)))
1981 ((eq? 'Spanner class)
1982 (set! ifaces-entry (cons 'spanner-interface ifaces-entry)))
1983 ((eq? 'Paper_column class)
1984 (set! ifaces-entry (cons 'item-interface
1985 (cons 'paper-column-interface ifaces-entry))))
1986 ((eq? 'System class)
1987 (set! ifaces-entry (cons 'system-interface
1988 (cons 'spanner-interface ifaces-entry))))
1990 (ly:warning "Unknown class ~a" class)))
1991 (set! ifaces-entry (cons 'grob-interface ifaces-entry))
1993 (set! meta-entry (assoc-set! meta-entry 'name name-sym))
1994 (set! meta-entry (assoc-set! meta-entry 'interfaces
1996 (set! grob-entry (assoc-set! grob-entry 'meta meta-entry))
1997 (cons name-sym grob-entry)))
1999 (set! all-grob-descriptions (map completize-grob-entry all-grob-descriptions))
2001 ;; (display (map pair? all-grob-descriptions))
2003 ;; make sure that \property Foo.Bar =\turnOff doesn't complain
2006 ;; (display (car x)) (newline)
2008 (set-object-property! (car x) 'translation-type? list?)
2009 (set-object-property! (car x) 'is-grob? #t))
2010 all-grob-descriptions)
2012 (set! all-grob-descriptions (sort all-grob-descriptions alist<?))