Next: Default tablatures, Previous: References for fretted strings, Up: Common notation for fretted strings
The string on which a note should be played may be indicated by
appending \number to a note inside a chord construct
<>.
| Note: String numbers must be defined inside a chord construct even if there is only a single note. |
\clef "treble_8"
<c\5>4 <e\4> <g\3>2
<c,\5 e\4 g\3>1
When fingerings and string indications are used together, their placement is controlled by the order in which the two items appear in the code:
\clef "treble_8"
<g\3-0>2
<g-0\3>
Controlling the placement of chord fingerings
The placement of fingering numbers can be controlled precisely.
\relative c' {
\set fingeringOrientations = #'(left)
<c-1 e-3 a-5>4
\set fingeringOrientations = #'(down)
<c-1 e-3 a-5>4
\set fingeringOrientations = #'(right)
<c-1 e-3 a-5>4
\set fingeringOrientations = #'(up)
<c-1 e-3 a-5>4
\set fingeringOrientations = #'(left down)
<c-1 e-3 a-5>2
\set fingeringOrientations = #'(up right down)
<c-1 e-3 a-5>2
}
Allowing fingerings to be printed inside the staff
By default, fingering numbers will be printed outside the staff. However, this behavior can be canceled.
\relative c' {
<c-1 e-2 g-3 b-5>2
\once \override Fingering #'staff-padding = #'()
<c-1 e-2 g-3 b-5>2
}
Notation Reference: Fingering instructions.
Snippets: Fretted strings.
Internals Reference: StringNumber, Fingering.
This page is for LilyPond-2.11.58 (development-branch).
Report errors to http://post.gmane.org/post.php?group=gmane.comp.gnu.lilypond.bugs.
Your suggestions for the documentation are welcome.