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
  }
>>

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

Reply via email to