lilypond-user
[Top][All Lists]
Advanced

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

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


From: Phil Burfitt
Subject: Re: \set TabStaff.minimumFret may cause an unwanted TAB-symbol
Date: Tue, 31 Aug 2010 10:48:09 +0100

Hi Patrick,

I'm not familiar with the inner workings of lilypond, but it
seems to me the problem occurs when a TabStaff command
(\set TabStaff.minimumFret) is executed in a Staff context.

using \set minimumFret = #5 instead should solve the problem.

Regards,
Phil.



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




--------------------------------------------------------------------------------







--------------------------------------------------------------------------------


_______________________________________________
lilypond-user mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/lilypond-user






reply via email to

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