Hi Gabriel,

> I would like to improve this draft in the following ways and need help:
>     • 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.
>     • 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.

…I think I addressed both of these issues? For Item 1, I did a bit of a “brute 
force” thing where the value of “bottom” is set depending on “line-count,” 
using *cond*. If you somehow tinker with the distance between staff lines, 
you’d have to also tweak the values, but I think this should work for now.

I hope this helps you somehow!

Regards,
Yoshi

Attachment: YO_solution_Custom Bar Line Outside Staff.ly
Description: Binary data

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





Reply via email to