X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Ftest%2Ftablature.ly;h=347359e7356b2b1cc0a9d785882f10f5850d9bcc;hb=8fc0b9a4a716de24d4764f9f7be386341f1d9768;hp=7439e403dfb2d348884808182991eda1a5558097;hpb=197f00037dc4c9e7bd17368f50d11dd8cde7a994;p=lilypond.git diff --git a/input/test/tablature.ly b/input/test/tablature.ly index 7439e403df..347359e735 100644 --- a/input/test/tablature.ly +++ b/input/test/tablature.ly @@ -1,19 +1,23 @@ -\version "2.1.22" +\version "2.3.4" \header{ texidoc = "@cindex Tabulature -A sample tablature, with both normal staff and tab. +Tablature is internally done by overriding the note-head formatting function +and let it act on a 6-line staff. A special engraver takes then care of +choosing the fret and converting the pitch to a number. -Tablature is done by overriding the note-head formatting function, and -putting it on a 6-line staff. A special engraver takes care of going -from string-number + pitch to number. " +Thus, by providing the fret numbers, the same music can be generated both +for a normal and tabulature staffs. By default, the fret is the smallest +possible, according to @code{minimumFret}. + +" } -partition = \notes { +partition = { \key e \major e8\5 fis\5 gis\5 a\5 b\5 cis'\5 dis'\5 e'\5 e8\4 fis\4 gis\4 a\4 b\4 cis'\4 dis'\4 e'\4 e8 fis gis a b cis' dis' e' - \set Score.minimumFret = #5 + \set Score.minimumFret = #5 e8 fis gis a b cis' dis' e' }