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



Script

Script objects are created by: Drum_notes_engraver and Script_engraver

Standard settings:

print-function (procedure):
Script_interface::print

Function taking grob as argument, returning a Stencil object.

padding (dimension, in staff space):
0.2

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

staff-padding (dimension, in staff space):
0.25

Maintain this much space between reference points and the staff. Its effect is to align objects of differing sizes (like the dynamic p and f) on their baselines.

X-offset-callbacks (list):
'(#<primitive-procedure Self_alignment_interface::centered_on_parent>)

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.

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

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

font-encoding (symbol):
'music

The font encoding is the broadest category for selecting a font. Options include: music, number, text, math, braces, dynamic

This object supports the following interfaces: item-interface, font-interface, side-position-interface, script-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>.