LilyPond Internals Reference: 3.1.101 StaffSymbol

### 3.1.101 StaffSymbol

StaffSymbol objects are created by: Staff_symbol_engraver and Tab_staff_symbol_engraver.

Standard settings:

> `layer` (integer):

>   `0`

>   An integer which determines the order of printing objects. Objects with the lowest value of layer are drawn first, then objects with progressively higher values are drawn, so objects with higher values overwrite objects with lower values. By default most objects are assigned a layer value of 1.

> `ledger-line-thickness` (pair of numbers):

>   `'(1.0 . 0.1)`

>   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):

>   `5`

>   The number of staff lines.

> `stencil` (stencil):

>   `ly:staff-symbol::print`

>   The symbol to print.

> `Y-extent` (pair of numbers):

>   `ly:staff-symbol::height`

>   Hard coded extent in Y direction.

This object supports the following interface(s): grob-interface, spanner-interface and staff-symbol-interface.

#### Internals Reference