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

>   `#<unpure-pure-container #<primitive-procedure ly:staff-symbol::height> >`

>   Extent (size) in the Y direction, measured in staff-space units, relative to object’s reference point.

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

#### Internals Reference v2.18.2 (稳定分支).