text-spanner-interface - LilyPond program-reference
Description: LilyPond program-reference

Next: tie-column-interface, Previous: text-script-interface, Up: Graphical Object Interfaces

#### text-spanner-interface

generic text spanner

##### User settable properties:

`bound-padding` (number)
  The amount of padding to insert around spanner bounds.
`bracket-flare` (pair of numbers)
  A pair of numbers specifying how much edges of brackets should slant outward. Value 0.0 means straight edges
`dash-fraction` (number)
  Size of the dashes, relative to dash-period. Should be between 0.0 (no line) and 1.0 (continuous line).
`dash-period` (number)
  the length of one dash + white space. If negative, no line is drawn at all.
`edge-height` (pair)
  A pair of number specifying the heights of the vertical edges '(left-height . right-height).
`edge-text` (pair)
  A pair specifying the texts to be set at the edges '(left-text . right-text).
`enclose-bounds` (number)
  How much of the bound a spanner should enclose: +1 = completely, 0 = center, -1 not at all.
`shorten-pair` (pair of numbers)
  The lengths to shorten a text-spanner on both sides, for example a pedal bracket. Positive values shorten the text-spanner, while negative values lengthen it.
`style` (symbol)
  This setting determines in what style a grob is typeset. Valid choices depend on the `stencil` callback reading this property.
`thickness` (number)
  Line thickness, generally measured in `line-thickness`.

This grob interface is used in the following graphical objects: SustainPedal, TextSpanner and TrillSpanner

Next: tie-column-interface, Previous: text-script-interface, Up: Graphical Object Interfaces

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