lilypond-user
[Top][All Lists]
Advanced

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

Re: Tablature without white space around TabNoteHead


From: David Stocker
Subject: Re: Tablature without white space around TabNoteHead
Date: Thu, 25 Mar 2010 10:22:05 -0400
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.8) Gecko/20100227 Lightning/1.0b1 Thunderbird/3.0.3

Carl,

I don't know if this is what you need, but the code snippet works fine and I think it sufficiently demonstrates what I was after.

For the Notation Reference and LSR:

You can tell LilyPond to break tab lines around the tab numbers, or to draw tab lines all the way through the numbers. This is controlled with <code>\override TabNoteHead #'whiteout</code>, which is set to true by default.

music = {
  \relative c {
    <c e g c e>4 <g b d g b f'> <c e g c e>2
  }
}

<<
  \new Staff {
    \clef "treble_8"
    \music
  }
  \new TabStaff {
    \override TabNoteHead #'whiteout = ##t
    \music
  }
>>

<<
  \new Staff {
    \clef "treble_8"
    \music
  }
  \new TabStaff {
    \override TabNoteHead #'whiteout = ##f
    \music
  }
>>


On 03/25/2010 09:33 AM, Carl Sorensen wrote:



On 3/24/10 11:31 AM, "David Stocker" <address@hidden> wrote:

Is there a way to prevent LilyPond from whiting out the space around tablature
numbers, so that the tablature staff line goes all the way through the tab
number?

Yes, use

\override TabNoteHead #'whiteout = ##t

When you get this figured out, would you please make a snippet for inclusion
in the LSR and the documentation?

Thanks,

Carl



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


-- 
David Stocker
804-598-3762
http://notesettersinc.com

reply via email to

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