Closed jneug closed 1 year ago
I just realized, that this fix does not break showyboxes
with shadows!
But at least it should fix the other issues mentioned and break boxes with titles but without shadows.
I added an alternate method for drawing shadows that works for breakable boxes, but doesn’t look quite as nice for larger offsets.
With this commit, the method for drawing shadow is automatically chosen based on the breakable
option, but it might be preferable to have a consistent look for all boxes and only use one method.
Also, due to your significant contributions I'll put your name in the heading of
showy.typ
file ;)
Thanks, that is great.
If you are open to it, I would like to do some more work on the package. (I have some free time until the end of this week.) Like adding some more options to showyboxes
for more flexibility and perhaps a footer similar to the title.
Also, due to your significant contributions I'll put your name in the heading of
showy.typ
file ;)Thanks, that is great.
If you are open to it, I would like to do some more work on the package. (I have some free time until the end of this week.) Like adding some more options to
showyboxes
for more flexibility and perhaps a footer similar to the title.
Sure, go ahead. Meanwhile I'll release v.0.2.1 with new changes at Typst's official package repository. Therefore the new changes will be public ;)
This fixes the thin border still visible if the frame width is set to zero and allows boxes to be breakable regardless of the title option
In addition, it fixes an issue that made the border look thinner than the
width
option would suggest. A2pt
border will now be2pt
thick.