Node:Tablatures basic, Next:, Up:Tablatures



Tablatures basic

The string number associated to a note is given as a backslash followed by a number, e.g. c4\3 for a C quarter on the third string. By default, string 1 is the highest one, and the tuning defaults to the standard guitar tuning (with 6 strings). The notes are printed as tablature, by using TabStaff and TabVoice contexts:

     \notes \context TabStaff  {
      a,4\5 c'\2 a\3 e'\1
      e\4 c'\2 a\3 e'\1
     }
     

[picture of music]

When no string is specified, the first string that does not give a fret number less than minimumFret is selected. The default value for minimumFret is 0:

     e8 fis gis a b cis' dis' e'
     \property TabStaff.minimumFret = #8
     e8 fis gis a b cis' dis' e'
     

[picture of music]

See also

TabStaff, TabVoice, and StringNumberEvent.

Bugs

Chords are not handled in a special way, and hence the automatic string selector may easily select the same string to two notes in a chord.


This page is for LilyPond-2.0.0 (stable-branch).

Report errors to <bug-lilypond@gnu.org>.