Re: [tablatures] Avoid fingering on score when tab exists in chord

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


2014/1/23 Viktor Mastoridis <viktor@xxxxxxxxxxxxxxxx>
This one gives me headache,

Using Lilypond 14


this is an old old stable, I suggest upgrading
 
I write a staff and a guitar tab
When I have a chord and I want the notes on that chord to be played on specific strings

<f\4 as\3>8 c

the fingerings are displayed in the staff as well.


as I have the tabs, I don't need those extra numbers in the staff.


How do I switch them off?




 \version "2.16.2"

music =  \relative c' {
  <f\4 as\3>8 c
}

\score {
  \new StaffGroup <<
    \new Staff <<
      \context Voice { \clef "G_8" \music }
    >>
    \new TabStaff  <<
      \context TabVoice { \clef "moderntab" \music }
    >>
  >>
}

\layout {
   \context {
    % Do not display string numbers on Staff (I use TabStaff also)
    \Staff
    \override StringNumber #'stencil = ##f
  }
}


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