\version "2.14.2" \include "custom-tab-defs-rev.ly" % shortcuts: smallPlusColor = { \override Score.RehearsalMark #'font-size = #-1 \override Score.RehearsalMark #'color = #red } markTextLengthOn = { \override Score.RehearsalMark #'extra-spacing-width = #'(0 . 0) \override Score.RehearsalMark #'extra-spacing-height = #'(-inf.0 . +inf.0) } %------------------ Test \header { title = "Examples for CustomTabStaff/CustomTabVoice" subtitle = "Showing fingering in a Tab" subsubtitle = \markup \vspace #3 } % Blues music = \relative c' { \time 4/4 \stemUp %% Takte 3 - 5 8 e,,4 \times 2/3 { 8 d'''\1 a\2 } \times 2/3 { 8 gis''\2 e\3 } 4 e\6 8 e''\3 cis'\4 fis''\3 a,,4 } \score { \new StaffGroup << \new Staff { \clef "treble_8" \music } \new CustomTabStaff \new CustomTabVoice { \CustomTabFullNotation \music } >> \layout { \myCustomTabLayout } \header { piece = \markup \fontsize #2 \bold { "Blues" } } } % Asturias asturias¹ = \relative c { \time 3/4 \smallPlusColor \markTextLengthOn \set fingeringOrientations = #'(up) \override Fingering #'add-stem-support = ##t 16 b' b b b b b s4 \mark\markup "Fingering UP" s 16 b b % oder: s4 \mark\markup "Fingering UP and Down" s 16 b b } asturias² = \relative c { \set Timing.beamExceptions = #'() 8 b'\4 c\4 a\4 b\4 fis\5 s4 s 8 % oder: s4 s 8 \set fingeringOrientations = #'(down) } \score { \new StaffGroup << \new Staff << \clef "G_8" \new Voice { \voiceOne \asturias¹ } \new Voice { \voiceTwo \asturias² } >> \new CustomTabStaff << \new CustomTabVoice { \CustomTabFullNotation \voiceOne \asturias¹ } \new CustomTabVoice { \CustomTabFullNotation \voiceTwo \asturias² } >> >> \layout { \myCustomTabLayout } \header { piece = \markup \fontsize #2 \bold { "Asturias" } } }