Custom Bar Line for Renaissance Polyphony

Yoshiaki Onishi <[email protected]> Sun, 26 Jul 2026 19:14:01 -0400
Newsgroups gmane.comp.gnu.lilypond.general
Message-ID <[email protected]>
> =E2=80=A6I think I addressed both of these issues? For Item 1, I did a =
bit of a =E2=80=9Cbrute=20
> force=E2=80=9D thing where the value of =E2=80=9Cbottom=E2=80=9D is =
set depending on =E2=80=9Cline-count,=E2=80=9D=20
> using *cond*. If you somehow tinker with the distance between staff =
lines,=20
> you=E2=80=99d have to also tweak the values, but I think this should =
work for now.


P.S. I should add that for Item 2, I kind of cheated (!!!), given that =
it is currently looking as though the edges touching a staff line are =
actually =E2=80=9Cburied=E2=80=9D into the vertical thickness of the =
staff line. For my solution, the tick seen underneath the bottommost =
staff line is the same as above.=20

For what you propose, i.e. rounded edges for the edges touching nothing, =
while square-off edges for ones touching a staff line, I am sure you can =
build something like that using make-path-stencil function (with that I =
am sure you can even make the bar lines into something completely =
outrageous, like a smiley face, for example). But this probably requires =
reimagining of the entire scheme code, as far as how the other parts of =
the codes are gathering what kind of numerical values from the given =
parameters.




-- -- --
Yoshiaki Onishi
https://github.com/yoshiakionishi/lilypond-snippets