[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lilypond-user
Subject:    \set TabStaff.minimumFret may cause an unwanted TAB-symbol
From:       Patrick Schmidt <p.l.schmidt () gmx ! de>
Date:       2010-08-30 22:04:29
Message-ID: B1EE3A97-2D98-49A3-82B5-714E7C7263CF () gmx ! de
[Download RAW message or body]

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" (image/png)]
["unwanted-TAB-Symbol-example_b.png" (image/png)]



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic