TextScript - LilyPond program-reference
Description: LilyPond program-reference

Next: TextSpanner, Previous: TabNoteHead, Up: All layout objects

#### TextScript

TextScript objects are created by: Text_engraver

Standard settings:

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

  Items with this property do not cause spacing constraints.

`X-offset` (number):
  `ly:self-alignment-interface::x-aligned-on-self`

  The horizontal amount that this object is moved relative to its X-parent

`direction` (direction):
  `-1`

  #UP or #DOWN, #LEFT or #RIGHT? (or a numerical value, #UP=1, #DOWN=-1, #LEFT=-1, #RIGHT=1, CENTER=0)

`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.

`direction` (direction):
  `-1`

  #UP or #DOWN, #LEFT or #RIGHT? (or a numerical value, #UP=1, #DOWN=-1, #LEFT=-1, #RIGHT=1, CENTER=0)

`avoid-slur` (symbol):
  `'around`

  Method of handling slur collisions. Choices are `around`, `inside`, `outside`. If unset, script and slur ignore eachother.

`slur-padding` (number):
  `0.5`

  Extra distance between slur and script.

`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: font-interface, side-position-interface, text-interface, text-script-interface, item-interface and grob-interface

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

Other languages: English.
Using automatic language selection.