Status: New
Owner: ----

New issue 2480 by [email protected]: hideNotes and unHideNotes should include also TabNoteHead
http://code.google.com/p/lilypond/issues/detail?id=2480

Enhancement request: hideNotes should hide also the numbers in TabStaff.

It was not straightforward in the past, because unHideNotes reverted the visibility of some objects (such as stems) that must not be displayed in default tablature:
http://lists.gnu.org/archive/html/lilypond-user/2010-01/msg00634.html

But now the output is correct. Marc thinks that some patches according stems and the placement of tablature numbers may have had the side effect of fixing this problem:
http://lists.gnu.org/archive/html/lilypond-user/2012-04/msg00231.html

As issue 1459 is fixed, hideNotes looks ok also in TabStaff.
I think that we should add one line to the following definitions in property-init.ly:

hideNotes = {
  ....
  \override TabNoteHead #'transparent = ##t
}
unHideNotes = {
  ...
  \revert TabNoteHead #'transparent
}


You can test this change by compiling the file Documentation/snippets/new/slides-in-tablature.ly

If we change this definition, the following LSR snippet can be removed as soon as LSR upgrades to 2.16:
http://lsr.dsi.unimi.it/LSR/Item?id=633


Reply via email to