staff-symbol-interface - LilyPond program-reference
Description: LilyPond program-reference

Next: staff-symbol-referencer-interface, Previous: staff-spacing-interface, Up: Graphical Object Interfaces

#### staff-symbol-interface

This spanner draws the lines of a staff. A staff symbol definines a vertical unit, the staff space. Quantities that go by a half staff space are called positions The center (i.e. middle line or space) is position 0. The length of the symbol may be set by hand through the `width` property.

##### User settable properties:

`ledger-line-thickness` (pair of numbers)
  The thickness of ledger lines: it is the sum of 2 numbers. The first is the factor for line thickness, and the second for staff space. Both contributions are added.
`line-count` (integer)
  The number of staff lines.
`line-positions` (list)
  Vertical positions of staff lines.
`staff-space` (dimension, in staff space)
  Amount of space between staff lines, expressed in global staff-space.
`thickness` (number)
  Bar line thickness, measured in `line-thickness`.
`width` (dimension, in staff space)
  The width of a grob measured in staff space.

This grob interface is used in the following graphical objects: StaffSymbol

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

Other languages: English.
Using automatic language selection.