#### TextScript

TextScript objects are created by: Text_engraver

Standard settings:

`print-function` (procedure):
  `Text_item::print`

  Function taking grob as argument, returning a `Stencil` object.

`no-spacing-rods` (boolean):
  `#t`

  Items with this property do not cause spacing constraints.

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

  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.

`direction` (direction):
  `-1`

  Up or down, left or right?

`padding` (dimension, in staff space):
  `0.5`

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

`staff-padding` (dimension, in staff space):
  `0.5`

  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.

`script-priority` (number):
  `200`

  A sorting key that determines in what order a script is within a stack of scripts.

This object supports the following interfaces: item-interface, font-interface, side-position-interface, text-interface, text-script-interface and grob-interface

Read comments on this page, or add one. This page is for LilyPond-2.2.2 (stable-branch).