General ⇒ subsubsections numbered as theorems
subsubsections numbered as theorems
hi, i'm trying to put the same counter on the subsubsection that i have for 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
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
- Stefan Kottwitz
- Site Admin
- Posts: 10290
- Joined: Mon Mar 10, 2008 9:44 pm
subsubsections numbered as theorems
Hi Raulastur,
welcome to the board!
With the amsthm package you can definine a theorem environment that uses the subsubsection counter:
Stefan
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}
LaTeX.org admin
Re: subsubsections numbered as theorems
thank you, but what i want is the converse: the subsubsection must use the counter of the theorem
- Stefan Kottwitz
- Site Admin
- Posts: 10290
- Joined: Mon Mar 10, 2008 9:44 pm
Re: subsubsections numbered as theorems
The theorems and the subsections are sharing the same counter with the line above.
What doesn't work for you if you try it the way I've suggested above?
Stefan
What doesn't work for you if you try it the way I've suggested above?
Stefan
LaTeX.org admin
Re: subsubsections numbered as theorems
i was wrong, i checked your way and it works!! thank you very much
Re: subsubsections numbered as theorems
i was wrong, i checked your way and it works!! can you tell me how to do the same with the lemmas and propositions (all sharing the same counter) . before i had this
\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
\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
i solved it:
\newtheorem{theorem}[subsubsection]{Teorema}
\newtheorem{lemma}[subsubsection]{Lema}
\newtheorem{proposition}[subsubsection]{Proposición}
\newtheorem{corollary}[subsubsection]{Corolario}
now works, thank you stefan
\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
hey guys, thanks for this thread it was very helpful. Just a quick addition I hope you can help me with though...
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
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
Last edited by lb5962 on Wed Oct 08, 2008 2:59 pm, edited 1 time in total.
- Stefan Kottwitz
- Site Admin
- Posts: 10290
- Joined: Mon Mar 10, 2008 9:44 pm
subsubsections numbered as theorems
Hi,
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
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
LaTeX.org admin
Re: subsubsections numbered as theorems
Thanks Stefan
very helpful!
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

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