3.1.100 Parentheses

A grob to create parentheses around other grobs.

Parentheses objects are created by the following engraver(s): Parenthesis_engraver.

Standard settings:

break-visibility (vector):

#<procedure at lily/output-lib.scm:3284:0 (grob)>

A vector of 3 booleans, #(end-of-line unbroken begin-of-line). #t means visible, #f means killed.

font-size (number):

-6

The font size, compared to the ‘normal’ size. 0 is style-sheet’s normal size, -1 is smaller, +1 is bigger. Each step of 1 is approximately 12% larger; 6 steps are exactly a factor 2 larger. If the context property fontSize is set, its value is added to this before the glyph is printed. Fractional values are allowed.

padding (dimension, in staff space):

0.2

Add this much extra space between objects that are next to each other.

stencil (stencil):

parentheses-interface::print

The symbol to print.

stencils (list):

parentheses-interface::calc-parenthesis-stencils

Multiple stencils, used as intermediate value.

Y-extent (pair of numbers):

#<unpure-pure-container #<procedure parentheses-interface::calc-Y-extent (grob)> >

Extent (size) in the Y direction, measured in staff-space units, relative to object’s reference point.

Y-offset (number):

#<unpure-pure-container #<procedure at lily/output-lib.scm:1194:0 (grob . rest)> >

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-offset to be ignored or modified, even though the object supports the self-alignment-interface.

This object supports the following interface(s): font-interface, grob-interface, parentheses-interface and sticky-grob-interface.

This object can be of either of the following classes: Item (characterized by item-interface) or Spanner (characterized by spanner-interface). It supports the following interfaces conditionally depending on the class: item-interface and spanner-interface.


LilyPond Internals Reference v2.25.22 (development-branch).