%% DO NOT EDIT this file manually; it was automatically
%% generated from the LilyPond Wiki
%% (https://wiki.lilypond.community).
%%
%% Make any changes in the Wiki itself, or in
%% `Documentation/snippets/new/`, then run
%% `scripts/auxiliar/makelsr.pl`.
%%
%% This file is in the public domain.

\version "2.24.0"

\header {
  categories = "Editorial annotations, Fretted strings, Spacing,
                Specific notation"

  texidoc = "
By default, vertically oriented fingerings are positioned outside the
staff; that behavior, however, may be disabled. Attention needs to be
paid to situations where fingerings and stems are in the same
direction: by default, fingerings will avoid only beamed stems. That
setting can be changed to avoid no stems or all stems; the following
example demonstrates these two options, as well as how to go back to
the default behavior.
"

  doctitle = "Allowing fingerings to be printed inside the staff"
} % begin verbatim


\relative c' {
  <c-1 e-2 g-3 b-5>2
  \override Fingering.staff-padding = #'()
  <c-1 e-2 g-3 b-5>4 g'-0
  a8[-1 b]-2 g-0 r
  \override Fingering.add-stem-support = ##f
  a[-1 b]-2 g-0 r
  \override Fingering.add-stem-support = ##t
  a[-1 b]-2 g-0 r
  \override Fingering.add-stem-support = #only-if-beamed
  a[-1 b]-2 g-0 r
}
