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

Example not numbered as remark in .sty file #9

Open
tvayer opened this issue Feb 1, 2023 · 3 comments
Open

Example not numbered as remark in .sty file #9

tvayer opened this issue Feb 1, 2023 · 3 comments

Comments

@tvayer
Copy link

tvayer commented Feb 1, 2023

When defining the environnements in the .sty file it gives :
\newtheorem{example}{Example} \newtheorem{theorem}{Theorem} \newtheorem{lemma}[theorem]{Lemma} \newtheorem{proposition}[theorem]{Proposition} \newtheorem{remark}[theorem]{Remark} \newtheorem{corollary}[theorem]{Corollary} \newtheorem{definition}[theorem]{Definition} \newtheorem{conjecture}[theorem]{Conjecture} \newtheorem{axiom}[theorem]{Axiom}
In particular the ‘‘Example'' environnement is not incremented in the same way as the ‘‘Remark''

\newtheorem{example}{Example}

\newtheorem{remark}[theorem]{Remark}

In practice we can quickly have Remark 45 since everything is incremented but just Example 2: is it a feature or a bug ? (I can make a PR if so)

@fabianp
Copy link
Member

fabianp commented Feb 4, 2023

Thaks @tvayer ! yes, please, do send a PR

@fabianp
Copy link
Member

fabianp commented Feb 4, 2023

also, could you comment on whether #8 solves the problem? thanks!

@tvayer
Copy link
Author

tvayer commented Apr 21, 2023

I added a PR. For me #8 was not fixing this issue

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