TextSpanner - LilyPond program-reference
Description: LilyPond program-reference

Next: Tie, Previous: TextScript, Up: All layout objects

#### TextSpanner

TextSpanner objects are created by: Dynamic_engraver and Text_spanner_engraver

Standard settings:

`Y-offset` (number):
  `ly:side-position-interface::y-aligned-side`

  The vertical amount that this object is moved relative to its Y-parent

`font-shape` (symbol):
  `'italic`

  Select the shape of a font. Choices include `upright`, `italic`, `caps`.

`style` (symbol):
  `'dashed-line`

  This setting determines in what style a grob is typeset. Valid choices depend on the `stencil` callback reading this property.

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

  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.

`dash-fraction` (number):
  `0.2`

  Size of the dashes, relative to dash-period. Should be between 0.0 (no line) and 1.0 (continuous line).

`dash-period` (number):
  `3.0`

  the length of one dash + white space. If negative, no line is drawn at all.

`side-axis` (number):
  `1`

  Is this object horizontally or vertically next to another object?

`direction` (direction):
  `1`

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

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

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

Other languages: English.
Using automatic language selection.