String number indications

The string on which a note should be played may be indicated by appending \number to a note.

\clef "treble_8"
c4\5 e\4 g2\3
<c\5 e\4 g\3>1

[image of music]

When fingerings and string indications are used together, their placement can be controlled by the order in which the two items appear in the code only if they appear inside of an explicit chord: applied to whole chords or single notes outside of chords, fingerings are placed using a different mechanism.

\clef "treble_8"

[image of music]

String numbers may also, as is customary with unfretted strings, be printed in Roman numerals and placed below the staff rather than above.

\clef "treble_8"
\set stringNumberOrientations = #'(down)

[image of music]

Most behaviors of string number indications (namely, the StringNumber object), including their placement, may be set in the same way as fingerings: see Fingering instructions.

Predefined commands

\arabicStringNumbers, \romanStringNumbers.

See also

Notation Reference: Fingering instructions.

Snippets: Fretted strings.

Internals Reference: StringNumber, Fingering.

LilyPond — Notation Reference v2.25.8 (development-branch).