1 ;;;; This file is part of LilyPond, the GNU music typesetter.
3 ;;;; Copyright (C) 1998--2012 Han-Wen Nienhuys <hanwen@xs4all.nl>
4 ;;;; Jan Nieuwenhuizen <janneke@gnu.org>
6 ;;;; LilyPond is free software: you can redistribute it and/or modify
7 ;;;; it under the terms of the GNU General Public License as published by
8 ;;;; the Free Software Foundation, either version 3 of the License, or
9 ;;;; (at your option) any later version.
11 ;;;; LilyPond is distributed in the hope that it will be useful,
12 ;;;; but WITHOUT ANY WARRANTY; without even the implied warranty of
13 ;;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 ;;;; GNU General Public License for more details.
16 ;;;; You should have received a copy of the GNU General Public License
17 ;;;; along with LilyPond. If not, see <http://www.gnu.org/licenses/>.
19 ;;;; distances are given in line-thickness (thicknesses) and
20 ;;;; staff-space (distances)
22 ;;;; WARNING: the meta field should be the last one.
23 ;;;; WARNING: don't use anonymous functions for initialization.
25 ;; TODO: junk the meta field in favor of something more compact?
28 (define-session-public all-grob-descriptions
32 (alteration . ,accidental-interface::calc-alteration)
34 (glyph-name . ,accidental-interface::glyph-name)
35 (glyph-name-alist . ,standard-alteration-glyph-name-alist)
36 (stencil . ,ly:accidental-interface::print)
37 (horizontal-skylines . ,(ly:make-unpure-pure-container ly:accidental-interface::horizontal-skylines))
38 (vertical-skylines . ,grob::unpure-vertical-skylines-from-stencil)
39 (X-extent . ,ly:accidental-interface::width)
40 (Y-extent . ,accidental-interface::height)
41 (meta . ((class . Item)
42 (interfaces . (accidental-interface
43 inline-accidental-interface
48 (alteration . ,accidental-interface::calc-alteration)
50 (glyph-name-alist . ,standard-alteration-glyph-name-alist)
52 (stencil . ,ly:accidental-interface::print)
53 (Y-extent . ,accidental-interface::height)
54 (meta . ((class . Item)
55 (interfaces . (accidental-interface
56 inline-accidental-interface
62 (positioning-done . ,ly:accidental-placement::calc-positioning-done)
64 ;; this is quite small, but it is very ugly to have
65 ;; accs closer to the previous note than to the next one.
66 (right-padding . 0.15)
68 ;; for horizontally stacked scripts.
69 (script-priority . -100)
71 (X-extent . ,ly:axis-group-interface::width)
72 (meta . ((class . Item)
73 (interfaces . (accidental-placement-interface))))))
77 (alteration . ,accidental-interface::calc-alteration)
80 (glyph-name-alist . ,standard-alteration-glyph-name-alist)
81 (outside-staff-priority . 0)
83 (self-alignment-X . ,CENTER)
85 (staff-padding . 0.25)
86 (stencil . ,ly:accidental-interface::print)
87 (X-extent . ,ly:accidental-interface::width)
88 (X-offset . ,(ly:make-simple-closure
90 ,(ly:make-simple-closure
91 (list ly:self-alignment-interface::centered-on-x-parent))
92 ,(ly:make-simple-closure
93 (list ly:self-alignment-interface::x-aligned-on-self)))))
94 (Y-extent . ,accidental-interface::height)
95 (Y-offset . ,side-position-interface::y-aligned-side)
96 (meta . ((class . Item)
97 (interfaces . (accidental-interface
98 accidental-suggestion-interface
101 self-alignment-interface
102 side-position-interface))))))
107 (break-align-symbol . ambitus)
108 (break-visibility . ,begin-of-line-visible)
111 (cue-end-clef . (extra-space . 0.5))
112 (clef . (extra-space . 0.5))
113 (cue-clef . (extra-space . 0.5))
114 (key-signature . (extra-space . 0.0))
115 (staff-bar . (extra-space . 0.0))
116 (time-signature . (extra-space . 0.0))
117 (first-note . (fixed-space . 0.0))))
118 (X-extent . ,ly:axis-group-interface::width)
119 (Y-extent . ,axis-group-interface::height)
120 (meta . ((class . Item)
121 (object-callbacks . ((pure-Y-common . ,ly:axis-group-interface::calc-pure-y-common)
122 (pure-relevant-grobs . ,ly:axis-group-interface::calc-pure-relevant-grobs)))
123 (interfaces . (ambitus-interface
125 break-aligned-interface))))))
130 (glyph-name-alist . ,standard-alteration-glyph-name-alist)
133 (stencil . ,ly:accidental-interface::print)
134 (X-offset . ,ly:side-position-interface::x-aligned-side)
135 (Y-extent . ,accidental-interface::height)
136 (meta . ((class . Item)
137 (interfaces . (accidental-interface
138 break-aligned-interface
140 side-position-interface))))))
145 (stencil . ,ambitus::print)
147 (X-offset . ,ly:self-alignment-interface::centered-on-x-parent)
148 (meta . ((class . Item)
149 (interfaces . (ambitus-interface
155 (glyph-name . ,note-head::calc-glyph-name)
156 (stencil . ,ly:note-head::print)
157 (Y-offset . ,staff-symbol-referencer::callback)
158 (Y-extent . ,grob::always-Y-extent-from-stencil)
159 (meta . ((class . Item)
160 (interfaces . (ambitus-interface
164 rhythmic-head-interface
165 staff-symbol-referencer-interface))))))
169 (cross-staff . ,ly:arpeggio::calc-cross-staff)
172 (positions . ,ly:arpeggio::calc-positions)
174 (script-priority . 0)
176 (staff-position . 0.0)
177 (stencil . ,ly:arpeggio::print)
178 (X-extent . ,ly:arpeggio::width)
179 (Y-extent . ,(grob::unpure-Y-extent-from-stencil ly:arpeggio::pure-height))
180 (X-offset . ,ly:side-position-interface::x-aligned-side)
181 (Y-offset . ,staff-symbol-referencer::callback)
182 (meta . ((class . Item)
183 (interfaces . (arpeggio-interface
185 side-position-interface
186 staff-symbol-referencer-interface))))))
190 (annotation-balloon . #t)
191 (annotation-line . #t)
192 (extra-spacing-width . (+inf.0 . -inf.0))
193 (stencil . ,ly:balloon-interface::print)
194 (text . ,(grob::calc-property-by-copy 'text))
195 (X-offset . ,(grob::calc-property-by-copy 'X-offset))
196 (Y-offset . ,(grob::calc-property-by-copy 'Y-offset))
197 (Y-extent . ,grob::always-Y-extent-from-stencil)
198 (meta . ((class . Item)
199 (interfaces . (balloon-interface
205 (allow-span-bar . #t)
206 (bar-extent . ,ly:bar-line::calc-bar-extent)
207 (break-align-anchor . ,ly:bar-line::calc-anchor)
208 (break-align-symbol . staff-bar)
209 (break-visibility . ,bar-line::calc-break-visibility)
210 (extra-spacing-height . ,pure-from-neighbor-interface::account-for-span-bar)
213 (glyph-name . ,bar-line::calc-glyph-name)
216 ;; Ross. page 151 lists other values, we opt for a leaner look
219 ;; kern should scale with line-thickness too.
222 (hair-thickness . 1.9)
223 (thick-thickness . 6.0)
229 (time-signature . (extra-space . 0.75))
230 (custos . (minimum-space . 2.0))
231 (clef . (minimum-space . 1.0))
232 (key-signature . (extra-space . 1.0))
233 (key-cancellation . (extra-space . 1.0))
234 (first-note . (fixed-space . 1.3))
235 (next-note . (semi-fixed-space . 0.9))
236 (right-edge . (extra-space . 0.0))))
237 (stencil . ,ly:bar-line::print)
238 (Y-extent . ,grob::always-Y-extent-from-stencil)
239 (meta . ((class . Item)
240 (object-callbacks . ((pure-Y-common . ,ly:axis-group-interface::calc-pure-y-common)
241 (pure-relevant-grobs . ,ly:pure-from-neighbor-interface::calc-pure-relevant-grobs)))
242 (interfaces . (bar-line-interface
243 break-aligned-interface
245 pure-from-neighbor-interface))))))
249 (after-line-breaking . ,ly:side-position-interface::move-to-extremal-staff)
250 ;; want the bar number before the clef at line start.
251 (break-align-symbols . (left-edge staff-bar))
253 (break-visibility . ,begin-of-line-visible)
255 (extra-spacing-width . (+inf.0 . -inf.0))
256 (font-family . roman)
259 ;; w/o padding, bars numbers are not positioned over the staff as
260 ;; they are slightly to the left. so we add just a bit.
261 (horizon-padding . 0.05)
262 (outside-staff-priority . 100)
264 (self-alignment-X . ,RIGHT)
266 (stencil . ,ly:text-interface::print)
267 (X-offset . ,(ly:make-simple-closure
269 ,(ly:make-simple-closure
270 (list ly:break-alignable-interface::self-align-callback))
271 ,(ly:make-simple-closure
272 (list ly:self-alignment-interface::x-aligned-on-self)))))
273 (Y-offset . ,side-position-interface::y-aligned-side)
274 (Y-extent . ,grob::always-Y-extent-from-stencil)
277 (interfaces . (break-alignable-interface
279 self-alignment-interface
280 side-position-interface
285 (stencil . ,ly:text-interface::print)
286 (Y-extent . ,grob::always-Y-extent-from-stencil)
287 (meta . ((class . Item)
288 (interfaces . (bass-figure-interface
290 rhythmic-grob-interface
297 (positioning-done . ,ly:align-interface::align-to-minimum-distances)
298 (stacking-dir . ,DOWN)
299 (X-extent . ,ly:axis-group-interface::width)
300 (Y-extent . ,axis-group-interface::height)
301 (meta . ((class . Spanner)
302 (object-callbacks . ((pure-Y-common . ,ly:axis-group-interface::calc-pure-y-common)
303 (pure-relevant-grobs . ,ly:axis-group-interface::calc-pure-relevant-grobs)))
304 (interfaces . (align-interface
306 bass-figure-alignment-interface))))))
308 (BassFigureAlignmentPositioning
314 (staff-padding . 1.0)
315 (X-extent . ,ly:axis-group-interface::width)
316 (Y-extent . ,axis-group-interface::height)
317 (Y-offset . ,side-position-interface::y-aligned-side)
318 (meta . ((class . Spanner)
319 (object-callbacks . ((pure-Y-common . ,ly:axis-group-interface::calc-pure-y-common)
320 (pure-relevant-grobs . ,ly:axis-group-interface::calc-pure-relevant-grobs)))
321 (interfaces . (axis-group-interface
322 side-position-interface))))))
326 (edge-height . (0.2 . 0.2))
327 (stencil . ,ly:enclosing-bracket::print)
328 (X-extent . ,ly:enclosing-bracket::width)
329 (meta . ((class . Item)
330 (interfaces . (enclosing-bracket-interface))))))
332 (BassFigureContinuation
334 (stencil . ,ly:figured-bass-continuation::print)
335 (Y-offset . ,ly:figured-bass-continuation::center-on-figures)
336 (meta . ((class . Spanner)
337 (interfaces . (figured-bass-continuation-interface))))))
341 (adjacent-pure-heights . ,ly:axis-group-interface::adjacent-pure-heights)
343 (vertical-skylines . ,ly:axis-group-interface::calc-skylines)
344 (X-extent . ,ly:axis-group-interface::width)
345 (Y-extent . ,axis-group-interface::height)
346 (meta . ((class . Spanner)
347 (object-callbacks . ((pure-Y-common . ,ly:axis-group-interface::calc-pure-y-common)
348 (pure-relevant-grobs . ,ly:axis-group-interface::calc-pure-relevant-grobs)))
349 (interfaces . (axis-group-interface))))))
354 ;; todo: clean this up a bit: the list is getting
356 (auto-knee-gap . 5.5)
357 (beam-segments . ,ly:beam::calc-beam-segments)
358 (beam-thickness . 0.48) ; in staff-space
360 ;; We have some unreferenced problems here.
362 ;; If we shorten beamed stems less than normal stems (1 staff-space),
363 ;; or high order less than 8th beams, patterns like
364 ;; c''4 [c''8 c''] c''4 [c''16 c]
365 ;; are ugly (different stem lengths).
367 ;; But if we shorten 16th beams as much as 8th beams, a single
368 ;; forced 16th beam looks *very* short.
370 ;; We choose to shorten 8th beams the same as single stems,
371 ;; and high order beams less than 8th beams, so that all
372 ;; isolated shortened beams look nice and a bit shortened,
373 ;; sadly possibly breaking patterns with high order beams.
374 (beamed-stem-shorten . (1.0 0.5 0.25))
376 (beaming . ,ly:beam::calc-beaming)
378 (collision-interfaces . (beam-interface
380 clef-modifier-interface
382 inline-accidental-interface
383 key-signature-interface
386 time-signature-interface))
387 (cross-staff . ,ly:beam::calc-cross-staff)
391 (secondary-beam-demerit . 10)
392 (stem-length-demerit-factor . 5)
395 (stem-length-limit-penalty . 5000)
396 (damping-direction-penalty . 800)
397 (hint-direction-penalty . 20)
398 (musical-direction-factor . 400)
399 (ideal-slope-factor . 10)
400 (collision-penalty . 500)
401 (collision-padding . 0.35)
402 (round-to-zero-slope . 0.02)))
403 (direction . ,ly:beam::calc-direction)
405 (normalized-endpoints . ,ly:spanner::calc-normalized-endpoints)
406 ;; only for debugging.
407 (font-family . roman)
409 (beam-gap . ,ly:beam::calc-beam-gap)
410 (minimum-length . ,ly:beam::calc-minimum-length)
411 (neutral-direction . ,DOWN)
412 (positions . ,beam::place-broken-parts-individually)
413 (springs-and-rods . ,ly:beam::calc-springs-and-rods)
414 (X-positions . ,ly:beam::calc-x-positions)
415 (transparent . ,(grob::inherit-parent-property
418 ;; this is a hack to set stem lengths, if positions is set.
419 (quantized-positions . ,ly:beam::set-stem-lengths)
421 (shorten . ,ly:beam::calc-stem-shorten)
422 (vertical-skylines . ,grob::unpure-vertical-skylines-from-stencil)
423 (stencil . ,ly:beam::print)
425 (meta . ((class . Spanner)
426 (object-callbacks . ((normal-stems . ,ly:beam::calc-normal-stems)))
427 (interfaces . (beam-interface
429 staff-symbol-referencer-interface
430 unbreakable-spanner-interface))))))
434 (minimum-length . 0.5)
435 (stencil . ,bend::print)
437 (meta . ((class . Spanner)
438 (interfaces . (bend-after-interface
439 spanner-interface))))))
444 (break-align-anchor . ,ly:break-aligned-interface::calc-average-anchor)
445 (break-visibility . ,ly:break-aligned-interface::calc-break-visibility)
446 (X-extent . ,ly:axis-group-interface::width)
447 (meta . ((class . Item)
448 (interfaces . (axis-group-interface
449 break-aligned-interface))))))
454 (break-align-orders . ;; end of line
495 (positioning-done . ,ly:break-alignment-interface::calc-positioning-done)
497 (X-extent . ,ly:axis-group-interface::width)
498 (meta . ((class . Item)
499 (interfaces . (axis-group-interface
500 break-alignment-interface))))))
504 (break-align-symbol . breathing-sign)
505 (break-visibility . ,begin-of-line-invisible)
508 (ambitus . (extra-space . 2.0))
509 (custos . (minimum-space . 1.0))
510 (key-signature . (minimum-space . 1.5))
511 (time-signature . (minimum-space . 1.5))
512 (staff-bar . (minimum-space . 1.5))
513 (clef . (minimum-space . 2.0))
514 (cue-clef . (minimum-space . 2.0))
515 (cue-end-clef . (minimum-space . 2.0))
516 (first-note . (fixed-space . 1.0)) ;huh?
517 (right-edge . (extra-space . 0.1))))
518 (stencil . ,ly:text-interface::print)
519 (text . ,(make-musicglyph-markup "scripts.rcomma"))
520 (Y-offset . ,ly:breathing-sign::offset-callback)
521 (Y-extent . ,grob::always-Y-extent-from-stencil)
522 (meta . ((class . Item)
523 (interfaces . (break-aligned-interface
524 breathing-sign-interface
530 (after-line-breaking . ,ly:chord-name::after-line-breaking)
533 (stencil . ,ly:text-interface::print)
534 (extra-spacing-height . (0.2 . -0.2))
535 (extra-spacing-width . (-0.5 . 0.5))
537 (Y-extent . ,grob::always-Y-extent-from-stencil)
538 (meta . ((class . Item)
539 (interfaces . (chord-name-interface
541 rhythmic-grob-interface
546 (avoid-slur . inside)
547 (break-align-anchor . ,ly:break-aligned-interface::calc-extent-aligned-anchor)
548 (break-align-anchor-alignment . ,RIGHT)
549 (break-align-symbol . clef)
550 (break-visibility . ,begin-of-line-visible)
551 (extra-spacing-height . ,pure-from-neighbor-interface::extra-spacing-height-at-beginning-of-line)
552 (glyph-name . ,ly:clef::calc-glyph-name)
554 (space-alist . ((cue-clef . (extra-space . 2.0))
555 (staff-bar . (extra-space . 0.7))
556 (key-cancellation . (minimum-space . 3.5))
557 (key-signature . (minimum-space . 3.5))
558 (time-signature . (minimum-space . 4.2))
559 (first-note . (minimum-fixed-space . 5.0))
560 (next-note . (extra-space . 1.0))
561 (right-edge . (extra-space . 0.5))))
562 (stencil . ,ly:clef::print)
563 (vertical-skylines . ,grob::always-vertical-skylines-from-stencil)
564 (Y-offset . ,staff-symbol-referencer::callback)
565 (Y-extent . ,grob::always-Y-extent-from-stencil)
566 (meta . ((class . Item)
567 (object-callbacks . ((pure-Y-common . ,ly:axis-group-interface::calc-pure-y-common)
568 (pure-relevant-grobs . ,ly:pure-from-neighbor-interface::calc-pure-relevant-grobs)))
569 (interfaces . (break-aligned-interface
572 pure-from-neighbor-interface
573 staff-symbol-referencer-interface))))))
577 (break-visibility . ,(grob::inherit-parent-property
578 X 'break-visibility))
579 (font-shape . italic)
581 (transparent . ,(grob::inherit-parent-property
583 (color . ,(grob::inherit-parent-property
585 (self-alignment-X . ,CENTER)
586 (staff-padding . 0.2)
587 (stencil . ,ly:text-interface::print)
588 (X-offset . ,(ly:make-simple-closure
590 ,(ly:make-simple-closure
591 (list ly:self-alignment-interface::x-aligned-on-self))
592 ,(ly:make-simple-closure
593 (list ly:self-alignment-interface::centered-on-x-parent)))))
594 (Y-offset . ,side-position-interface::y-aligned-side)
595 (vertical-skylines . ,grob::always-vertical-skylines-from-stencil)
596 (Y-extent . ,grob::always-Y-extent-from-stencil)
597 (meta . ((class . Item)
598 (interfaces . (clef-modifier-interface
600 self-alignment-interface
601 side-position-interface
606 (cross-staff . ,ly:cluster::calc-cross-staff)
607 (minimum-length . 0.0)
609 (springs-and-rods . ,ly:spanner::set-spacing-rods)
610 (stencil . ,ly:cluster::print)
612 (meta . ((class . Spanner)
613 (interfaces . (cluster-interface))))))
615 (ClusterSpannerBeacon
617 (Y-extent . ,ly:cluster-beacon::height)
618 (meta . ((class . Item)
619 (interfaces . (cluster-beacon-interface
620 rhythmic-grob-interface))))))
624 (avoid-slur . outside)
627 (extra-spacing-width . (+inf.0 . -inf.0))
629 (outside-staff-priority . 450)
631 (script-priority . 200)
633 (staff-padding . 0.5)
634 ;; todo: add X self alignment?
635 (stencil . ,ly:text-interface::print)
636 (X-offset . ,ly:self-alignment-interface::x-aligned-on-self)
637 (Y-offset . ,side-position-interface::y-aligned-side)
638 (Y-extent . ,grob::always-Y-extent-from-stencil)
639 (meta . ((class . Item)
640 (interfaces . (font-interface
641 side-position-interface
643 text-script-interface))))))
647 (avoid-slur . inside)
648 (break-align-anchor . ,ly:break-aligned-interface::calc-extent-aligned-anchor)
649 (break-align-symbol . cue-clef)
650 (break-visibility . ,begin-of-line-visible)
651 (extra-spacing-height . ,pure-from-neighbor-interface::extra-spacing-height-at-beginning-of-line)
653 (glyph-name . ,ly:clef::calc-glyph-name)
655 (full-size-change . #t)
656 (space-alist . ((staff-bar . (minimum-space . 2.7))
657 (key-cancellation . (minimum-space . 3.5))
658 (key-signature . (minimum-space . 3.5))
659 (time-signature . (minimum-space . 4.2))
660 (custos . (minimum-space . 0.0))
661 (first-note . (minimum-fixed-space . 3.0))
662 (next-note . (extra-space . 1.0))
663 (right-edge . (extra-space . 0.5))))
664 (stencil . ,ly:clef::print)
665 (vertical-skylines . ,grob::always-vertical-skylines-from-stencil)
666 (Y-offset . ,staff-symbol-referencer::callback)
667 (Y-extent . ,grob::always-Y-extent-from-stencil)
668 (meta . ((class . Item)
669 (object-callbacks . ((pure-Y-common . ,ly:axis-group-interface::calc-pure-y-common)
670 (pure-relevant-grobs . ,ly:pure-from-neighbor-interface::calc-pure-relevant-grobs)))
671 (interfaces . (break-aligned-interface
674 pure-from-neighbor-interface
675 staff-symbol-referencer-interface))))))
679 (avoid-slur . inside)
680 (break-align-anchor . ,ly:break-aligned-interface::calc-extent-aligned-anchor)
681 (break-align-symbol . cue-end-clef)
682 (break-visibility . ,begin-of-line-invisible)
683 (extra-spacing-height . ,pure-from-neighbor-interface::extra-spacing-height-at-beginning-of-line)
685 (glyph-name . ,ly:clef::calc-glyph-name)
687 (full-size-change . #t)
688 (space-alist . ((clef . (extra-space . 0.7))
689 (cue-clef . (extra-space . 0.7))
690 (staff-bar . (extra-space . 0.7))
691 (key-cancellation . (minimum-space . 3.5))
692 (key-signature . (minimum-space . 3.5))
693 (time-signature . (minimum-space . 4.2))
694 (first-note . (minimum-fixed-space . 5.0))
695 (next-note . (extra-space . 1.0))
696 (right-edge . (extra-space . 0.5))))
697 (stencil . ,ly:clef::print)
698 (Y-offset . ,staff-symbol-referencer::callback)
699 (Y-extent . ,grob::always-Y-extent-from-stencil)
700 (meta . ((class . Item)
701 (object-callbacks . ((pure-Y-common . ,ly:axis-group-interface::calc-pure-y-common)
702 (pure-relevant-grobs . ,ly:pure-from-neighbor-interface::calc-pure-relevant-grobs)))
703 (interfaces . (break-aligned-interface
706 pure-from-neighbor-interface
707 staff-symbol-referencer-interface))))))
711 (break-align-symbol . custos)
712 (break-visibility . ,end-of-line-visible)
713 (neutral-direction . ,DOWN)
716 (first-note . (minimum-fixed-space . 0.0))
717 (right-edge . (extra-space . 0.1))))
718 (stencil . ,ly:custos::print)
720 (Y-offset . ,staff-symbol-referencer::callback)
721 (meta . ((class . Item)
722 (interfaces . (break-aligned-interface
725 staff-symbol-referencer-interface))))))
731 (positioning-done . ,ly:dot-column::calc-positioning-done)
732 (X-extent . ,ly:axis-group-interface::width)
733 (meta . ((class . Item)
734 (interfaces . (axis-group-interface
735 dot-column-interface))))))
739 (avoid-slur . inside)
740 (dot-count . ,dots::calc-dot-count)
741 (staff-position . ,dots::calc-staff-position)
742 (stencil . ,ly:dots::print)
743 (Y-extent . ,grob::always-Y-extent-from-stencil)
744 (extra-spacing-height . (-0.5 . 0.5))
745 (meta . ((class . Item)
746 (interfaces . (dots-interface
748 staff-symbol-referencer-interface))))))
752 (break-align-symbol . staff-bar)
753 (break-visibility . ,begin-of-line-invisible)
754 (dot-negative-kern . 0.75)
755 (font-encoding . fetaMusic)
757 (slash-negative-kern . 1.6)
759 (stencil . ,ly:percent-repeat-item-interface::double-percent)
760 (Y-extent . ,grob::always-Y-extent-from-stencil)
762 (meta . ((class . Item)
763 (interfaces . (break-aligned-interface
765 percent-repeat-interface
766 percent-repeat-item-interface))))))
768 (DoublePercentRepeatCounter
771 (font-encoding . fetaText)
774 (self-alignment-X . ,CENTER)
776 (staff-padding . 0.25)
777 (stencil . ,ly:text-interface::print)
778 (X-offset . ,(ly:make-simple-closure
780 ,(ly:make-simple-closure
781 (list ly:self-alignment-interface::centered-on-y-parent))
782 ,(ly:make-simple-closure
783 (list ly:self-alignment-interface::x-aligned-on-self)))))
784 (Y-offset . ,side-position-interface::y-aligned-side)
785 (Y-extent . ,grob::always-Y-extent-from-stencil)
786 (meta . ((class . Item)
787 (interfaces . (font-interface
788 percent-repeat-interface
789 percent-repeat-item-interface
790 self-alignment-interface
791 side-position-interface
796 (dot-negative-kern . 0.75)
797 (font-encoding . fetaMusic)
798 (slash-negative-kern . 1.6)
800 (stencil . ,ly:percent-repeat-item-interface::beat-slash)
801 (Y-extent . ,grob::always-Y-extent-from-stencil)
803 (meta . ((class . Item)
804 (interfaces . (font-interface
805 percent-repeat-interface
806 percent-repeat-item-interface
807 rhythmic-grob-interface))))))
812 (cross-staff . ,ly:side-position-interface::calc-cross-staff)
814 (minimum-space . 1.2)
815 (outside-staff-priority . 250)
816 (outside-staff-padding . 0.6)
820 (staff-padding . 0.1)
821 (vertical-skylines . ,grob::always-vertical-skylines-from-element-stencils)
822 (X-extent . ,ly:axis-group-interface::width)
823 (Y-extent . ,axis-group-interface::height)
824 (Y-offset . ,side-position-interface::y-aligned-side)
825 (meta . ((class . Spanner)
826 (object-callbacks . ((pure-Y-common . ,ly:axis-group-interface::calc-pure-y-common)
827 (pure-relevant-grobs . ,ly:axis-group-interface::calc-pure-relevant-grobs)))
828 (interfaces . (axis-group-interface
830 dynamic-line-spanner-interface
831 side-position-interface))))))
838 (collision-bias . -2.0)
839 (collision-padding . 0.5)
840 (direction . ,ly:script-interface::calc-direction)
841 (extra-spacing-width . (+inf.0 . -inf.0))
842 (font-encoding . fetaText)
844 (font-shape . italic)
845 (positioning-done . ,ly:script-interface::calc-positioning-done)
846 (right-padding . 0.5)
847 (self-alignment-X . ,CENTER)
848 (self-alignment-Y . ,CENTER)
849 (stencil . ,ly:text-interface::print)
850 (vertical-skylines . ,grob::always-vertical-skylines-from-stencil)
851 (Y-extent . ,grob::always-Y-extent-from-stencil)
852 (X-offset . ,ly:self-alignment-interface::x-aligned-on-self)
853 (Y-offset . ,self-alignment-interface::y-aligned-on-self)
854 (meta . ((class . Item)
855 (interfaces . (dynamic-interface
856 dynamic-text-interface
859 self-alignment-interface
864 (before-line-breaking . ,dynamic-text-spanner::before-line-breaking)
865 (bound-details . ((right . ((attach-dir . ,LEFT)
869 (right-broken . ((attach-dir . ,RIGHT)
873 (left . ((attach-dir . ,LEFT)
875 (stencil-offset . (-0.75 . -0.5))
878 (left-broken . ((attach-dir . ,RIGHT)
881 (dash-fraction . 0.2)
884 ;; rather ugh with NCSB
885 ;; (font-series . bold)
886 (font-shape . italic)
888 ;; need to blend with dynamic texts.
891 (left-bound-info . ,ly:line-spanner::calc-left-bound-info-and-text)
893 (minimum-length . 2.0)
894 ;; make sure the spanner doesn't get too close to notes
895 (minimum-Y-extent . (-1 . 1))
897 (right-bound-info . ,ly:line-spanner::calc-right-bound-info)
898 (skyline-horizontal-padding . 0.2)
899 (springs-and-rods . ,ly:spanner::set-spacing-rods)
900 (stencil . ,ly:line-spanner::print)
901 (style . dashed-line)
902 (vertical-skylines . ,grob::unpure-vertical-skylines-from-stencil)
903 (meta . ((class . Spanner)
904 (interfaces . (dynamic-interface
905 dynamic-text-spanner-interface
908 line-spanner-interface
915 (bound-details . ((left . ((Y . 0)
921 (attach-dir . ,RIGHT)
925 (left-bound-info . ,ly:line-spanner::calc-left-bound-info)
926 (quantize-position . #t)
927 (right-bound-info . ,ly:line-spanner::calc-right-bound-info)
929 (stencil . ,ly:line-spanner::print)
931 (Y-offset . ,side-position-interface::y-aligned-side)
932 (meta . ((class . Spanner)
933 (interfaces . (episema-interface
936 line-spanner-interface
937 side-position-interface))))))
943 ;; sync with TextScript (?)
944 (add-stem-support . ,only-if-beamed)
945 (avoid-slur . around)
946 (cross-staff . ,script-or-side-position-cross-staff)
947 (direction . ,ly:script-interface::calc-direction)
948 (font-encoding . fetaText)
949 (font-size . -5) ; don't overlap when next to heads.
951 (positioning-done . ,ly:script-interface::calc-positioning-done)
952 (script-priority . 100)
953 (self-alignment-X . ,CENTER)
954 (self-alignment-Y . ,CENTER)
956 (staff-padding . 0.5)
957 (stencil . ,ly:text-interface::print)
958 (text . ,fingering::calc-text)
959 (Y-extent . ,grob::always-Y-extent-from-stencil)
960 (meta . ((class . Item)
961 (interfaces . (finger-interface
963 self-alignment-interface
964 side-position-interface
966 text-script-interface))))))
971 (positioning-done . ,ly:fingering-column::calc-positioning-done)
973 (meta . ((class . Item)
974 (interfaces . (fingering-column-interface))))))
978 (glyph-name . ,ly:flag::glyph-name)
979 (stencil . ,ly:flag::print)
980 (transparent . ,(grob::inherit-parent-property
982 (color . ,(grob::inherit-parent-property
984 (X-extent . ,ly:flag::width)
985 (X-offset . ,ly:flag::calc-x-offset)
986 (Y-offset . ,(ly:make-unpure-pure-container ly:flag::calc-y-offset ly:flag::pure-calc-y-offset))
987 (Y-extent . ,grob::always-Y-extent-from-stencil)
988 (vertical-skylines . ,grob::always-vertical-skylines-from-stencil)
989 (meta . ((class . Item)
990 (interfaces . (flag-interface
995 (annotation-balloon . #f)
996 (annotation-line . #t)
997 (automatically-numbered . ,(grob::calc-property-by-copy 'automatically-numbered))
998 (break-visibility . ,(grob::inherit-parent-property
999 X 'break-visibility))
1001 (footnote-text . ,(grob::calc-property-by-copy 'footnote-text))
1002 (stencil . ,ly:balloon-interface::print)
1003 (text . ,(grob::calc-property-by-copy 'text))
1006 (X-offset . ,(grob::calc-property-by-copy 'X-offset))
1007 (Y-offset . ,(grob::calc-property-by-copy 'Y-offset))
1008 (meta . ((class . Item)
1009 (interfaces . (balloon-interface
1012 text-interface))))))
1016 (annotation-balloon . #f)
1017 (annotation-line . #t)
1018 (automatically-numbered . ,(grob::calc-property-by-copy 'automatically-numbered))
1020 (footnote-text . ,(grob::calc-property-by-copy 'footnote-text))
1021 (spanner-placement . ,LEFT)
1022 (stencil . ,ly:balloon-interface::print-spanner)
1023 (text . ,(grob::calc-property-by-copy 'text))
1026 (X-offset . ,(grob::calc-property-by-copy 'X-offset))
1027 (Y-offset . ,(grob::calc-property-by-copy 'Y-offset))
1028 (meta . ((class . Spanner)
1029 (interfaces . (balloon-interface
1031 footnote-spanner-interface
1033 text-interface))))))
1037 (after-line-breaking . ,ly:chord-name::after-line-breaking)
1038 (fret-diagram-details . ((finger-code . below-string)))
1039 (stencil . ,fret-board::calc-stencil)
1040 (extra-spacing-height . (0.2 . -0.2))
1041 (extra-spacing-width . (-0.5 . 0.5))
1042 (Y-extent . ,grob::always-Y-extent-from-stencil)
1043 (meta . ((class . Item)
1044 (interfaces . (chord-name-interface
1046 fret-diagram-interface
1047 rhythmic-grob-interface))))))
1052 (after-line-breaking . ,ly:spanner::kill-zero-spanned-time)
1053 (bound-details . ((right . ((attach-dir . ,LEFT)
1054 (end-on-accidental . #t)
1057 (left . ((attach-dir . ,RIGHT)
1061 (cross-staff . ,ly:line-spanner::calc-cross-staff)
1063 (left-bound-info . ,ly:line-spanner::calc-left-bound-info)
1064 (normalized-endpoints . ,ly:spanner::calc-normalized-endpoints)
1065 (right-bound-info . ,ly:line-spanner::calc-right-bound-info)
1067 (stencil . ,ly:line-spanner::print)
1069 (vertical-skylines . ,grob::unpure-vertical-skylines-from-stencil)
1072 (zigzag-width . 0.75)
1073 (meta . ((class . Spanner)
1074 (interfaces . (glissando-interface
1076 line-spanner-interface
1077 unbreakable-spanner-interface))))))
1081 (common-shortest-duration . ,grace-spacing::calc-shortest-duration)
1082 (shortest-duration-space . 1.6)
1083 (spacing-increment . 0.8)
1084 (meta . ((class . Spanner)
1085 (interfaces . (grace-spacing-interface
1086 spacing-options-interface
1087 spanner-interface))))))
1092 (self-alignment-X . ,CENTER)
1093 (stencil . ,ly:grid-line-interface::print)
1094 (X-extent . ,ly:grid-line-interface::width)
1095 (X-offset . ,(ly:make-simple-closure
1097 ,(ly:make-simple-closure
1098 (list ly:self-alignment-interface::centered-on-x-parent))
1099 ,(ly:make-simple-closure
1100 (list ly:self-alignment-interface::x-aligned-on-self)))))
1101 (meta . ((class . Item)
1102 (interfaces . (grid-line-interface
1103 self-alignment-interface))))))
1107 (X-extent . (0 . 0))
1108 (Y-extent . (0 . 0))
1109 (meta . ((class . Item)
1110 (interfaces . (grid-point-interface))))))
1115 (after-line-breaking . ,ly:spanner::kill-zero-spanned-time)
1116 (bound-padding . 1.0)
1117 (broken-bound-padding . ,ly:hairpin::broken-bound-padding)
1119 (grow-direction . ,hairpin::calc-grow-direction)
1121 (minimum-length . 2.0)
1122 (self-alignment-Y . ,CENTER)
1123 (springs-and-rods . ,ly:spanner::set-spacing-rods)
1124 (stencil . ,ly:hairpin::print)
1127 (vertical-skylines . ,grob::unpure-vertical-skylines-from-stencil)
1128 (Y-extent . ,(grob::unpure-Y-extent-from-stencil ly:hairpin::pure-height))
1129 (Y-offset . ,self-alignment-interface::y-aligned-on-self)
1130 (meta . ((class . Spanner)
1131 (interfaces . (dynamic-interface
1134 self-alignment-interface
1135 spanner-interface))))))
1139 (bracket-flare . (0.5 . 0.5))
1140 (connect-to-neighbor . ,ly:tuplet-bracket::calc-connect-to-neighbors)
1144 (staff-padding . 0.2)
1145 (stencil . ,ly:horizontal-bracket::print)
1147 (Y-offset . ,side-position-interface::y-aligned-side)
1148 (meta . ((class . Spanner)
1149 (interfaces . (horizontal-bracket-interface
1151 side-position-interface
1152 spanner-interface))))))
1159 (self-alignment-X . ,CENTER)
1160 (self-alignment-Y . ,CENTER)
1161 (stencil . ,system-start-text::print)
1162 (X-offset . ,system-start-text::calc-x-offset)
1163 (Y-offset . ,system-start-text::calc-y-offset)
1164 (meta . ((class . Spanner)
1165 (interfaces . (font-interface
1166 self-alignment-interface
1167 side-position-interface
1168 system-start-text-interface))))))
1173 (extra-spacing-width . (+inf.0 . -inf.0))
1174 (outside-staff-priority . 500)
1176 (self-alignment-X . ,LEFT)
1178 (staff-padding . 0.5)
1179 (stencil . ,ly:text-interface::print)
1180 (Y-extent . ,grob::always-Y-extent-from-stencil)
1181 (X-offset . ,ly:self-alignment-interface::x-aligned-on-self)
1182 (Y-offset . ,side-position-interface::y-aligned-side)
1183 (meta . ((class . Item)
1184 (interfaces . (font-interface
1185 self-alignment-interface
1186 side-position-interface
1187 text-interface))))))
1192 (break-align-symbol . key-cancellation)
1193 (break-visibility . ,begin-of-line-invisible)
1194 (glyph-name-alist . ,cancellation-glyph-name-alist)
1196 (flat-positions . (2 3 4 2 1 2 1))
1197 (sharp-positions . (4 5 4 2 3 2 3))
1199 (time-signature . (extra-space . 1.25))
1200 (staff-bar . (extra-space . 0.6))
1201 (key-signature . (extra-space . 0.5))
1202 (cue-clef . (extra-space . 0.5))
1203 (right-edge . (extra-space . 0.5))
1204 (first-note . (fixed-space . 2.5))))
1205 (stencil . ,ly:key-signature-interface::print)
1206 (vertical-skylines . ,grob::always-vertical-skylines-from-stencil)
1207 (Y-extent . ,grob::always-Y-extent-from-stencil)
1208 (extra-spacing-width . (0.0 . 1.0))
1209 (extra-spacing-height . ,pure-from-neighbor-interface::extra-spacing-height-including-staff)
1210 (Y-offset . ,staff-symbol-referencer::callback)
1211 (meta . ((class . Item)
1212 (object-callbacks . ((pure-Y-common . ,ly:axis-group-interface::calc-pure-y-common)
1213 (pure-relevant-grobs . ,ly:pure-from-neighbor-interface::calc-pure-relevant-grobs)))
1214 (interfaces . (break-aligned-interface
1216 key-cancellation-interface
1217 key-signature-interface
1218 pure-from-neighbor-interface
1219 staff-symbol-referencer-interface))))))
1223 (avoid-slur . inside)
1224 (break-align-anchor . ,ly:break-aligned-interface::calc-extent-aligned-anchor)
1225 (break-align-anchor-alignment . ,RIGHT)
1226 (break-align-symbol . key-signature)
1227 (break-visibility . ,begin-of-line-visible)
1228 (glyph-name-alist . ,standard-alteration-glyph-name-alist)
1230 (flat-positions . (2 3 4 2 1 2 1))
1231 (sharp-positions . (4 5 4 2 3 2 3))
1233 (time-signature . (extra-space . 1.15))
1234 (staff-bar . (extra-space . 1.1))
1235 (cue-clef . (extra-space . 0.5))
1236 (right-edge . (extra-space . 0.5))
1237 (first-note . (fixed-space . 2.5))))
1238 (stencil . ,ly:key-signature-interface::print)
1239 (Y-extent . ,grob::always-Y-extent-from-stencil)
1240 (extra-spacing-width . (0.0 . 1.0))
1241 (extra-spacing-height . ,pure-from-neighbor-interface::extra-spacing-height-including-staff)
1242 (vertical-skylines . ,grob::always-vertical-skylines-from-stencil)
1243 (Y-offset . ,staff-symbol-referencer::callback)
1244 (meta . ((class . Item)
1245 (object-callbacks . ((pure-Y-common . ,ly:axis-group-interface::calc-pure-y-common)
1246 (pure-relevant-grobs . ,ly:pure-from-neighbor-interface::calc-pure-relevant-grobs)))
1247 (interfaces . (break-aligned-interface
1249 key-signature-interface
1250 pure-from-neighbor-interface
1251 staff-symbol-referencer-interface))))))
1255 (springs-and-rods . ,ly:spanner::set-spacing-rods)
1256 (stencil . ,ly:kievan-ligature::print)
1258 (meta . ((class . Spanner)
1259 (interfaces . (font-interface
1260 kievan-ligature-interface))))))
1264 (control-points . ,ly:semi-tie::calc-control-points)
1265 (cross-staff . ,semi-tie::calc-cross-staff)
1266 (details . ((ratio . 0.333)
1267 (height-limit . 1.0)))
1268 (direction . ,ly:tie::calc-direction)
1269 (head-direction . ,LEFT)
1270 (stencil . ,laissez-vibrer::print)
1272 (extra-spacing-height . (-0.5 . 0.5))
1273 (vertical-skylines . ,grob::always-vertical-skylines-from-stencil)
1274 (Y-extent . ,grob::always-Y-extent-from-stencil)
1275 (meta . ((class . Item)
1276 (interfaces . (semi-tie-interface))))))
1278 (LaissezVibrerTieColumn
1280 (head-direction . ,ly:semi-tie-column::calc-head-direction)
1281 (positioning-done . ,ly:semi-tie-column::calc-positioning-done)
1284 (meta . ((class . Item)
1285 (interfaces . (semi-tie-column-interface))))))
1290 (length-fraction . 0.25)
1291 (minimum-length-fraction . 0.25)
1292 (springs-and-rods . ,ly:ledger-line-spanner::set-spacing-rods)
1293 (stencil . ,ly:ledger-line-spanner::print)
1294 (vertical-skylines . ,grob::unpure-vertical-skylines-from-stencil)
1297 (meta . ((class . Spanner)
1298 (interfaces . (ledger-line-spanner-interface))))))
1302 (break-align-anchor . ,ly:break-aligned-interface::calc-extent-aligned-anchor)
1303 (break-align-symbol . left-edge)
1304 (break-visibility . ,center-invisible)
1306 (extra-spacing-height . (+inf.0 . -inf.0))
1308 (ambitus . (extra-space . 2.0))
1309 (breathing-sign . (minimum-space . 0.0))
1310 (cue-end-clef . (extra-space . 0.8))
1311 (clef . (extra-space . 0.8))
1312 (cue-clef . (extra-space . 0.8))
1313 (staff-bar . (extra-space . 0.0))
1314 (key-cancellation . (extra-space . 0.0))
1315 (key-signature . (extra-space . 0.8))
1316 (time-signature . (extra-space . 1.0))
1317 (custos . (extra-space . 0.0))
1318 (first-note . (fixed-space . 2.0))
1319 (right-edge . (extra-space . 0.0))
1321 (X-extent . (0 . 0))
1322 (meta . ((class . Item)
1323 (interfaces . (break-aligned-interface))))))
1327 ;; ugh. A ligature bracket is totally different from
1328 ;; a tuplet bracket.
1330 (bracket-visibility . #t)
1331 (connect-to-neighbor . ,ly:tuplet-bracket::calc-connect-to-neighbors)
1333 (edge-height . (0.7 . 0.7))
1335 (positions . ,ly:tuplet-bracket::calc-positions)
1336 (shorten-pair . (-0.2 . -0.2))
1337 (staff-padding . 0.25)
1338 (stencil . ,ly:tuplet-bracket::print)
1340 (X-positions . ,ly:tuplet-bracket::calc-x-positions)
1341 (meta . ((class . Spanner)
1342 (interfaces . (line-interface
1343 tuplet-bracket-interface))))))
1347 (minimum-length . 1.5)
1348 (stencil . ,ly:lyric-extender::print)
1349 (thickness . 0.8) ; line-thickness
1350 (Y-extent . (0 . 0))
1351 (meta . ((class . Spanner)
1352 (interfaces . (lyric-extender-interface
1353 lyric-interface))))))
1357 (after-line-breaking . ,ly:spanner::kill-zero-spanned-time)
1358 (dash-period . 10.0)
1361 (minimum-distance . 0.1)
1362 (minimum-length . 0.3)
1364 (springs-and-rods . ,ly:lyric-hyphen::set-spacing-rods)
1365 (stencil . ,ly:lyric-hyphen::print)
1366 (vertical-skylines . ,grob::unpure-vertical-skylines-from-stencil)
1368 (Y-extent . (0 . 0))
1369 (meta . ((class . Spanner)
1370 (interfaces . (font-interface
1371 lyric-hyphen-interface
1373 spanner-interface))))))
1377 (minimum-distance . 0.45)
1379 (springs-and-rods . ,ly:lyric-hyphen::set-spacing-rods)
1382 (meta . ((class . Spanner)
1383 (interfaces . (lyric-hyphen-interface
1384 spanner-interface))))))
1388 (extra-spacing-width . (0.0 . 0.0))
1389 ;; Recede in height for purposes of note spacing,
1390 ;; so notes in melismata can be freely spaced above lyrics
1391 (extra-spacing-height . (0.2 . -0.2))
1392 (font-series . medium)
1394 (self-alignment-X . ,CENTER)
1395 (stencil . ,lyric-text::print)
1396 (text . ,(grob::calc-property-by-copy 'text))
1398 (skyline-horizontal-padding . 0.1)
1399 (vertical-skylines . ,grob::always-vertical-skylines-from-stencil)
1400 (X-offset . ,ly:self-alignment-interface::aligned-on-x-parent)
1401 (Y-extent . ,grob::always-Y-extent-from-stencil)
1402 (meta . ((class . Item)
1403 (interfaces . (font-interface
1404 lyric-syllable-interface
1405 rhythmic-grob-interface
1406 self-alignment-interface
1407 text-interface))))))
1413 (font-encoding . fetaText)
1415 (outside-staff-horizontal-padding . 0.5)
1416 (outside-staff-padding . 0.5)
1417 (outside-staff-priority . 750)
1418 (self-alignment-X . ,CENTER)
1420 (staff-padding . 0.5)
1421 (stencil . ,measure-counter-stencil)
1422 (meta . ((class . Spanner)
1423 (interfaces . (font-interface
1424 measure-counter-interface
1425 self-alignment-interface
1426 side-position-interface
1427 text-interface))))))
1436 (stencil . ,ly:measure-grouping::print)
1438 (Y-offset . ,side-position-interface::y-aligned-side)
1439 (meta . ((class . Spanner)
1440 (interfaces . (measure-grouping-interface
1441 side-position-interface))))))
1445 (neutral-direction . ,DOWN)
1446 (meta . ((class . Item)
1447 (interfaces . (melody-spanner-interface))))))
1451 (springs-and-rods . ,ly:spanner::set-spacing-rods)
1452 (stencil . ,ly:mensural-ligature::print)
1454 (meta . ((class . Spanner)
1455 (interfaces . (font-interface
1456 mensural-ligature-interface))))))
1460 (after-line-breaking . ,ly:side-position-interface::move-to-extremal-staff)
1461 (break-visibility . ,end-of-line-invisible)
1463 (extra-spacing-width . (+inf.0 . -inf.0))
1464 (outside-staff-horizontal-padding . 0.2)
1465 (outside-staff-priority . 1000)
1468 (stencil . ,ly:text-interface::print)
1469 (vertical-skylines . ,grob::always-vertical-skylines-from-stencil)
1470 (Y-offset . ,side-position-interface::y-aligned-side)
1471 (X-offset . ,(ly:make-simple-closure
1473 ,(ly:make-simple-closure
1474 (list ly:break-alignable-interface::self-align-callback))
1475 ,(ly:make-simple-closure
1476 (list ly:self-alignment-interface::x-aligned-on-self)))))
1477 (self-alignment-X . ,LEFT)
1478 (break-align-symbols . (time-signature))
1479 (non-break-align-symbols . (paper-column-interface))
1480 (Y-extent . ,grob::always-Y-extent-from-stencil)
1481 (meta . ((class . Item)
1482 (interfaces . (break-alignable-interface
1484 metronome-mark-interface
1485 self-alignment-interface
1486 side-position-interface
1487 text-interface))))))
1492 (hair-thickness . 2.0)
1493 (round-up-exceptions . ())
1495 (spacing-pair . (break-alignment . break-alignment))
1496 (springs-and-rods . ,ly:multi-measure-rest::set-spacing-rods)
1497 (stencil . ,ly:multi-measure-rest::print)
1498 (thick-thickness . 6.6)
1499 ;; See Wanske pp. 125
1500 (usable-duration-logs . ,(iota 4 -3))
1501 (Y-extent . ,(ly:make-unpure-pure-container ly:multi-measure-rest::height))
1502 (Y-offset . ,staff-symbol-referencer::callback)
1503 (meta . ((class . Spanner)
1504 (interfaces . (font-interface
1505 multi-measure-interface
1506 multi-measure-rest-interface
1508 staff-symbol-referencer-interface))))))
1510 (MultiMeasureRestNumber
1512 (bound-padding . 2.0)
1514 (font-encoding . fetaText)
1516 (self-alignment-X . ,CENTER)
1518 (springs-and-rods . ,ly:multi-measure-rest::set-text-rods)
1519 (staff-padding . 0.4)
1520 (stencil . ,ly:text-interface::print)
1521 (X-offset . ,(ly:make-simple-closure
1523 ,(ly:make-simple-closure
1524 (list ly:self-alignment-interface::x-aligned-on-self))
1525 ,(ly:make-simple-closure
1526 (list ly:self-alignment-interface::x-centered-on-y-parent)))))
1527 (Y-offset . ,side-position-interface::y-aligned-side)
1528 (vertical-skylines . ,grob::unpure-vertical-skylines-from-stencil)
1529 (Y-extent . ,grob::always-Y-extent-from-stencil)
1530 (meta . ((class . Spanner)
1531 (interfaces . (font-interface
1532 multi-measure-interface
1533 self-alignment-interface
1534 side-position-interface
1535 text-interface))))))
1537 (MultiMeasureRestText
1540 (outside-staff-priority . 450)
1542 (self-alignment-X . ,CENTER)
1543 (skyline-horizontal-padding . 0.2)
1544 (staff-padding . 0.25)
1545 (stencil . ,ly:text-interface::print)
1546 (X-offset . ,(ly:make-simple-closure
1548 ,(ly:make-simple-closure
1549 (list ly:self-alignment-interface::x-centered-on-y-parent))
1550 ,(ly:make-simple-closure
1551 (list ly:self-alignment-interface::x-aligned-on-self)))))
1552 (Y-offset . ,side-position-interface::y-aligned-side)
1553 (vertical-skylines . ,grob::unpure-vertical-skylines-from-stencil)
1554 (Y-extent . ,grob::always-Y-extent-from-stencil)
1555 (meta . ((class . Spanner)
1556 (interfaces . (font-interface
1557 multi-measure-interface
1558 self-alignment-interface
1559 side-position-interface
1560 text-interface))))))
1563 (NonMusicalPaperColumn
1565 (allow-loose-spacing . #t)
1567 (before-line-breaking . ,ly:paper-column::before-line-breaking)
1568 (bound-alignment-interfaces . (break-alignment-interface))
1569 (full-measure-extra-space . 1.0)
1570 (horizontal-skylines . ,ly:separation-item::calc-skylines)
1571 ;; (stencil . ,ly:paper-column::print)
1573 (keep-inside-line . #t)
1574 (line-break-permission . allow)
1576 (page-break-permission . allow)
1578 ;; debugging stuff: print column number.
1579 ;; (font-size . -6) (font-name . "sans") (Y-extent . #f)
1581 (X-extent . ,ly:axis-group-interface::width)
1582 (meta . ((class . Paper_column)
1583 (object-callbacks . ((pure-Y-common . ,ly:axis-group-interface::calc-pure-y-common)
1584 (pure-relevant-grobs . ,ly:axis-group-interface::calc-pure-relevant-grobs)))
1585 (interfaces . (axis-group-interface
1587 paper-column-interface
1588 separation-item-interface
1589 spaceable-grob-interface))))))
1594 (positioning-done . ,ly:note-collision-interface::calc-positioning-done)
1595 (prefer-dotted-right . #t)
1596 (X-extent . ,ly:axis-group-interface::width)
1597 (Y-extent . ,axis-group-interface::height)
1598 (meta . ((class . Item)
1599 (object-callbacks . ((pure-Y-common . ,ly:axis-group-interface::calc-pure-y-common)
1600 (pure-relevant-grobs . ,ly:axis-group-interface::calc-pure-relevant-grobs)))
1601 (interfaces . (axis-group-interface
1602 note-collision-interface))))))
1607 (bound-alignment-interfaces . (rhythmic-head-interface stem-interface))
1608 (cross-staff . ,ly:axis-group-interface::cross-staff)
1609 (horizontal-skylines . ,ly:separation-item::calc-skylines)
1610 (skyline-vertical-padding . 0.15)
1611 (X-extent . ,ly:axis-group-interface::width)
1612 (Y-extent . ,axis-group-interface::height)
1613 (meta . ((class . Item)
1614 (object-callbacks . ((pure-Y-common . ,ly:axis-group-interface::calc-pure-y-common)
1615 (pure-relevant-grobs . ,ly:axis-group-interface::calc-pure-relevant-grobs)))
1616 (interfaces . (axis-group-interface
1617 note-column-interface
1618 separation-item-interface))))))
1623 (duration-log . ,note-head::calc-duration-log)
1624 (extra-spacing-height . ,ly:note-head::include-ledger-line-height)
1625 (glyph-name . ,note-head::calc-glyph-name)
1626 (ligature-flexa . #f)
1627 (stem-attachment . ,ly:note-head::calc-stem-attachment)
1628 (stencil . ,ly:note-head::print)
1629 (X-offset . ,ly:note-head::stem-x-shift)
1630 (Y-offset . ,staff-symbol-referencer::callback)
1631 (Y-extent . ,grob::always-Y-extent-from-stencil)
1632 (meta . ((class . Item)
1633 (interfaces . (font-interface
1634 gregorian-ligature-interface
1636 ligature-head-interface
1637 mensural-ligature-interface
1639 rhythmic-grob-interface
1640 rhythmic-head-interface
1641 staff-symbol-referencer-interface
1642 vaticana-ligature-interface))))))
1646 (stencil . ,ly:text-interface::print)
1647 (Y-extent . ,grob::always-Y-extent-from-stencil)
1648 (meta . ((class . Item)
1649 (interfaces . (font-interface
1651 text-interface))))))
1655 ;; Changed this from 0.75.
1656 ;; If you ever change this back, please document! --hwn
1657 (knee-spacing-correction . 1.0)
1658 (same-direction-correction . 0.25)
1659 (space-to-barline . #t)
1660 (stem-spacing-correction . 0.5)
1661 (meta . ((class . Item)
1662 (interfaces . (note-spacing-interface
1663 spacing-interface))))))
1667 (dash-fraction . 0.3)
1669 (edge-height . (0 . 1.2))
1670 (font-shape . italic)
1671 (minimum-length . 1.0)
1672 (outside-staff-priority . 400)
1674 (shorten-pair . (0.0 . -0.6))
1675 (staff-padding . 1.0)
1676 (stencil . ,ly:ottava-bracket::print)
1677 (style . dashed-line)
1678 (vertical-skylines . ,grob::unpure-vertical-skylines-from-stencil)
1679 (Y-offset . ,side-position-interface::y-aligned-side)
1680 (meta . ((class . Spanner)
1681 (interfaces . (font-interface
1682 horizontal-bracket-interface
1684 ottava-bracket-interface
1685 side-position-interface
1686 text-interface))))))
1691 (allow-loose-spacing . #t)
1693 (before-line-breaking . ,ly:paper-column::before-line-breaking)
1694 (bound-alignment-interfaces . (note-column-interface))
1695 (horizontal-skylines . ,ly:separation-item::calc-skylines)
1696 (keep-inside-line . #t)
1697 ;; 0.08 comes from spacing-horizontal-skyline.ly
1698 ;; allows double flat of F to be nestled over dots of C
1699 (skyline-vertical-padding . 0.08)
1700 ;; (stencil . ,ly:paper-column::print)
1701 (X-extent . ,ly:axis-group-interface::width)
1704 ;; (font-size . -6) (font-name . "sans") (Y-extent . #f)
1705 (meta . ((class . Paper_column)
1706 (object-callbacks . ((pure-Y-common . ,ly:axis-group-interface::calc-pure-y-common)
1707 (pure-relevant-grobs . ,ly:axis-group-interface::calc-pure-relevant-grobs)))
1708 (interfaces . (axis-group-interface
1710 paper-column-interface
1711 separation-item-interface
1712 spaceable-grob-interface))))))
1718 (stencil . ,parentheses-item::print)
1719 (stencils . ,parentheses-item::calc-parenthesis-stencils)
1720 (meta . ((class . Item)
1721 (interfaces . (font-interface
1722 parentheses-interface))))))
1726 (dot-negative-kern . 0.75)
1727 (font-encoding . fetaMusic)
1729 (spacing-pair . (break-alignment . staff-bar))
1730 (springs-and-rods . ,ly:multi-measure-rest::set-spacing-rods)
1731 (stencil . ,ly:multi-measure-rest::percent)
1733 (meta . ((class . Spanner)
1734 (interfaces . (font-interface
1735 multi-measure-rest-interface
1736 percent-repeat-interface))))))
1738 (PercentRepeatCounter
1741 (font-encoding . fetaText)
1744 (self-alignment-X . ,CENTER)
1745 (staff-padding . 0.25)
1746 (stencil . ,ly:text-interface::print)
1747 (X-offset . ,(ly:make-simple-closure
1749 ,(ly:make-simple-closure
1750 (list ly:self-alignment-interface::x-centered-on-y-parent))
1751 ,(ly:make-simple-closure
1752 (list ly:self-alignment-interface::x-aligned-on-self)))))
1753 (Y-offset . ,side-position-interface::y-aligned-side)
1754 (Y-extent . ,grob::always-Y-extent-from-stencil)
1755 (meta . ((class . Spanner)
1756 (interfaces . (font-interface
1757 percent-repeat-interface
1758 self-alignment-interface
1759 side-position-interface
1760 text-interface))))))
1764 (control-points . ,ly:slur::calc-control-points)
1765 (cross-staff . ,ly:slur::calc-cross-staff)
1766 (details . ,default-slur-details)
1767 (direction . ,ly:slur::calc-direction)
1768 (height-limit . 2.0)
1769 (minimum-length . 1.5)
1772 (springs-and-rods . ,ly:spanner::set-spacing-rods)
1773 (stencil . ,ly:slur::print)
1775 (vertical-skylines . ,(ly:make-unpure-pure-container ly:slur::vertical-skylines ly:grob::pure-simple-vertical-skylines-from-extents))
1776 (Y-extent . ,slur::height)
1777 (meta . ((class . Spanner)
1778 (interfaces . (slur-interface))))))
1780 ;; an example of a text spanner
1783 (bound-padding . 1.0)
1784 (bracket-flare . (0.5 . 0.5))
1786 (edge-height . (1.0 . 1.0))
1787 (shorten-pair . (0.0 . 0.0))
1788 (stencil . ,ly:piano-pedal-bracket::print)
1791 (vertical-skylines . ,grob::unpure-vertical-skylines-from-stencil)
1792 (meta . ((class . Spanner)
1793 (interfaces . (line-interface
1794 piano-pedal-bracket-interface
1795 piano-pedal-interface))))))
1800 (after-line-breaking . ,ly:side-position-interface::move-to-extremal-staff)
1802 (break-align-symbols . (staff-bar key-signature clef))
1803 (break-visibility . ,end-of-line-invisible)
1805 (extra-spacing-width . (+inf.0 . -inf.0))
1808 (outside-staff-horizontal-padding . 0.12)
1809 (outside-staff-priority . 1500)
1811 (self-alignment-X . ,CENTER)
1812 (stencil . ,ly:text-interface::print)
1813 (vertical-skylines . ,grob::always-vertical-skylines-from-stencil)
1814 (X-offset . ,(ly:make-simple-closure
1816 ,(ly:make-simple-closure
1817 (list ly:break-alignable-interface::self-align-callback))
1818 ,(ly:make-simple-closure
1819 (list ly:self-alignment-interface::x-aligned-on-self)))))
1820 (Y-offset . ,side-position-interface::y-aligned-side)
1821 (Y-extent . ,grob::always-Y-extent-from-stencil)
1822 (meta . ((class . Item)
1823 (interfaces . (break-alignable-interface
1826 self-alignment-interface
1827 side-position-interface
1828 text-interface))))))
1832 (slash-negative-kern . 0.85)
1834 (stencil . ,ly:percent-repeat-item-interface::beat-slash)
1835 (Y-extent . ,grob::always-Y-extent-from-stencil)
1837 (meta . ((class . Item)
1838 (interfaces . (percent-repeat-interface
1839 percent-repeat-item-interface
1840 rhythmic-grob-interface))))))
1844 (cross-staff . ,semi-tie::calc-cross-staff)
1845 (control-points . ,ly:semi-tie::calc-control-points)
1846 (details . ((ratio . 0.333)
1847 (height-limit . 1.0)))
1848 (direction . ,ly:tie::calc-direction)
1849 (head-direction . ,RIGHT)
1850 (stencil . ,ly:tie::print)
1852 (extra-spacing-height . (-0.5 . 0.5))
1853 (Y-extent . ,grob::always-Y-extent-from-stencil)
1854 (vertical-skylines . ,grob::always-vertical-skylines-from-stencil)
1855 (meta . ((class . Item)
1856 (interfaces . (semi-tie-interface))))))
1860 (direction . ,ly:tie::calc-direction)
1861 (head-direction . ,ly:semi-tie-column::calc-head-direction)
1862 (positioning-done . ,ly:semi-tie-column::calc-positioning-done)
1865 (meta . ((class . Item)
1866 (interfaces . (semi-tie-column-interface))))))
1870 (cross-staff . ,ly:rest::calc-cross-staff)
1871 (duration-log . ,stem::calc-duration-log)
1872 (minimum-distance . 0.25)
1873 (stencil . ,ly:rest::print)
1874 (X-extent . ,ly:rest::width)
1875 (Y-extent . ,(ly:make-unpure-pure-container ly:rest::height ly:rest::pure-height))
1876 (Y-offset . ,(ly:make-unpure-pure-container ly:rest::y-offset-callback))
1877 (vertical-skylines . ,grob::unpure-vertical-skylines-from-stencil)
1878 (meta . ((class . Item)
1879 (interfaces . (font-interface
1881 rhythmic-grob-interface
1882 rhythmic-head-interface
1883 staff-symbol-referencer-interface))))))
1887 (minimum-distance . 0.75)
1888 (positioning-done . ,ly:rest-collision::calc-positioning-done)
1889 (meta . ((class . Item)
1890 (interfaces . (rest-collision-interface))))))
1895 (add-stem-support . #t)
1896 (cross-staff . ,ly:script-interface::calc-cross-staff)
1897 (direction . ,ly:script-interface::calc-direction)
1898 (font-encoding . fetaMusic)
1899 (positioning-done . ,ly:script-interface::calc-positioning-done)
1902 ;; padding set in script definitions.
1903 (slur-padding . 0.2)
1904 (staff-padding . 0.25)
1906 (stencil . ,ly:script-interface::print)
1907 (vertical-skylines . ,grob::always-vertical-skylines-from-stencil)
1908 (Y-extent . ,grob::always-Y-extent-from-stencil)
1909 (X-offset . ,script-interface::calc-x-offset)
1910 (Y-offset . ,side-position-interface::y-aligned-side)
1911 (meta . ((class . Item)
1912 (interfaces . (font-interface
1914 side-position-interface))))))
1918 (before-line-breaking . ,ly:script-column::before-line-breaking)
1919 (meta . ((class . Item)
1920 (interfaces . (script-column-interface))))))
1924 (before-line-breaking . ,ly:script-column::row-before-line-breaking)
1925 (meta . ((class . Item)
1926 (interfaces . (script-column-interface))))))
1930 (avoid-slur . inside)
1931 (control-points . ,ly:slur::calc-control-points)
1932 (cross-staff . ,ly:slur::calc-cross-staff)
1933 (details . ,default-slur-details)
1934 (direction . ,ly:slur::calc-direction)
1935 (height-limit . 2.0)
1936 (line-thickness . 0.8)
1937 (minimum-length . 1.5)
1940 (springs-and-rods . ,ly:spanner::set-spacing-rods)
1941 (stencil . ,ly:slur::print)
1943 (vertical-skylines . ,(ly:make-unpure-pure-container ly:slur::vertical-skylines ly:grob::pure-simple-vertical-skylines-from-extents))
1944 (Y-extent . ,slur::height)
1945 (meta . ((class . Spanner)
1946 (interfaces . (slur-interface))))))
1950 (direction . ,RIGHT)
1951 (extra-spacing-width . (+inf.0 . -inf.0))
1952 (font-shape . italic)
1953 (padding . 0.0) ;; padding relative to SostenutoPedalLineSpanner
1954 (self-alignment-X . ,CENTER)
1955 (stencil . ,ly:text-interface::print)
1956 (vertical-skylines . ,grob::always-vertical-skylines-from-stencil)
1957 (X-offset . ,ly:self-alignment-interface::x-aligned-on-self)
1958 (Y-extent . ,grob::always-Y-extent-from-stencil)
1959 (meta . ((class . Item)
1960 (interfaces . (font-interface
1961 piano-pedal-script-interface
1962 self-alignment-interface
1963 text-interface))))))
1965 (SostenutoPedalLineSpanner
1968 (cross-staff . ,ly:side-position-interface::calc-cross-staff)
1970 (minimum-space . 1.0)
1971 (outside-staff-priority . 1000)
1974 (staff-padding . 1.0)
1975 (vertical-skylines . ,grob::always-vertical-skylines-from-element-stencils)
1976 (X-extent . ,ly:axis-group-interface::width)
1977 (Y-extent . ,axis-group-interface::height)
1978 (Y-offset . ,side-position-interface::y-aligned-side)
1979 (meta . ((class . Spanner)
1980 (object-callbacks . ((pure-Y-common . ,ly:axis-group-interface::calc-pure-y-common)
1981 (pure-relevant-grobs . ,ly:axis-group-interface::calc-pure-relevant-grobs)))
1982 (interfaces . (axis-group-interface
1983 piano-pedal-interface
1984 side-position-interface))))))
1988 (average-spacing-wishes . #t)
1989 (base-shortest-duration . ,(ly:make-moment 3 16))
1990 (common-shortest-duration . ,ly:spacing-spanner::calc-common-shortest-duration)
1991 (shortest-duration-space . 2.0)
1992 (spacing-increment . 1.2)
1993 (springs-and-rods . ,ly:spacing-spanner::set-springs)
1994 (meta . ((class . Spanner)
1995 (interfaces . (spacing-options-interface
1996 spacing-spanner-interface))))))
2000 (allow-span-bar . #t)
2001 (bar-extent . ,axis-group-interface::height)
2002 (before-line-breaking . ,ly:span-bar::before-line-breaking)
2003 (break-align-symbol . staff-bar)
2005 (glyph-name . ,ly:span-bar::calc-glyph-name)
2008 (stencil . ,ly:span-bar::print)
2009 (X-extent . ,ly:span-bar::width)
2010 (Y-extent . (+inf.0 . -inf.0))
2011 (meta . ((class . Item)
2012 (interfaces . (bar-line-interface
2014 span-bar-interface))))))
2018 (X-extent . ,(grob::inherit-parent-property
2020 (extra-spacing-height . ,pure-from-neighbor-interface::extra-spacing-height)
2021 ;; we want this to be ignored, so empty, but the extra spacing height
2022 ;; should preserve the span bar's presence for horizontal spacing
2023 (Y-extent . ,pure-from-neighbor-interface::height-if-pure)
2024 (meta . ((class . Item)
2025 (object-callbacks . ((pure-Y-common . ,ly:axis-group-interface::calc-pure-y-common)
2026 (pure-relevant-grobs . ,ly:pure-from-neighbor-interface::calc-pure-relevant-grobs)))
2027 (interfaces . (pure-from-neighbor-interface))))))
2031 (staff-staff-spacing . ((basic-distance . 9)
2032 (minimum-distance . 7)
2034 (stretchability . 5)))
2035 (staffgroup-staff-spacing . ((basic-distance . 10.5)
2036 (minimum-distance . 8)
2038 (stretchability . 9)))
2039 (meta . ((class . Spanner)
2040 (interfaces . (staff-grouper-interface))))))
2045 (stem-spacing-correction . 0.4)
2046 (meta . ((class . Item)
2047 (interfaces . (spacing-interface
2048 staff-spacing-interface))))))
2053 (ledger-line-thickness . (1.0 . 0.1))
2055 (stencil . ,ly:staff-symbol::print)
2056 (Y-extent . ,(ly:make-unpure-pure-container ly:staff-symbol::height))
2057 (meta . ((class . Spanner)
2058 (interfaces . (staff-symbol-interface))))))
2063 (font-series . bold)
2066 (stencil . ,ly:text-interface::print)
2067 (X-offset . ,ly:side-position-interface::x-aligned-side)
2068 (Y-extent . ,grob::always-Y-extent-from-stencil)
2069 (meta . ((class . Item)
2070 (interfaces . (font-interface
2071 side-position-interface
2072 stanza-number-interface
2073 text-interface))))))
2077 (beamlet-default-length . (1.1 . 1.1))
2078 (beamlet-max-length-proportion . (0.75 . 0.75))
2079 (cross-staff . ,ly:stem::calc-cross-staff)
2080 (default-direction . ,ly:stem::calc-default-direction)
2083 ;; 3.5 (or 3 measured from note head) is standard length
2084 ;; 32nd, 64th, 128th flagged stems should be longer
2085 (lengths . (3.5 3.5 3.5 4.25 5.0 6.0))
2087 ;; FIXME. 3.5 yields too long beams (according to Ross and
2088 ;; looking at Baerenreiter examples) for a number of common
2089 ;; boundary cases. Subtracting half a beam thickness fixes
2090 ;; this, but the bug may well be somewhere else.
2092 ;; FIXME this should come from 'lengths
2093 (beamed-lengths . (3.26 3.5 3.6))
2095 ;; The 'normal' minima
2096 (beamed-minimum-free-lengths . (1.83 1.5 1.25))
2097 ;;(beamed-minimum-free-lengths . (2.0 1.83 1.25))
2099 ;; The 'extreme case' minima
2100 (beamed-extreme-minimum-free-lengths . (2.0 1.25))
2102 ;; Stems in unnatural (forced) direction should be shortened by
2103 ;; one staff space, according to [Roush & Gourlay].
2104 ;; Flagged stems we shorten only half a staff space.
2105 (stem-shorten . (1.0 0.5))
2109 ;; We use the normal minima as minimum for the ideal lengths,
2110 ;; and the extreme minima as abolute minimum length.
2112 (direction . ,ly:stem::calc-direction)
2113 (duration-log . ,stem::calc-duration-log)
2114 (length . ,(ly:make-unpure-pure-container ly:stem::calc-length ly:stem::pure-calc-length))
2115 (neutral-direction . ,DOWN)
2116 (positioning-done . ,ly:stem::calc-positioning-done)
2117 (stem-info . ,ly:stem::calc-stem-info)
2118 (stem-begin-position . ,(ly:make-unpure-pure-container ly:stem::calc-stem-begin-position ly:stem::pure-calc-stem-begin-position))
2119 (stencil . ,ly:stem::print)
2121 (X-extent . ,ly:stem::width)
2122 (X-offset . ,ly:stem::offset-callback)
2123 (Y-extent . ,(ly:make-unpure-pure-container ly:stem::height ly:stem::pure-height))
2124 (Y-offset . ,staff-symbol-referencer::callback)
2125 (meta . ((class . Item)
2126 (interfaces . (stem-interface))))))
2130 (X-extent . ,stem-stub::width)
2131 (extra-spacing-height . ,stem-stub::extra-spacing-height)
2132 (Y-extent . ,(ly:make-unpure-pure-container #f stem-stub::pure-height))
2133 (meta . ((class . Item)
2134 (interfaces . ())))))
2138 (beam-thickness . 0.48) ; staff-space
2139 (beam-width . ,ly:stem-tremolo::calc-width) ; staff-space
2140 (direction . ,ly:stem-tremolo::calc-direction)
2141 (slope . ,ly:stem-tremolo::calc-slope)
2142 (stencil . ,ly:stem-tremolo::print)
2143 (style . ,ly:stem-tremolo::calc-style)
2144 (X-extent . ,ly:stem-tremolo::width)
2145 (Y-extent . ,(grob::unpure-Y-extent-from-stencil ly:stem-tremolo::pure-height))
2146 (X-offset . ,(ly:make-simple-closure
2148 ,(ly:make-simple-closure
2149 (list ly:self-alignment-interface::centered-on-x-parent))
2150 ,(ly:make-simple-closure
2151 (list ly:self-alignment-interface::x-aligned-on-self)))))
2152 (Y-offset . ,(ly:make-unpure-pure-container ly:stem-tremolo::calc-y-offset ly:stem-tremolo::pure-calc-y-offset))
2153 (meta . ((class . Item)
2154 (interfaces . (self-alignment-interface
2155 stem-tremolo-interface))))))
2159 (avoid-slur . around)
2160 (cross-staff . ,script-or-side-position-cross-staff)
2161 (font-encoding . fetaText)
2162 (font-size . -5) ; don't overlap when next to heads.
2164 (script-priority . 100)
2165 (self-alignment-X . ,CENTER)
2166 (self-alignment-Y . ,CENTER)
2167 (staff-padding . 0.5)
2168 (stencil . ,print-circled-text-callback)
2169 (text . ,string-number::calc-text)
2170 (Y-extent . ,grob::always-Y-extent-from-stencil)
2171 (meta . ((class . Item)
2172 (interfaces . (font-interface
2173 self-alignment-interface
2174 side-position-interface
2175 string-number-interface
2177 text-script-interface))))))
2181 (digit-names . #("p" "i" "m" "a" "x"))
2182 (font-shape . italic)
2183 (font-size . -4) ; don't overlap when next to heads.
2185 (script-priority . 100)
2186 (self-alignment-X . ,CENTER)
2187 (self-alignment-Y . ,CENTER)
2188 (staff-padding . 0.5)
2189 (stencil . ,ly:text-interface::print)
2190 (text . ,stroke-finger::calc-text)
2191 (Y-extent . ,grob::always-Y-extent-from-stencil)
2192 (meta . ((class . Item)
2193 (interfaces . (font-interface
2194 self-alignment-interface
2195 side-position-interface
2196 stroke-finger-interface
2198 text-script-interface))))))
2202 (direction . ,RIGHT)
2203 (extra-spacing-width . (+inf.0 . -inf.0))
2204 (padding . 0.0) ;; padding relative to SustainPedalLineSpanner
2205 (self-alignment-X . ,CENTER)
2206 (stencil . ,ly:sustain-pedal::print)
2207 (vertical-skylines . ,grob::always-vertical-skylines-from-stencil)
2208 (X-offset . ,ly:self-alignment-interface::x-aligned-on-self)
2209 (Y-extent . ,grob::always-Y-extent-from-stencil)
2210 (meta . ((class . Item)
2211 (interfaces . (font-interface
2212 piano-pedal-interface
2213 piano-pedal-script-interface
2214 self-alignment-interface
2215 text-interface))))))
2217 (SustainPedalLineSpanner
2220 (cross-staff . ,ly:side-position-interface::calc-cross-staff)
2222 (minimum-space . 1.0)
2223 (outside-staff-priority . 1000)
2226 (staff-padding . 1.2)
2227 (vertical-skylines . ,grob::always-vertical-skylines-from-element-stencils)
2228 (X-extent . ,ly:axis-group-interface::width)
2229 (Y-extent . ,axis-group-interface::height)
2230 (Y-offset . ,side-position-interface::y-aligned-side)
2231 (meta . ((class . Spanner)
2232 (object-callbacks . ((pure-Y-common . ,ly:axis-group-interface::calc-pure-y-common)
2233 (pure-relevant-grobs . ,ly:axis-group-interface::calc-pure-relevant-grobs)))
2234 (interfaces . (axis-group-interface
2235 piano-pedal-interface
2236 side-position-interface))))))
2240 (adjacent-pure-heights . ,ly:axis-group-interface::adjacent-pure-heights)
2242 (outside-staff-placement-directive . left-to-right-polite)
2243 (skyline-horizontal-padding . 1.0)
2244 (vertical-skylines . ,ly:axis-group-interface::calc-skylines)
2245 (X-extent . ,ly:axis-group-interface::width)
2246 (Y-extent . ,(ly:make-unpure-pure-container ly:system::height ly:system::calc-pure-height))
2247 (meta . ((class . System)
2248 (object-callbacks . ((footnotes-before-line-breaking . ,ly:system::footnotes-before-line-breaking)
2249 (footnotes-after-line-breaking . ,ly:system::footnotes-after-line-breaking)
2250 (pure-relevant-grobs . ,ly:system::calc-pure-relevant-grobs)
2251 (pure-Y-common . ,ly:axis-group-interface::calc-pure-y-common)
2252 (vertical-skyline-elements . ,ly:system::vertical-skyline-elements)
2253 (vertical-alignment . ,ly:system::get-vertical-alignment)))
2254 (interfaces . (axis-group-interface
2255 system-interface))))))
2259 (collapse-height . 5.0)
2263 (padding . -0.1) ;; bar must cover rounded ending of staff line.
2264 (stencil . ,ly:system-start-delimiter::print)
2267 (X-offset . ,ly:side-position-interface::x-aligned-side)
2268 (meta . ((class . Spanner)
2269 (interfaces . (side-position-interface
2270 system-start-delimiter-interface))))))
2274 (collapse-height . 5.0)
2276 (font-encoding . fetaBraces)
2278 (stencil . ,ly:system-start-delimiter::print)
2280 (X-offset . ,ly:side-position-interface::x-aligned-side)
2281 (meta . ((class . Spanner)
2282 (interfaces . (font-interface
2283 side-position-interface
2284 system-start-delimiter-interface))))))
2288 (collapse-height . 5.0)
2291 (stencil . ,ly:system-start-delimiter::print)
2294 (X-offset . ,ly:side-position-interface::x-aligned-side)
2295 (meta . ((class . Spanner)
2296 (interfaces . (font-interface
2297 side-position-interface
2298 system-start-delimiter-interface))))))
2303 (stencil . ,ly:system-start-delimiter::print)
2304 (style . line-bracket)
2306 (X-offset . ,ly:side-position-interface::x-aligned-side)
2307 (meta . ((class . Spanner)
2308 (interfaces . (font-interface
2309 side-position-interface
2310 system-start-delimiter-interface))))))
2315 (details . ((cautionary-properties . ((angularity . 0.4)
2316 (half-thickness . 0.075)
2318 (procedure . ,parenthesize-stencil)
2321 (harmonic-properties . ((angularity . 2)
2322 (half-thickness . 0.075)
2324 (procedure . ,parenthesize-stencil)
2326 (repeat-tied-properties . ((note-head-visible . #t)
2327 (parenthesize . #t)))
2328 (tied-properties . ((break-visibility . ,begin-of-line-visible)
2329 (parenthesize . #t)))))
2331 (direction . ,CENTER)
2332 (duration-log . ,note-head::calc-duration-log)
2333 (font-series . bold)
2335 (stem-attachment . (0.0 . 1.35))
2336 (stencil . ,tab-note-head::print)
2338 (X-offset . ,ly:self-alignment-interface::x-aligned-on-self)
2339 (Y-offset . ,staff-symbol-referencer::callback)
2340 (Y-extent . ,grob::always-Y-extent-from-stencil)
2341 (meta . ((class . Item)
2342 (interfaces . (font-interface
2344 rhythmic-grob-interface
2345 rhythmic-head-interface
2346 staff-symbol-referencer-interface
2347 tab-note-head-interface
2348 text-interface))))))
2352 (avoid-slur . around)
2353 (cross-staff . ,script-or-side-position-cross-staff)
2355 (extra-spacing-width . (+inf.0 . -inf.0))
2356 (outside-staff-horizontal-padding . 0.12)
2357 (outside-staff-priority . 450)
2359 ;; sync with Fingering ?
2362 (script-priority . 200)
2364 (slur-padding . 0.5)
2365 (staff-padding . 0.5)
2366 (stencil . ,ly:text-interface::print)
2367 (vertical-skylines . ,grob::always-vertical-skylines-from-stencil)
2368 ;; todo: add X self alignment?
2369 (Y-extent . ,grob::always-Y-extent-from-stencil)
2370 (X-offset . ,ly:self-alignment-interface::x-aligned-on-self)
2371 (Y-offset . ,side-position-interface::y-aligned-side)
2372 (meta . ((class . Item)
2373 (interfaces . (font-interface
2374 instrument-specific-markup-interface
2375 self-alignment-interface
2376 side-position-interface
2378 text-script-interface))))))
2382 (bound-details . ((left . ((Y . 0)
2384 (attach-dir . ,LEFT)
2386 (left-broken . ((attach-dir . ,RIGHT)))
2391 (dash-fraction . 0.2)
2394 (font-shape . italic)
2395 (left-bound-info . ,ly:line-spanner::calc-left-bound-info)
2396 (outside-staff-priority . 350)
2397 (right-bound-info . ,ly:line-spanner::calc-right-bound-info)
2399 (staff-padding . 0.8)
2400 (stencil . ,ly:line-spanner::print)
2401 (style . dashed-line)
2402 (Y-offset . ,side-position-interface::y-aligned-side)
2404 (meta . ((class . Spanner)
2405 (interfaces . (font-interface
2407 line-spanner-interface
2408 side-position-interface))))))
2412 (avoid-slur . inside)
2413 (control-points . ,ly:tie::calc-control-points)
2415 ;; for a full list, see tie-details.cc
2417 (center-staff-line-clearance . 0.6)
2418 (tip-staff-line-clearance . 0.45)
2419 (note-head-gap . 0.2)
2421 (height-limit . 1.0)
2422 (horizontal-distance-penalty-factor . 10)
2423 (same-dir-as-stem-penalty . 8)
2424 (min-length-penalty-factor . 26)
2425 (tie-tie-collision-distance . 0.45)
2426 (tie-tie-collision-penalty . 25.0)
2427 (intra-space-threshold . 1.25)
2428 (outer-tie-vertical-distance-symmetry-penalty-factor . 10)
2429 (outer-tie-length-symmetry-penalty-factor . 10)
2430 (vertical-distance-penalty-factor . 7)
2431 (outer-tie-vertical-gap . 0.25)
2432 (multi-tie-region-size . 3)
2433 (single-tie-region-size . 4)
2434 (between-length-limit . 1.0)))
2436 (direction . ,ly:tie::calc-direction)
2438 (line-thickness . 0.8)
2439 (neutral-direction . ,UP)
2440 (springs-and-rods . ,ly:spanner::set-spacing-rods)
2441 (stencil . ,ly:tie::print)
2442 (vertical-skylines . ,grob::unpure-vertical-skylines-from-stencil)
2444 (meta . ((class . Spanner)
2445 (interfaces . (tie-interface))))))
2449 (before-line-breaking . ,ly:tie-column::before-line-breaking)
2450 (positioning-done . ,ly:tie-column::calc-positioning-done)
2453 (meta . ((class . Spanner)
2454 (interfaces . (tie-column-interface))))))
2458 (avoid-slur . inside)
2460 . ,ly:break-aligned-interface::calc-extent-aligned-anchor)
2461 (break-align-symbol . time-signature)
2462 (break-align-anchor-alignment . ,LEFT)
2463 (break-visibility . ,all-visible)
2464 (extra-spacing-height . ,pure-from-neighbor-interface::extra-spacing-height-including-staff)
2465 (extra-spacing-width . (0.0 . 0.8))
2468 (cue-clef . (extra-space . 1.5))
2469 (first-note . (fixed-space . 2.0))
2470 (right-edge . (extra-space . 0.5))
2471 (staff-bar . (extra-space . 1.0))))
2472 (stencil . ,ly:time-signature::print)
2473 (Y-extent . ,grob::always-Y-extent-from-stencil)
2475 (meta . ((class . Item)
2476 (object-callbacks . ((pure-Y-common . ,ly:axis-group-interface::calc-pure-y-common)
2477 (pure-relevant-grobs . ,ly:pure-from-neighbor-interface::calc-pure-relevant-grobs)))
2478 (interfaces . (break-aligned-interface
2480 pure-from-neighbor-interface
2481 time-signature-interface))))))
2483 (TrillPitchAccidental
2487 (glyph-name-alist . ,standard-alteration-glyph-name-alist)
2490 (stencil . ,ly:accidental-interface::print)
2491 (X-offset . ,ly:side-position-interface::x-aligned-side)
2492 (Y-extent . ,accidental-interface::height)
2493 (meta . ((class . Item)
2494 (interfaces . (accidental-interface
2496 inline-accidental-interface
2497 side-position-interface
2498 trill-pitch-accidental-interface))))))
2503 (direction . ,RIGHT)
2507 (stencil . ,parenthesize-elements)
2508 (stencils . ,parentheses-item::calc-parenthesis-stencils)
2509 ;; offset a bit to the right, further if needed to clear the main note
2510 (X-offset . ,(lambda (grob)
2511 (ly:side-position-interface::x-aligned-side grob 2.5)))
2512 (Y-extent . ,grob::always-Y-extent-from-stencil)
2513 (meta . ((class . Item)
2514 (interfaces . (axis-group-interface
2517 parentheses-interface
2518 side-position-interface))))))
2524 (stencil . ,ly:note-head::print)
2525 (Y-offset . ,staff-symbol-referencer::callback)
2526 (Y-extent . ,grob::always-Y-extent-from-stencil)
2527 (meta . ((class . Item)
2528 (interfaces . (font-interface
2530 pitched-trill-interface
2531 rhythmic-head-interface
2532 staff-symbol-referencer-interface))))))
2536 (after-line-breaking . ,ly:spanner::kill-zero-spanned-time)
2537 (bound-details . ((left . ((text . ,(make-musicglyph-markup "scripts.trill"))
2539 (stencil-offset . (-0.5 . -1))
2541 (attach-dir . ,CENTER)
2543 (left-broken . ((end-on-note . #t)))
2547 (left-bound-info . ,ly:line-spanner::calc-left-bound-info)
2548 (outside-staff-priority . 50)
2550 (right-bound-info . ,ly:line-spanner::calc-right-bound-info)
2552 (staff-padding . 1.0)
2553 (stencil . ,ly:line-spanner::print)
2555 (Y-offset . ,side-position-interface::y-aligned-side)
2556 (meta . ((class . Spanner)
2557 (interfaces . (font-interface
2559 line-spanner-interface
2560 side-position-interface
2561 trill-spanner-interface))))))
2565 (avoid-scripts . #t)
2566 (connect-to-neighbor . ,ly:tuplet-bracket::calc-connect-to-neighbors)
2567 (cross-staff . ,ly:tuplet-bracket::calc-cross-staff)
2568 (direction . ,ly:tuplet-bracket::calc-direction)
2569 (edge-height . (0.7 . 0.7))
2570 (full-length-to-extent . #t)
2572 (positions . ,ly:tuplet-bracket::calc-positions)
2573 (shorten-pair . (-0.2 . -0.2))
2574 (staff-padding . 0.25)
2575 (stencil . ,ly:tuplet-bracket::print)
2577 (vertical-skylines . ,grob::unpure-vertical-skylines-from-stencil)
2578 (X-positions . ,ly:tuplet-bracket::calc-x-positions)
2580 (meta . ((class . Spanner)
2581 (interfaces . (line-interface
2582 tuplet-bracket-interface))))))
2586 (avoid-slur . inside)
2587 (cross-staff . ,ly:tuplet-number::calc-cross-staff)
2588 (direction . ,tuplet-number::calc-direction)
2589 (font-shape . italic)
2591 (stencil . ,ly:tuplet-number::print)
2592 (text . ,tuplet-number::calc-denominator-text)
2593 (X-offset . ,ly:tuplet-number::calc-x-offset)
2594 (Y-offset . ,ly:tuplet-number::calc-y-offset)
2595 (meta . ((class . Spanner)
2596 (interfaces . (font-interface
2598 tuplet-number-interface))))))
2603 (direction . ,RIGHT)
2604 (extra-spacing-width . (+inf.0 . -inf.0))
2605 (font-shape . italic)
2606 (padding . 0.0) ;; padding relative to UnaCordaPedalLineSpanner
2607 (self-alignment-X . ,CENTER)
2608 (stencil . ,ly:text-interface::print)
2609 (vertical-skylines . ,grob::always-vertical-skylines-from-stencil)
2610 (Y-extent . ,grob::always-Y-extent-from-stencil)
2611 (X-offset . ,ly:self-alignment-interface::x-aligned-on-self)
2612 (meta . ((class . Item)
2613 (interfaces . (font-interface
2614 piano-pedal-script-interface
2615 self-alignment-interface
2616 text-interface))))))
2618 (UnaCordaPedalLineSpanner
2621 (cross-staff . ,ly:side-position-interface::calc-cross-staff)
2623 (minimum-space . 1.0)
2624 (outside-staff-priority . 1000)
2627 (staff-padding . 1.2)
2628 (vertical-skylines . ,grob::always-vertical-skylines-from-element-stencils)
2629 (X-extent . ,ly:axis-group-interface::width)
2630 (Y-extent . ,axis-group-interface::height)
2631 (Y-offset . ,side-position-interface::y-aligned-side)
2632 (meta . ((class . Spanner)
2633 (object-callbacks . ((pure-Y-common . ,ly:axis-group-interface::calc-pure-y-common)
2634 (pure-relevant-grobs . ,ly:axis-group-interface::calc-pure-relevant-grobs)))
2635 (interfaces . (axis-group-interface
2636 piano-pedal-interface
2637 side-position-interface))))))
2643 (stencil . ,ly:vaticana-ligature::print)
2645 (meta . ((class . Spanner)
2646 (interfaces . (font-interface
2647 vaticana-ligature-interface))))))
2652 (positioning-done . ,ly:align-interface::align-to-ideal-distances)
2654 (vertical-skylines . ,ly:axis-group-interface::combine-skylines)
2655 (X-extent . ,ly:axis-group-interface::width)
2656 (Y-extent . ,axis-group-interface::height)
2657 (meta . ((class . Spanner)
2658 (object-callbacks . ((Y-common . ,ly:axis-group-interface::calc-y-common)
2659 (pure-relevant-grobs . ,ly:axis-group-interface::calc-pure-relevant-grobs)
2660 (pure-Y-common . ,ly:axis-group-interface::calc-pure-y-common)))
2661 (interfaces . (align-interface
2662 axis-group-interface))))))
2666 (adjacent-pure-heights . ,ly:axis-group-interface::adjacent-pure-heights)
2668 (default-staff-staff-spacing . ((basic-distance . 9)
2669 (minimum-distance . 8)
2671 (nonstaff-unrelatedstaff-spacing . ((padding . 0.5)))
2672 (outside-staff-placement-directive . left-to-right-polite)
2673 (staff-staff-spacing . ,(ly:make-unpure-pure-container ly:axis-group-interface::calc-staff-staff-spacing ly:axis-group-interface::calc-pure-staff-staff-spacing))
2674 (stencil . ,ly:axis-group-interface::print)
2675 (skyline-horizontal-padding . 0.1)
2676 (vertical-skylines . ,ly:hara-kiri-group-spanner::calc-skylines)
2677 (X-extent . ,ly:axis-group-interface::width)
2678 (Y-extent . ,(ly:make-unpure-pure-container ly:hara-kiri-group-spanner::y-extent ly:hara-kiri-group-spanner::pure-height))
2679 (Y-offset . ,ly:hara-kiri-group-spanner::force-hara-kiri-callback)
2680 (meta . ((class . Spanner)
2681 (object-callbacks . (
2682 (X-common . ,ly:axis-group-interface::calc-x-common)
2683 (pure-Y-common . ,ly:axis-group-interface::calc-pure-y-common)
2684 (pure-relevant-grobs . ,ly:axis-group-interface::calc-pure-relevant-grobs)))
2686 (interfaces . (axis-group-interface
2687 hara-kiri-group-spanner-interface))))))
2691 (after-line-breaking . ,ly:spanner::kill-zero-spanned-time)
2692 (bound-details . ((right . ((attach-dir . ,CENTER)
2695 (left . ((attach-dir . ,CENTER)
2701 (left-bound-info . ,ly:line-spanner::calc-left-bound-info)
2703 (right-bound-info . ,ly:line-spanner::calc-right-bound-info)
2704 (stencil . ,ly:line-spanner::print)
2708 (meta . ((class . Spanner)
2709 (interfaces . (line-interface
2710 line-spanner-interface))))))
2715 (edge-height . (2.0 . 2.0)) ;; staff-space;
2716 (font-encoding . fetaText)
2718 (shorten-pair . ,ly:volta-bracket::calc-shorten-pair)
2719 (stencil . ,ly:volta-bracket-interface::print)
2720 (thickness . 1.6) ;; line-thickness
2722 (vertical-skylines . ,grob::unpure-vertical-skylines-from-stencil)
2723 (Y-extent . ,(grob::unpure-Y-extent-from-stencil volta-bracket-interface::pure-height))
2724 (meta . ((class . Spanner)
2725 (interfaces . (font-interface
2726 horizontal-bracket-interface
2728 side-position-interface
2730 volta-bracket-interface
2731 volta-interface))))))
2733 (VoltaBracketSpanner
2735 (after-line-breaking . ,ly:side-position-interface::move-to-extremal-staff)
2739 (outside-staff-priority . 600)
2742 (vertical-skylines . ,grob::always-vertical-skylines-from-element-stencils)
2743 (X-extent . ,ly:axis-group-interface::width)
2744 (Y-extent . ,axis-group-interface::height)
2745 (Y-offset . ,side-position-interface::y-aligned-side)
2746 (meta . ((class . Spanner)
2747 (object-callbacks . ((pure-Y-common . ,ly:axis-group-interface::calc-pure-y-common)
2748 (pure-relevant-grobs . ,ly:axis-group-interface::calc-pure-relevant-grobs)))
2749 (interfaces . (axis-group-interface
2750 side-position-interface
2751 volta-interface))))))
2755 (define (completize-grob-entry x)
2756 "Transplant assoc key into 'name entry of 'meta of X. Set interfaces for Item, Spanner etc.
2758 ;; (display (car x))
2760 (let* ((name-sym (car x))
2761 (grob-entry (cdr x))
2762 (meta-entry (assoc-get 'meta grob-entry))
2763 (class (assoc-get 'class meta-entry))
2765 (assoc-get 'interfaces meta-entry)))
2769 (set! ifaces-entry (cons 'item-interface ifaces-entry)))
2770 ((eq? 'Spanner class)
2771 (set! ifaces-entry (cons 'spanner-interface ifaces-entry)))
2772 ((eq? 'Paper_column class)
2773 (set! ifaces-entry (cons 'item-interface
2774 (cons 'paper-column-interface ifaces-entry))))
2775 ((eq? 'System class)
2776 (set! ifaces-entry (cons 'system-interface
2777 (cons 'spanner-interface ifaces-entry))))
2779 (ly:warning "Unknown class ~a" class)))
2781 (set! ifaces-entry (uniq-list (sort ifaces-entry symbol<?)))
2782 (set! ifaces-entry (cons 'grob-interface ifaces-entry))
2784 (set! meta-entry (assoc-set! meta-entry 'name name-sym))
2785 (set! meta-entry (assoc-set! meta-entry 'interfaces
2787 (set! grob-entry (assoc-set! grob-entry 'meta meta-entry))
2788 (cons name-sym grob-entry)))
2790 (set! all-grob-descriptions (map completize-grob-entry all-grob-descriptions))
2792 ;; (display (map pair? all-grob-descriptions))
2794 ;; make sure that \property Foo.Bar =\turnOff doesn't complain
2797 ;; (display (car x)) (newline)
2799 (set-object-property! (car x) 'translation-type? list?)
2800 (set-object-property! (car x) 'is-grob? #t))
2801 all-grob-descriptions)
2803 (set! all-grob-descriptions (sort all-grob-descriptions alist<?))