1\version "2.21.0"
2
3\header {
4  texidoc = "@code{Fingering} grobs created by the
5    @code{New_fingering_engraver} (i.e. fingerings entered outside @code{<>})
6    with @code{fingeringOrientations} set to @code{up} or @code{down} avoid
7    accidentals of displaced notes that might get into the way in chords
8    containing adjacent notes (seconds) or unison notes.
9
10    With @code{\override Fingering.X-align-on-main-noteheads = ##t},
11    the fingerings oriented @code{up} and @code{down} will be arranged
12    in a straight column aligned on the noteheads on the “correct” side
13    of the stem."
14}
15
16{
17  <>_\markup \teeny \typewriter "New_fingering_engraver"
18  \set fingeringOrientations = #'(up)
19  <e'-1 d''-4 e''-5>1
20  <a'-1 b'-2 fis''-5>
21  <e'-1 d''-4 e''-5>4
22  <a'-1 b'-2 fis''-5>
23  \set fingeringOrientations = #'(down)
24  <e'-1 d''-4 e''-5>
25  <eis'-1 e''-4 fis''-5>
26  \bar "."
27  <>^\markup \teeny \typewriter "X-align-on-main-noteheads = ##t"
28    _\markup \teeny \typewriter "New_fingering_engraver"
29  \override Fingering.X-align-on-main-noteheads = ##t
30  \set fingeringOrientations = #'(up)
31  <e'-1 d''-4 e''-5>1
32  <a'-1 b'-2 fis''-5>
33  <e'-1 d''-4 e''-5>4
34  <a'-1 b'-2 fis''-5>
35  \set fingeringOrientations = #'(down)
36  <e'-1 d''-4 e''-5>
37  <eis'-1 e''-4 fis''-5>
38}
39