Hoof

my attempt to create tabs in Lilypond for diatonic fretting
			\version "2.24.0"

% define the custom tuning of just 1 string
custom-tuning = \stringTuning <g'>

% give the fret's integer value as a list of character strings
my-fret-labels = #'(
    "0" "-" "1" "-" "2" "3" "-" "4" "-" "5" "6" "-"
    "7" "-" "8" "-" "9" "10" "-" "11" "-" "12" "13" "-"
    "14"
    )
scale = {
  g' a' b' c'' d'' e'' f'' g'' a''
}

<<
  \new Staff {
    \clef treble
    \scale
  }
  \new TabStaff {
    \set TabStaff.fretLabels = #my-fret-labels
    \set TabStaff.tablatureFormat = #fret-letter-tablature-format
    \set TabStaff.stringTunings = #custom-tuning
    \scale
  }
>>