I managed to customized the enumeration, so it mimics the format of the math equation number. Now, I would like to replace the math equation counter by the one from the enumerate, (\thechapter.\arabic{enumi})
, so that both share the same numbering. Note that I want change the align
counter rather than define a new environment.
For example, below I would like the equation number to be (1.2) rather than (1.1).
(My use case is to number both equations and other textual propositions throughout the text without having to either use equations with text only or enumerates with inline equations.)
\documentclass[fleqn,leqno]{book}
\usepackage{amsmath}
\setlength{\mathindent}{3\parindent}
\usepackage{enumitem}
\setlist{leftmargin=3\parindent,labelindent=3\parindent}
\setlist[enumerate]{%
leftmargin=3\parindent,%
align=left,%
labelwidth=3\parindent,%
labelsep=0pt%
}
\setlist[enumerate,1]{%
label=(\thechapter.\arabic{enumi}),
resume%
}
\begin{document}
\chapter{One}
\begin{enumerate}
\item Item one
\end{enumerate}
\begin{align}
y = x^2
\end{align}
\end{document}