Math & Science ⇒ Alternative numbering Definitions 1a 1b
Alternative numbering Definitions 1a 1b
Is there a way to number certain Definitions (or Theorems, Propositions, ...) like this
Definition 4
...
Definition 5a
Definition 6a
...
Definition 5b
Definition 6b
...
Definition 7
Ideally, I want this this special numbering to be automatic: e.g., adjusting the counter of Definition 5b should somehow reference the counter of Definition 5a, and so on.
Thanks
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
Alternative numbering Definitions 1a 1b
However, here's an initial suggestion for you, assuming you're using amsthm to create your definition environment.
Code: Select all
\documentclass{article}
\usepackage{amsthm}
\theoremstyle{definition}
\newtheorem{definition}{Definition}
\newtheorem{subdefinition}{Definition}[definition]
\renewcommand{\thesubdefinition}{\thedefinition\alph{subdefinition}}
\begin{document}
\begin{definition}
A definition
\end{definition}
\begin{subdefinition}
A subdefinition
\end{subdefinition}
\begin{subdefinition}
Another subdefinition
\end{subdefinition}
\begin{definition}
Another definition.
\end{definition}
\end{document}
Re: Alternative numbering Definitions 1a 1b
The latex code that you provided is not exactly what I need:
- I want to start directly with "Definition 1a", without using "Definition 1".
- I want to mix everything up. E.g., in the following order: 1, 2a, 3a, 4, 2b, 3b.
This kind of numbering may look bad, since it destroys the logical numbering of the definitions/theorems/..., but in the context of equivalent definitions, I find it useful.