Script - LilyPond program-reference
Description: LilyPond program-reference

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

#### Script

Script objects are created by: Drum_notes_engraver and Script_engraver

Standard settings:

`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` (number):
  `ly:self-alignment-interface::centered-on-x-parent`

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

`direction` (direction):
  `ly:script-interface::calc-direction`

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

`font-encoding` (symbol):
  `'fetaMusic`

  The font encoding is the broadest category for selecting a font. Options include: `fetaMusic`, `fetaNumber`, `TeX-text`, `TeX-math`, `fetaBraces`, `fetaDynamic`

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

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

Other languages: English.
Using automatic language selection.