#### TextSpanner

TextSpanner objects are created by: Dynamic_engraver and Text_spanner_engraver

Standard settings:

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

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

`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 `print-function` that is reading this property.

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

  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.

`direction` (direction):
  `1`

  Up or down, left or right?

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

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