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

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

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