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

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


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

PNG image

PNG image





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