+
+TabVoiceContext = \translator {
+ \VoiceContext
+ \name "TabVoice"
+ \denies "Thread"
+ \consists "Tab_note_heads_engraver"
+
+ % Draws all stems/beams out of the staff (and not in the middle of the staff !)
+ Beam \override #'damping = #100000
+ Stem \override #'up-to-staff = ##t
+
+ % No accidental in tablature !
+ \remove Accidental_engraver
+ Accidental = \turnOff
+}
+
+TabStaffContext = \translator {
+ \StaffContext
+ \alias "Staff"
+ \name "TabStaff"
+ \denies "Voice"
+ \accepts "TabVoice"
+
+ % 6 strings
+ StaffSymbol \override #'line-count = #6
+ StaffSymbol \override #'staff-space = #1.5
+
+ % One may change the strings tuning as following :
+ % The lenght of the list must be equal to the number of string
+ %TabNoteHead \override #'string-tunings = #'(10 10 10 10 10 10)
+
+ % Special "TAB" clef
+ clefGlyph = #"clefs-tab"
+ clefPosition = #0
+
+ % Don't draw stems over the tabature figures !
+ Stem \override #'avoid-note-head = ##t
+
+ % No accidental in tablature !
+ \remove Accidental_engraver
+ Accidental = \turnOff
+
+ stringTunings = #'(-20 -15 -10 -5 -1 4)
+ tablatureFormat = #fret-number-tablature-format
+}
+