Thanks!  With that (and lots of fiddling with numbers) I have been able to get 
spacing nearly as tight as the composer's...   It took quite a while, as the 
interaction between the settings was hard to figure out, and because the 
Clef.X-extent in particular appears to change in steps rather than than 
smoothly (changes in the second decimal place have no effect, it seems).


My basic problem, I think, is that I haven't yet fully understood what of the 
many, many size and alignment options apply generally to all grobs, and also 
how they interact.


Anyway, I now have my solution, thanks.  See images to compare before and after.


Paul




 From:   Kieren MacMillan <[email protected]> 
 To:   Paul Hodges <[email protected]> 
 Cc:   Lilypond-User Mailing List <[email protected]> 
 Sent:   09/06/2022 10:38 
 Subject:   Re: Reducing spacing round clef between notes 

Hi Paul, 
 
> Any hints? 
 
Maybe something like this? 
 
%%%  SNIPPET BEGINS 
\version "2.23.4" 
 
ignoreClef = { 
  \once \override Score.Clef.font-size = #-0.5 
  \once \override Score.Clef.X-extent = #'(0 . -0.5) 
  \once \override Stem.extra-spacing-width = #'(-2.25 . 0) 
  \once \override Score.Clef.extra-offset = #'(-1.125 . 0) 
} 
 
\new PianoStaff << 
  \new Staff { \clef bass c16 g \ignoreClef \clef treble c' g' } 
  \new Staff { \clef bass c16 g c g } 
>> 
%%%  SNIPPET ENDS 
 
Hope that helps! 
Kieren. 

Reply via email to