Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Overflow when combining with showybox #6

Open
lcnbr opened this issue Aug 5, 2023 · 2 comments
Open

Overflow when combining with showybox #6

lcnbr opened this issue Aug 5, 2023 · 2 comments

Comments

@lcnbr
Copy link

lcnbr commented Aug 5, 2023

I am trying to combine lemmify and showybox but I can't seem to get a breakable thm..Here is what I've got: https://typst.app/project/r4vhyPDGq4h0SUcJRKABkR

@Marmare314
Copy link
Owner

Looks like it should work. I have no idea why this is happening but in the meantime the following code seems to work.

#let thmbox(color) = block.with(breakable: true, fill: color, inset: 0.7em, radius: 3pt)
#show thm-selector("thm-group", subgroup: "theorem"): thmbox(thmcolors.red)

I have not yet figured out what the difference between this and your example is (showybox uses a block internally too).

@lcnbr
Copy link
Author

lcnbr commented Aug 5, 2023

Oh, thanks for the workaround!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants