Re: Circular staff

Tina Petzel <[email protected]>
Newsgroups gmane.comp.gnu.lilypond.general
Message-ID <[email protected]>
Am Donnerstag, 4. Juni 2026, 22:30:57 Mitteleuropäische Sommerzeit schrieb Tina 
Petzel:
> Kind of a problem though is that the circular staff setting is not quite optimal
> for concurrent stuff: Here the outer staves will have much more space than 
the
> inner. Since here the Lyrics spacing assumes the same scale for all staves 
the
> Lyric placements get’s a bit weird for the outer Lyrics.

But also this can be improved by doing something like

%%%
\override LyricText.stencil =
    #(grob-transformer
      'stencil
      (lambda (grob orig)
        (let* ((orig-ext (ly:stencil-extent orig X))
               (new-ext (interval-scale orig-ext (magstep -1))))
          (ly:make-stencil (ly:stencil-expr orig) new-ext (ly:stencil-extent 
orig Y)))))
%%%

(for a reasonable scale). This decreases the X-extent of the Lyrics stencil. 
If we find the right value we can have it counteract the scaling of space cause 
by the coordinate change (here I have tried to find a value such that Lyric 
hyphens are centered).
circular4.pdf (application/pdf, 96.8 KB) - not displayed
signature.asc (application/pgp-signature, 228 B)
-----BEGIN PGP SIGNATURE-----

iHUEABYKAB0WIQS0sdUK2Lu8of48K2+FHhaCPe7BywUCaiHmKgAKCRCFHhaCPe7B
y6xBAP459kfMaPN5e2CE3GZkkERM2vMWx+/yRrs7TDGpVUrTbQEA4H7D0LPEwmn3
VJNsPZaQk1ersAaLZXlQMMUPrji1Uwg=
=Hq33
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.