Text FormattingCustomize numbering in the theorem environment

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
Handerb
Posts: 2
Joined: Fri Mar 28, 2014 3:04 pm

Customize numbering in the theorem environment

Post by Handerb »

Hi community,

I know similar topics exist, but unfortunately none could solve the problem.
I would like to number the assumptions (created by the newtheorem environment) in my article by A1, A2, etc. That is, I have the command:

Code: Select all

\newtheorem{assump}{Assumption}
\begin{article}

\begin{assump}
This assumption is supposed to be labelled "Assumption A1".
\end{assump}
Any ideas how this can be achieved?

Thanks!

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

esdd
Posts: 36
Joined: Sat Jan 25, 2014 9:13 pm

Customize numbering in the theorem environment

Post by esdd »

You can redefine \theassump

Code: Select all

\newtheorem{assump}{Assumption}
\renewcommand\theassump{A\arabic{assump}}
Best regards
Elke
Post Reply