Text FormattingCorollary inside Theorems

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
Gilza
Posts: 5
Joined: Sun Feb 06, 2011 9:45 pm

Corollary inside Theorems

Post by Gilza »

Hello,

I would like to enumerate corollary inside theorems. Is that possible? If so, what I have to do?

Thanks
Last edited by Gilza on Thu Mar 03, 2011 3:45 am, edited 1 time in total.

Recommended reading 2024:

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

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

Corollary inside Theorems

Post by frabjous »

What are you using to create these environments? If you're using amsthm, then see pages 2-3 of its documentation. If something else, let us know what. Either way, if you need more help, provide a minimal working example to test with.
Gilza
Posts: 5
Joined: Sun Feb 06, 2011 9:45 pm

Re: Corollary inside Theorems

Post by Gilza »

Sorry for not give the necessry information!
I am using asmthm package. What I want is something like the following

Theorem 1
Corollary 1.1
Corollary 1.2
Theorem 2
Corollary 2.1
Corollary 2.2

The corollary number indicating the theorem from which the corollary came.

Thank You.
Gilza
Gilza
Posts: 5
Joined: Sun Feb 06, 2011 9:45 pm

Re: Corollary inside Theorems

Post by Gilza »

Thank You very much.

I read it again . I found the solution
\newtheorem{thm}{Theorem}
\newtheorem{lem}{Lemma}[thm]

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

Corollary inside Theorems

Post by localghost »

Gilza wrote:[…] I found the solution […]
Then please mark the topic accordingly as written in Section 3 of the Board Rules (to be read before posting).


Best regards and welcome to the board
Thorsten
Post Reply