[tablatures] side fingerings and space between numbers

[ Thread Index | Date Index | More lilynet.net/tablatures Archives ]


In the attached example I show the small issue I have with fingering.

If fingerings are set close to the note (let's say on the left), then in the TabStaff numbers could be too much distant, especially if there is an accidental.

So I guess that now both accidentals and fingerings are set trasparent in the default tablature. I think accidentals must be kept trasparent, because this way the staff note is aligned with the tab number. Also, the look is perfect if there is just an accidental.

But if accidental and fingerings happen to be on the side of a note, the look of TabStaff is not that good. What about removing fingering from TabStaff? (instead of just making it trasparent)
Can this be a problem for tabFullNotation?


I've tried a tweak in the attached file, but it does not work:
\override TabStaff.Fingering #'stencil = ##f

This works but it's not what I want:
\override Staff.Fingering #'stencil = ##f

Does it mean that Fingering belongs just to the Staff context?
If so, why is it printed (even if trasparent) also in TabStaff?

Sorry for my naive questions, I'm a newbie :-)

Cheers,
Federico
--
http://gnurag.net/blog/
http://fsfe.org/
http://groups.fsf.org/wiki/LibrePlanetItalia

\version "2.13"
\include "english.ly"

%% Problem: if fingering is set to left, the space between numbers in TabStaff
%% may change and not be nice (irregular).
%% Possible solution: fingering in TabStaff should be not trasparent but removed
%% Possible problem: does that trigger some problem with tabFullNotation?
%% (I mean, in case it's included in the default settings)

fingering = \relative c {
  <fs'-2>8 ( <g-4>16 fs e8 ) <d-3>  \grace <fs-2> ( \glissando g )  b, ( <cs-2> \glissando e\2 ) |
} 

leftfingering = \relative c {
  \set fingeringOrientations = #'(left)
  <fs'-2>8 ( <g-4>16 fs e8 ) <d-3>  \grace <fs-2> ( \glissando g )  b, ( <cs-2> \glissando e\2 ) |
} 

leftfingeringTweak = \relative c {
  \set fingeringOrientations = #'(left)
  \override TabStaff.Fingering #'stencil = ##f %% Does not work..
  %\override Staff.Fingering #'stencil = ##f %% This works.. but it's not what I want ;-)
  <fs'-2>8 ( <g-4>16 fs e8 ) <d-3>  \grace <fs-2> ( \glissando g )  b, ( <cs-2> \glissando e\2 ) |
} 

%% Default fingering --> OK
\new StaffGroup <<
  \new Staff {
    \fingering
  }
  \new TabStaff {
    \fingering
  }
>>

%% Left fingering --> disstance between numbers can become too irregular,
%% especially if it happens to be both an alteration and a fingering (see last notes of the example)
\new StaffGroup <<
  \new Staff {
    \leftfingering
  }
  \new TabStaff {
    \leftfingering
  }
>>

%% Tweak: remove fingerings from TabStaff instead of just making it trasparent
\new StaffGroup <<
  \new Staff {
    \leftfingeringTweak
  }
  \new TabStaff {
    \leftfingeringTweak
  }
>>


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/