General ⇒ subsubsections numbered as theorems
subsubsections numbered as theorems
theorem 3.4.5
3.4.1 (my subsubsection name)
this is what i have and i'd like to have:
theorem 3.4.5
3.4.6 (my subsubsection name)
any ideas????
thanks
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
- Stefan Kottwitz
- Site Admin
- Posts: 10324
- Joined: Mon Mar 10, 2008 9:44 pm
subsubsections numbered as theorems
welcome to the board!
With the amsthm package you can definine a theorem environment that uses the subsubsection counter:
Code: Select all
\newtheorem{thm}[subsubsection]{Theorem}
Re: subsubsections numbered as theorems
- Stefan Kottwitz
- Site Admin
- Posts: 10324
- Joined: Mon Mar 10, 2008 9:44 pm
Re: subsubsections numbered as theorems
What doesn't work for you if you try it the way I've suggested above?
Stefan
Re: subsubsections numbered as theorems
Re: subsubsections numbered as theorems
\newtheorem{theorem}{Teorema} [subsection]
\newtheorem{lemma}[theorem]{Lema}
\newtheorem{proposition}[theorem]{Proposición}
\newtheorem{corollary}[theorem]{Corolario}
if i replace the first line (to get theorems and the subsections sharing the same counter) with \newtheorem{theorem}[subsubsection]{Theorem} it doesn't work.
thank you very much
Re: subsubsections numbered as theorems
\newtheorem{theorem}[subsubsection]{Teorema}
\newtheorem{lemma}[subsubsection]{Lema}
\newtheorem{proposition}[subsubsection]{Proposición}
\newtheorem{corollary}[subsubsection]{Corolario}
now works, thank you stefan
Re: subsubsections numbered as theorems
Quite often my lecturers separate the numbering of definitions (which is also done subsection-wise) from the numbering of Theorems, Lemmas, Propositions, etc...
Any idea how I would do this whilst having, say, "Definition 3.1" in small caps [namely: \textsc{Definition}].
I guess my main issue is the fact that when choosing the fonts of theorems I can only choose from "Definition, Remark and Plain" [namely \theoremstyle{plain},etc...]... can't I ???
Oh yer...
Also I would like the definitions of my project to be enumerated seperately to the Lemmas, Theorems, Propositions, etc... for example:
Theorem 3.1.1
Lemma 3.1.2
Theorem 3.1.3
Definition 3.1.1
Theorem 3.1.4
Definition 3.1.2
Any Ideas?
I'm not asking for much am I!

Thanks

L
- Stefan Kottwitz
- Site Admin
- Posts: 10324
- Joined: Mon Mar 10, 2008 9:44 pm
subsubsections numbered as theorems
you could define your own style by the command \newtheoremstyle, it's documented in Using the amsthm Package 4.3 New theorem styles. Concerning the numbering have a look at 3 Numbering modifications in the same document.
Stefan
Re: subsubsections numbered as theorems

I'm still having trouble with using the newtheoremstyle to get my definitions to be in small caps (\textsc)... can you be more specific?
L