lilypond-user
[Top][All Lists]
Advanced

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

Re:


From: caagr98
Subject: Re:
Date: Sun, 26 Mar 2017 22:57:27 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0

You're setting options on the TabStaff while in the Staff context. Since there is no TabStaff context at the moment, one is temporarily created. You could fix it by setting the properties in a \with {} block on the TabStaff insteadd.

On 03/26/17 22:49, Rob Torop wrote:
I'm finding that when I use a TabStaff and also set some properties
(either or both of minimumFret and restrainOpenStrings), my first line
has an extra TabStaff!  What can I do to get rid of it? Thanks!

Here's what it looks like:

Screen Shot 2017-03-26 at 4.46.59 PM.png

And here's the code that generated this:

\version "2.19"
\language "english"

solo = \relative c' {

    % Either of both of the two settings will cause an extra "TAB" staff
to be rendered
     \set TabStaff.minimumFret=#1
     \set TabStaff.restrainOpenStrings = ##t

     c8   f e ef df c bf af
}

\score {
  <<
     \new Staff        \solo
     \new TabStaff  \solo
   >>
}




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




reply via email to

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