I want to write my homework in Tex

How can I write "Theorem 18." using command: \newtheorem{thm}{Theorem} . It starts numbering my theorem automatically as Theorem 1. Thanks


You should earlier write \setcounter{thm}{17}. I am assuming, that you have an article-like class, not a book-like class.

  • But the next Theorem is 25, I want to numerate it manually. What is the suggestion. – Aleph-null Sep 14 '15 at 2:36
  • @Pinky Then next you can write \setcounter{thm}{24}. As far as I understand, it is an excerpt from a manual as a part of your homework. A MWE (minimal working example) can help in understanding the problem. – Przemysław Scherwentke Sep 14 '15 at 2:40

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.