This package provides an alternative, better tab fingering algorithm, developed by Chuanjun He, and implemented in Lilypond/Scheme by Christopher Heckman. This algorithm was discussed on lilypond-dev.
lyp install chtab
\require "chtab"
music = { ... }
<<
\music
\chTab {
\new TabStaff \with {
stringTunings = #guitar-tuning
} \music }
>>
...
For more information see the included example.