Jump to content

Adding fingerings to tablatures: 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:
To add fingerings to tablatures, use a combination of <code>\markup</code> and <code>\finger</code>.
To add fingerings to tablatures, use a combination of <code>\markup</code> and <code>\finger</code>.


<lilypond version="2.24.0">
<lilypond version="2.24">
one = \markup { \finger 1 }
one = \markup { \finger 1 }
two = \markup { \finger 2 }
two = \markup { \finger 2 }
Line 9: Line 9:
     \finger 3
     \finger 3
     \finger 2
     \finger 2
  }
}
threeFour = \markup {
  \override #'(baseline-skip . 2)
  \column {
    \finger 3
    \finger 4
   }
   }
}
}
Line 32: Line 25:
[[Category:Specific notation]]
[[Category:Specific notation]]
[[Category:Included in the official documentation]]
[[Category:Included in the official documentation]]
[[Category:Snippet]]

Latest revision as of 16:57, 14 December 2025

To add fingerings to tablatures, use a combination of \markup and \finger.

\version "2.24"

one = \markup { \finger 1 }
two = \markup { \finger 2 }
threeTwo = \markup {
  \override #'(baseline-skip . 2)
  \column {
    \finger 3
    \finger 2
  }
}

\score {
  \new TabStaff {
    \tabFullNotation
    \stemUp
    e8\4^\one b\2 <g\3 e'\1>^>[ b\2 e\4]
    <a\3 fis'\1>^>^\threeTwo[ b\2 e\4]
  }
}