Next: , Previous: StanzaNumber, Up: All layout objects



Stem

Stem objects are created by: Stem_engraver

Standard settings:

before-line-breaking-callback (procedure):
Stem::before_line_breaking

This procedure is called before line breaking, but after splitting breakable items at potential line breaks.

print-function (procedure):
Stem::print

Function taking grob as argument, returning a Stencil object.

thickness (number):
1.3

Bar line thickness, measured in linethickness.

lengths (list):
'(3.5 3.5 3.5 4.5 5.0)

Default stem lengths. The list gives a length for each flag-count.

stem-shorten (list):
'(1.0 0.5)

How much a stem in a forced direction should be shortened. The list gives an amount depending on the number of flags/beams.

neutral-direction (direction):
-1

Which direction to take in the center of the staff.

beamed-lengths (list):
'(3.5 3.5 3.5 4.5 5.0)

list of stem lengths given beam multiplicity .

beamed-minimum-free-lengths (list):
'(1.83 1.5 1.25)

list of normal minimum free stem lengths (chord to beams) given beam multiplicity.

beamed-extreme-minimum-free-lengths (list):
'(2.0 1.25)

list of extreme minimum free stem lengths (chord to beams) given beam multiplicity.

X-offset-callbacks (list):
'(#<primitive-procedure Stem::off_callback>)

A list of functions determining this objects' position relative to its parent. The last one in the list is called first. The functions take a grob and axis argument.

X-extent-callback (procedure):
Stem::dim_callback

Procedure that calculates the extent of this object. If this value is set to #f, the object is empty in the X direction. The procedure takes a grob and axis argument, and returns a number-pair.

Y-extent-callback (procedure):
Stem::height

see X-extent-callback.

Y-offset-callbacks (list):
'(#<primitive-procedure Staff_symbol_referencer::callback>)

see X-offset-callbacks.

This object supports the following interfaces: item-interface, font-interface, stem-interface and grob-interface

Read comments on this page, or add one.

This page is for LilyPond-2.2.6 (stable-branch).

Report errors to <bug-lilypond@gnu.org>.