I am producing a "learning" guitar score with both standard musical
notation and tablature on adjacent staves.  I wish to hide the output of
the string numbers on the standard notation staff, and have this working
for single-voice passage by using the code

     \override Voice.StringNumber #'transparent = ##t

in the Staff context for each standard staff.

However, this only works for the first voice.   My guess is that the way
\override works is by changing the default value of the named property the
next time it is instantiated, but the documentation is not clear on this
point and so I am not certain.

When I use another voice, as in the passage

      << {s8 e~ e2} \\ {b4\4 a2\4}>>

the second voice displays the string numbers, which I do not want.

I could override this property again every time I instantiate a new voice,
but that is extremely cumbersome.   Is there some way to set
StringNumber.transparent true per default?

I tried using the \context command to do this as per the documentation, but
could not get this to work successfully, nor am I sure that it is the right
approach.

How can I completely disable the output of string numbers for all voices?
It would be super if there was a way to temporarily turns this back on with
\override, but even just disabling it would be an improvement...

-Dave

Reply via email to