| [ << Backend ] | [Top][Contents][Index] | [ Scheme functions >> ] |
[ < CueEndClef ] | [ Up: All layout objects ] | [ Divisio > ] |
3.1.40 Custos
A custos, mainly used in older notation like Gregorian chant.
Custos objects are created by the following engraver(s): Custos_engraver.
Standard settings:
break-align-symbol(symbol):
'custosThis key is used for aligning, ordering, and spacing breakable items. See break-alignment-interface.
break-visibility(vector): #(#t #f #f)A vector of 3 booleans,
#(end-of-line unbroken begin-of-line).#tmeans visible,#fmeans killed.neutral-direction(direction):
-1Which direction to take in the center of the staff.
no-ledgers(boolean):
#fIf set, don’t draw ledger lines on this object.
non-musical(boolean):
#tTrue if the grob belongs to a
NonMusicalPaperColumn.space-alist(alist, with symbols as keys): '((first-note minimum-fixed-space . 0.0) (right-edge extra-space . 0.1))An alist that specifies distances from this grob to other breakable items, using the format:
'((break-align-symbol . (spacing-style . space)) (break-align-symbol . (spacing-style . space)) ...)Standard choices for
break-align-symbolare listed in break-alignment-interface. Additionally, three special break-align symbols available tospace-alistare:
first-noteused when the grob is just left of the first note on a line
next-noteused when the grob is just left of any other note; if not set, the value of
first-notegets usedright-edgeused when the grob is the last item on the line (only compatible with the
extra-spacespacing style)If
space-alistis defined for a grob that gets spaced in a staff, an entry forfirst-notemust be present. If there is nonext-noteentry, the value offirst-noteis used instead.Choices for
spacing-styleare:
extra-spacePut this much space between the two grobs. The space is stretchable and shrinkable when paired with
first-noteornext-note; otherwise it is fixed.minimum-spacePut at least this much space between the left sides of both grobs, without allowing them to collide. The space is stretchable and shrinkable when paired with
first-noteornext-note; otherwise it is fixed. Not compatible withright-edge.fixed-spaceOnly compatible with
first-noteandnext-note. Put this much fixed space between the grob and the note.minimum-fixed-spaceOnly compatible with
first-noteandnext-note. Put at least this much fixed space between the left side of the grob and the left side of the note, without allowing them to collide.semi-fixed-spaceOnly compatible with
first-noteandnext-note. Put this much space between the grob and the note, such that half of the space is fixed and half is stretchable and shrinkable.shrink-spaceOnly compatible with
first-noteandnext-note. Put this much space between the two grobs. The space is only shrinkable.semi-shrink-spaceOnly compatible with
first-noteandnext-note. Put this much space between the grob and the note, such that half of the space is fixed and half is shrinkable.Rules for this spacing are much more complicated than this. See [Wanske] page 126–134, [Ross] page 143–147.
stencil(stencil):
custos::printThe symbol to print.
style(symbol):
'vaticanaThis setting determines in what style a grob is typeset. Valid choices depend on the
stencilcallback reading this property.Y-offset(number):
#<unpure-pure-container ly:staff-symbol-referencer::callback >The vertical amount that this object is moved relative to its Y-parent.
Note that many objects have special positioning considerations, which cause any setting of
Y-offsetto be ignored or modified, even though the object supports theself-alignment-interface.
Remarks:
- The
ledger-positionsproperty holds positions that are taken as-is. Ledger lines may be placed on staff lines. Ifledger-positionsis not set for this grob but forNoteHead, use the latter one. If this isn’t set either, use either the value set viaStaffSymbolor fall back to the standard value.
This object supports the following interface(s):
break-aligned-interface, custos-interface, font-interface, grob-interface, item-interface, ledgered-grob-interface and staff-symbol-referencer-interface.
This object is of class Item (characterized by item-interface).
| [ << Backend ] | [Top][Contents][Index] | [ Scheme functions >> ] |
[ < CueEndClef ] | [ Up: All layout objects ] | [ Divisio > ] |