Jump to content

Letter tablature formatting: Difference between revisions

From LilyPond wiki
m New category
Tags: Mobile edit Mobile web edit
mNo edit summary
 
Line 15: Line 15:
   \new TabStaff \with {
   \new TabStaff \with {
     tablatureFormat = #fret-letter-tablature-format
     tablatureFormat = #fret-letter-tablature-format
   }
   } {
  {
     \music
     \music
   }
   }
Line 24: Line 23:
[[Category:Fretted strings]]
[[Category:Fretted strings]]
[[Category:Staff notation]]
[[Category:Staff notation]]
[[Category:Fretted strings]]
[[Category:Included in the official documentation]]
[[Category:Included in the official documentation]]
[[Category:Snippet]]
[[Category:Snippet]]

Latest revision as of 18:00, 10 December 2025

Tablature can be formatted using letters instead of numbers.

\version "2.24"

music = \relative c {
  c4 d e f
  g4 a b c
  d4 e f g
}

<<
  \new Staff {
    \clef "G_8"
    \music
  }
  \new TabStaff \with {
    tablatureFormat = #fret-letter-tablature-format
  } {
    \music
  }
>>