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

Next: staff-spacing-interface, Previous: span-bar-interface, Up: Graphical Object Interfaces

#### spanner-interface

Some objects are horizontally spanned between objects. For example, slur, beam, tie, etc. These grobs form a subtype called `Spanner`. All spanners have two span-points (these must be `Item` objects), one on the left and one on the right. The left bound is also the X-reference point of the spanner.

##### User settable properties:

`minimum-length` (dimension, in staff space)
  Try to make a spanner at least this long. This requires an appropriate callback for the `springs-and-rods` property.

This grob interface is used in the following graphical objects: BassFigureAlignment, BassFigureContinuation, BassFigureLine, Beam, ClusterSpanner, DynamicLineSpanner, DynamicTextSpanner, DynamicTextSpanner, Glissando, Hairpin, Hairpin, HorizontalBracket, HorizontalBracket, InstrumentName, LedgerLineSpanner, LigatureBracket, LyricExtender, LyricHyphen, LyricHyphen, LyricSpace, LyricSpace, MeasureGrouping, MensuralLigature, MultiMeasureRest, MultiMeasureRestNumber, MultiMeasureRestText, OttavaBracket, PercentRepeat, PercentRepeatCounter, PhrasingSlur, PianoPedalBracket, SeparatingGroupSpanner, Slur, SostenutoPedalLineSpanner, SpacingSpanner, StaffSymbol, SustainPedalLineSpanner, System, SystemStartBar, SystemStartBrace, SystemStartBracket, SystemStartSquare, TextSpanner, Tie, TieColumn, TrillSpanner, TupletBracket, TupletNumber, UnaCordaPedalLineSpanner, VaticanaLigature, VerticalAlignment, VerticalAxisGroup, VoiceFollower and VoltaBracket

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

Other languages: English.
Using automatic language selection.