LilyPond program-reference: 3.1.100 StringNumber

### 3.1.100 StringNumber

StringNumber objects are created by: New_fingering_engraver.

Standard settings:

> `stencil` (unknown):

>   `print-circled-text-callback`

>   The symbol to print.

> `text` (markup):

>   `string-number::calc-text`

>   Text markup. See Formatting text.

> `padding` (dimension, in staff space):

>   `0.5`

>   Add this much extra space between objects that are next to each other.

> `staff-padding` (dimension, in staff space):

>   `0.5`

>   Maintain this much space between reference points and the staff. Its effect is to align objects of differing sizes (like the dynamics p and f) on their baselines.

> `self-alignment-X` (number):

>   `0`

>   Specify alignment of an object. The value `-1` means left aligned, `0` centered, and `1` right-aligned in X direction. Other numerical values may also be specified.

> `self-alignment-Y` (number):

>   `0`

>   Like `self-alignment-X` but for the Y axis.

> `script-priority` (number):

>   `100`

>   A sorting key that determines in what order a script is within a stack of scripts.

> `avoid-slur` (symbol):

>   `'around`

>   Method of handling slur collisions. Choices are `around`, `inside`, `outside`. If unset, scripts and slurs ignore each other. `around` only moves the script if there is a collision; `outside` always moves the script.

> `font-encoding` (symbol):

>   `'fetaNumber`

>   The font encoding is the broadest category for selecting a font. Currently, only lilypond’s system fonts (Emmentaler and Aybabtu) are using this property. Available values are `fetaMusic` (Emmentaler), `fetaBraces` (Aybabtu), `fetaNumber` (Emmentaler), and `fetaDynamic` (Emmentaler).

> `font-size` (number):

>   `-5`

>   The font size, compared to the ‘normal’ size. `0` is style-sheet’s normal size, `-1` is smaller, `+1` is bigger. Each step of 1 is approximately 12% larger; 6 steps are exactly a factor 2 larger. Fractional values are allowed.

This object supports the following interface(s): text-script-interface, text-interface, string-number-interface, side-position-interface, self-alignment-interface, item-interface, font-interface and grob-interface.

#### Internals Reference