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

How do I create a custom theorem matching the existing theme? #8

Open
jj-marr opened this issue Jun 20, 2024 · 1 comment
Open

How do I create a custom theorem matching the existing theme? #8

jj-marr opened this issue Jun 20, 2024 · 1 comment

Comments

@jj-marr
Copy link

jj-marr commented Jun 20, 2024

I want to create an environment called "goal" and have it be formatted the same way as a theorem. I'm unsure of how to do this in an efficient way.

@Jinwen-XU
Copy link
Owner

Jinwen-XU commented Jun 21, 2024

There is currently, unfortunately, no user-interface commands for directly achieving this, but it would not be very hard to simply replicate the internal code. I shall see if I could come up with some better method this weekend or next week.

Meanwhile, if you just want something with the same style as theorem, perhaps you could try theorem-with-name. With \begin{theorem-with-name*}{Goal} or \begin{theorem-with-name}{Goal}, you should be able to get the desired visual effect, though you probably wouldn't be able to reference it.

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