Jump to content

Letter tablature formatting: Difference between revisions

From LilyPond wiki
Import snippet from LSR
 
mNo edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Tablature can be formatted using letters instead of numbers.
Tablature can be formatted using letters instead of numbers.


<lilypond version="2.24.0">
<lilypond version="2.24">
music = \relative c {
music = \relative c {
   c4 d e f
   c4 d e f
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]]

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
  }
>>