Text Formatting ⇒ Separate numbering for different types of assumptions
Separate numbering for different types of assumptions
I used the suggestion in this thread to label my assumptions A1, A2, and so on. But it turns out that I need a separate list of assumptions to be numbered B1, B2, etc. Is there a quick way I can achieve this? Thank you.
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
- Johannes_B
- Site Moderator
- Posts: 4182
- Joined: Thu Nov 01, 2012 4:08 pm
Re: Separate numbering for different types of assumptions
Separate numbering for different types of assumptions
Code: Select all
\newtheorem{assump}{Assumption}
\newtheorem{assumpB}{Assumption}
\renewcommand\theassump{A\arabic{assump}}
\renewcommand\theassumpB{B\arabic{assumpB}}
\begin{assump}
This assumption is labelled "Assumption A1".
\end{assump}
\begin{assumpB}
This assumption is labelled "Assumption B1".
\end{assumpB}
\begin{assump}
This assumption is labelled "Assumption A2".
\end{assump}
- Stefan Kottwitz
- Site Admin
- Posts: 10364
- Joined: Mon Mar 10, 2008 9:44 pm
Re: Separate numbering for different types of assumptions
thank you for posting your solution!
If there's anything else, we could take a look at, just let us know.
Stefan