4 texidoc = "The @code{TabStaff} will print micro-tones as mixed numbers of
5 fret-number and a fraction.
6 @code{noteToFretFunction = #(my-determine-frets #t)} needs to be set in Score.
7 @code{FretBoards} will print those micro-tones only if they can be found in the
8 chosen settings for @code{stringTunings}, otherwise a warning (surpressed here)
9 will be printed and an empty @code{FretBoard} returned. Which should be the
10 case here for the first pitch: @code{gih}"
13 #(ly:set-option 'warning-as-error #f)
14 #(ly:expect-warning (_ "No string for pitch ~a (given frets ~a)") #{ gih #} '())
19 noteToFretFunction = #(determine-frets #t)
23 custom-tuning = \stringTuning <e, a, d ges beh eeh'>
39 \new Staff << \clef "G_8" \mus >>
40 \new FretBoards \with { stringTunings = \custom-tuning } \mus
41 \new TabStaff \with { stringTunings = \custom-tuning } \mus