%% Generated by lilypond-book.py
%% Options: [exampleindent=10.16\mm,indent=0\mm,line-width=160\mm]
\include "lilypond-book-preamble.ly"


% ****************************************************************
% Start cut-&-pastable-section
% ****************************************************************



\paper {
  indent = 0\mm
  line-width = 160\mm
  % offset the left padding, also add 1mm as lilypond creates cropped
  % images with a little space on the right
  line-width = #(- line-width (* mm  3.000000) (* mm 1))
}

\layout {
  
}





% ****************************************************************
% ly snippet:
% ****************************************************************
\sourcefilename "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-release-unstable/input/regression/tablature-letter.ly"
\sourcefileline 0
\version "2.16.0"

\header {
  texidoc = "
A sample tablature with lettered tab,
using fretLabels to modify the fret letters.

By default, letters are drawn sequentially from the alphabet,
but if the context property fretLabels is defined, these are
substituted.  If specified, the length of fretLabels must be
sufficient to label all the frets used.  A warning is issued
if the length is too short.
"
}

notes = \relative c' {
  \time 3/4
  <f d>4. <bes>8 <g e>4
  \set fretLabels = \markuplist {"a" "b" \italic \smaller "c"}
  <f d>4. <bes>8 <g e>4
  \set fretLabels = \markuplist {\with-color #red "a"
                       "b"
                       \italic \smaller "c"}
  <f d>4. <bes>8 <g e>4
  \set fretLabels = \markuplist {"α" "β" "γ"}
  <f d>4. <bes>8 <g e>4
}

\score {
  \new TabStaff
  \with {
    stringTunings = \stringTuning \notemode { <a d' f' a' d'' f''> }
    tablatureFormat = #fret-letter-tablature-format
  }
  \new TabVoice {
    \notes
  }
}



% ****************************************************************
% end ly snippet
% ****************************************************************
