Hi, Yes, it is possible. The issue was discussed some times ago on the French users list. I join a sample of the result.
Hope this helps, Jean Le samedi 09 juillet 2022 à 11:42 +1000, Alasdair McAndrew a écrit : > Hello, > > I believe I asked a very similar question some years ago, since when > Lilypond has had numerous new releases and improvements. But I still > don't know how to typeset French tablature for the viol. This > requires six lines, letters printed between the lines, and the notes > above the staff printed with heads. Examples are at > > https://bit.ly/3OZVwXt > > and at > > https://bit.ly/3yoHkjP > > There are other software systems that can manage this, but rather > than jump between systems I'd rather stay entirely within Lilypond. > > Can Lilypond produce tablature of the style shown in the two images > above? > > many thanks, > Alasdair >
\version "2.20.0" \header { title = "A Pollish Vilanell" composer = \markup{\smallCaps{Tobias Hume}} } common = { \time 2/2 \repeat volta 2 {\partial 4 s4 s1*13} \repeat volta 2 {s1*18} } first = \relative c { \voiceOne \clef bass a4 d e f g a2. a4 c8 d e f e4 d8 c b4 a e gis a2. a4 c b a g a2. a4 g g g f e1 d4. e8 f4 g a2 d,4 f d2 cis d'1 e,4 e e f e2. e'4 d a c b a1 d,4 d, d''2 c4 b a2 g4. f8 e4 a g4. f8 e4 a c f, e d cis1 d4 d, f' g a f bes a g f d cis d'1 d,4 d, d'' a f8 g a bes a4 g8 f e4 d a cis d'1 } second = \relative c { \voiceTwo s4 s1 a2. s4 s1 e'4 f s2 a,2. s4 s1 f'2. f4 c c c d a1 s1 s a2 s d,1 a'4 cis cis d a2. s4 s2 e'4 s a,1 s1 a'4 e f2 c4. s8 c4 f c4. s8 c4 f e d a bes a1 s s c4 d a s d,1 s s s d } third = \relative c { \override Stem.stencil = ##f \voiceThree \shiftOff s4 s1 <cis e>2. s4 s1 s <cis e>2. s4 s1 s s cis s s \shiftOn e2 s \shiftOff <a, d fis a>1 cis4 s2. cis2. s4 s1 <cis e> s s s s s2 cis4 s s1 s s s2 \shiftOn e4 \shiftOff s <a, d fis a>1 s1 s s <a d fis a> } rythm = { c4 s1 c2. 4 8 s4. c4 8 s c4 s2. c2. 4 s1 c2. 4 s1 c1 4. 8 4 s c2 4 s c2 s c1 c4 s s s c2. 4 s s s s c1 4 s c2 4 s c2 4. 8 4 s c4. 8 4 s s1 c1 4 s2. s1 s c1 c4 s2. c8 s4. c4 8 s c4 s2. c1 } \score { << \new Staff << \common \new Voice \first \new Voice \second \new Voice \third >> \new RhythmicStaff \with { \remove "Staff_symbol_engraver" \omit Clef \omit TimeSignature \override VerticalAxisGroup #'staff-staff-spacing = #'((basic-distance . 4) (minimum-distance . 3) (padding . .5)) \override NoteHead.style = #'petrucci }{ \rythm } \new TabStaff \with { tablatureFormat = #fret-letter-tablature-format \override TabNoteHead.whiteout = ##f \override TabNoteHead.before-line-breaking = #(lambda (grob) (if (not (< (ly:grob-property grob 'Y-offset) -4)) (ly:grob-set-property! grob 'Y-offset (+ (ly:grob-property grob 'Y-offset) 0.6)))) \omit Clef \override TimeSignature.X-offset = #-2 \override TimeSignature.font-size = #3 \revert TimeSignature.stencil \override TabNoteHead.font-name = "LeRoy" } {\stemUp <<\common \first \second \third>> } >> \layout { indent = 0 \context { \TabStaff stringTunings = \stringTuning <d, g, c e a d'> fretLabels = #'("a" "b" "c" "d" "e" "f" "g" "h" "i" "k") } } }