\set TabStaff.minimumFret may cause an unwanted TAB-symbol

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

\set TabStaff.minimumFret may cause an unwanted TAB-symbol

Patrick Schmidt-3
Hi all,

I found two instances in which \set TabStaff.minimumFret = #xy causes  
an unwanted TAB-symbol in between a normal Staff and a TabStaff  
(\version 2.13.30):

a) no explicit \clef "xy"-command:

music = {
    \set TabStaff.minimumFret = #5
     c'1
}
\score {
   <<
     \new Staff {
       \music
     }
     \new TabStaff {
     \music
          }
   >>
}

b) \clef "xy" in a global voice (here: Voice = "global"):

global = {
   s1
}
music = {
   \set TabStaff.minimumFret = #5
        c'1
}
\score {
   <<
     \new Staff = "Notation" <<
       \new Voice = "global" {
         \clef "treble_8"
         \global
       }
       \new Voice = "music" {
         \music
       }
     >>
     \new TabStaff = "Tab" <<
       \new TabVoice = "global" {
         \global
       }
       \new TabVoice = "tabmusic" {
         \music
       }
     >>
   >>
}

I also tested these two examples with string indications instead of  
TabStaff.minimumFret, i.e.
music = {
        c'1\3
}

and the latter example was also tested with

\new Voice = "global" {
         \global
  }
\new Voice = "music" {
    \clef "treble-8"
    \music
  }
The output was OK.

So it looks like \set TabStaff.minimumFret expects an explicit \clef-
command right in front of a music variable in a Voice-context. This  
should probably be mentioned in the docs.

HTH
patrick





unwanted-TAB-Symbol-example_a.png (11K) Download Attachment
unwanted-TAB-Symbol-example_b.png (11K) Download Attachment