Math & ScienceHow to format counters of theorem environments?

Information and discussion about LaTeX's math and science related features (e.g. formulas, graphs).
Post Reply
bkarpuz
Posts: 124
Joined: Thu Dec 18, 2008 4:53 pm

How to format counters of theorem environments?

Post by bkarpuz »

Dear friends,

How can I modify my document (with article document class) to have
1. Theorem.
instead of
Theorem 1.
?

Thanks.

bkarpuz

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

How to format counters of theorem environments?

Post by localghost »

Just use the amsthm package and read its manual. As alternative you can do the same with the ntheorem package.


Best regards
Thorsten
bkarpuz
Posts: 124
Joined: Thu Dec 18, 2008 4:53 pm

How to format counters of theorem environments?

Post by bkarpuz »

localghost wrote:Just use the amsthm package and read its manual. As alternative you can do the same with the ntheorem package.


Best regards
Thorsten
Thanks a lot, I will now read!

Solution.
Insert

Code: Select all

\swapnumbers
before

Code: Select all

\newtheorem
codes in the preambles section.
Post Reply