Saul,
thanks for your answer.
These 2 propositions are not solving the problem at the beginning of the 2nd 
line of my exemple.

Through the French forum, I learn that, as you also pointed, when the object is 
used to align with other, its better to have a "softer" approch. In the case 
you could use :

`\override Clef.stencil = #point-stencil`


Then I check the LSR and found that :

https://lsr.di.unimi.it/LSR/Item?id=550

should be corrected accordingly, as it cannot adapte to the exemple I gave.
I don't know who to transmit this info.

Yours,
Éric
     Le vendredi 31 janvier 2025 à 20:55:25 UTC+1, Saul Tobin 
<saul.james.to...@gmail.com> a écrit :  
 
 Probably what you want is \omit Clef or \override Clef.break-visibility = 
#all-invisible, so that it doesn't take up space, not just that it's hidden. I 
would expect removing the engraver to have surprising results, since even if a 
clef isn't printed, Lilypond still needs to know how to assign pitches to staff 
lines and spaces.

Saul
On Fri, Jan 31, 2025 at 1:49 PM éric BELLOCQ <eric.bell...@yahoo.fr> wrote:

Hello,
Can be solved using Clef.transparent = ##t instead.
I couldn't reproduce the problem when using a G clef. and also when notes are 
less far from key signature.

I was wondering about an eventual bug ??

Yours
Éric



\version "2.24.4"

\score {
  <<    
    \new Staff
    <<
      \key d \major
      \clef F
      \new Voice {\voiceOne \repeat unfold 4 d'4 \break \repeat unfold 12 d'4 }
      \new Voice {\voiceTwo \repeat unfold 16 e,4}
    >>
    \new TabStaff \with {
      \remove "Clef_engraver"
    } 
    <<
      \new TabVoice { c1 1 }
    >>
  >>
}

\score {
  <<    
    \new Staff
    <<
      \key d \major
      \clef F
      \new Voice {\voiceOne \repeat unfold 4 d'4 \break \repeat unfold 12 d'4 }
      \new Voice {\voiceTwo \repeat unfold 16 e,4}
    >>
    \new TabStaff \with {
      \override Clef.transparent = ##t
    } 
    <<
      \new TabVoice { c1 1 }
    >>
  >>
}

\score {
  <<    
    \new Staff
    <<
      \key es \major
      \clef C
      \new Voice {\voiceOne \repeat unfold 4 c''4 \break \repeat unfold 12 d''4}
      \new Voice {\voiceTwo \repeat unfold 16 b,4 }
    >>
    \new TabStaff \with {
      \remove "Clef_engraver"
    } 
    <<
      \new TabVoice { c1 1 }
    >>
  >>
}


  

Reply via email to