bug-lilypond
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Patrick Schmidt
Subject: \set TabStaff.minimumFret may cause an unwanted TAB-symbol
Date: Tue, 31 Aug 2010 00:04:29 +0200

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]