Omikhleia / resilient.sile

Advanced book classes and packages for the SILE typesetting system
MIT License
21 stars 4 forks source link

Rough underline, strikethrough, etc. #76

Closed Omikhleia closed 5 months ago

Omikhleia commented 6 months ago

(Moved from ptable.sile)

Since Aug. 2022 (or earlier, can't remember and lazy to check), the framebox package has an experimental and undocumented \roughunder command using a sketchy line(s) for a replacement of the "underline" command. As noted in-code:

This would need to be re-implemented and checked after multiline effects (e.g. multiline links and underline) are possibly added to the typesetter.

Such "liners" spanning multiple lines are making it in SILE develop branch for 0.15 and likewise in sile-x, which would allow to better implement this...

The command doesn't really belong to framebox, and should perhaps be moved to a dedicated package ("roughrules?") There we could have:

Omikhleia commented 6 months ago

Caveat: re-introducing a silex.sile dependency on ptable.sile is probably a real bad idea, though. Another path could be:

Would make me maintain yet another rock, though...