lilypond-user
[Top][All Lists]
Advanced

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

Re: TAB-problem


From: Malte Meyn
Subject: Re: TAB-problem
Date: Thu, 28 Dec 2017 15:22:26 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2



Am 28.12.2017 um 14:21 schrieb bb:
I attach an example code. (Sorry, my skills are just not developed
enough to shorten the code essential.)

Here is a much smaller example. It’s not minimal but near. How to build such an example? Well, just leave everything out that has nothing to do with the problem. In your case that is:

• layout things like set-global-staff-size or indent = 0
• complicated music (triplets, rests, extra barlines)
• \tabFullNotation
• instrument tweaks (stringTunings, minimumFret etc.)
• transpositions (btw the clefs should do that correctly)
• complicated markup for the clef

How to find out what things aren’t necessary? Just delete them and see if the problem persists.

The following example contains also a possible solution: Set the clef stencil to ##f (\omit is a shorthand for that) and only set the stencil for the first occurence.

%%%%%%%%%%%%%%%%%%%%%%%%%%
\version "2.19.65"

D-Dorian =  \relative {
  \clef "bass_8"
  c1
  \clef "treble_8"
  c
  \clef "bass_8"
  c
}

<<
  \new Staff { \D-Dorian }
  \new TabStaff \with {
    \omit Clef
    \omit ClefModifier
    \override Clef.text = "cleftext"
  } {
    \once \override TabStaff.Clef.stencil = #ly:text-interface::print
    \D-Dorian
  }
>>



reply via email to

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