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:

`stencil` (unknown):
  `ly:text-spanner::print`

  The symbol to print.

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

  If the value is #X (or equivalently 1), the object is placed horizontally next to the other object. If the value is #Y or 0, it is placed vertically.

`direction` (direction):
  `1`

  If side-position is 1 (#X), then this property determines if the object is placed #LEFT, #CENTER or #RIGHT with respect to the other object. Otherwise, it determines if the object is placed #UP #CENTER or #DOWN. Numerical values may also be used. #UP=1, #DOWN=-1, #LEFT=-1, #RIGHT=1, CENTER=0 but also other numerical values are permitted.

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

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

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