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:25:00 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2



Am 28.12.2017 um 15:22 schrieb Malte Meyn:
Set the clef stencil to ##f (\omit is a shorthand for that) and only set the stencil for the first occurence.

As I realised some seconds after sending the message, this isn’t enough if you want to have the clef at the beginning of each line. Then you should use explicitClefVisibility instead:

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

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

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



reply via email to

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