I am creating a custom bar line style for Renaissance polyphony
(screenshot):

[image: image.png]

(The code is attached.)

My approach is inspired by Harm’s solution here …

https://www.mail-archive.com/[email protected]/msg101994.html

https://lists.gnu.org/archive/html/lilypond-user/2015-05/msg00416.html

… and also by the tick bar line style in

https://github.com/lilypond/lilypond/blob/master/scm/bar-line.scm.

I would like to improve this draft in the following ways and need help:


   1. make-down-tick-bar-line — I would like it to mirror
   make-up-tick-bar-line — i.e., find the lowest staff line and extend down
   from there. But I haven’t been able to build that in my experimentation.
   2. Edges — IIUC, LilyPond’s *tick* bar lines are rounded boxes, but
   *normal* bar lines are squared off to meet the edge of the staff line where
   they end. My style requires (ideally) a box with one rounded edge (the edge
   that touches nothing) and one squared-off edge to touch a staff line.
   But I don’t know how to build that.

Thank you in advance!

Gabriel

Attachment: Custom Bar Line Outside Staff.ly
Description: application/frescobaldi-ly

Reply via email to