Search found 3 matches
- Fri Dec 30, 2011 10:39 pm
- Forum: General
- Topic: Custom and automatic equation numbering
- Replies: 7
- Views: 10472
Re: Custom and automatic equation numbering
Thanks, Stefan.
- Wed Dec 28, 2011 4:12 pm
- Forum: General
- Topic: Custom and automatic equation numbering
- Replies: 7
- Views: 10472
Custom and automatic equation numbering
Here's a way to use the enumitem package in order to customize your iterated lists and get the "/ref" command to reference your equations properly.
\usepackage{enumitem}
....
\begin{enumerate}[label=(E\arabic*), ref=(E\arabic*)]
\item blah \label{eq1}
\item blah \label{eq2}
\end{enumerate}
Check ...
\usepackage{enumitem}
....
\begin{enumerate}[label=(E\arabic*), ref=(E\arabic*)]
\item blah \label{eq1}
\item blah \label{eq2}
\end{enumerate}
Check ...
- Wed Dec 28, 2011 3:47 pm
- Forum: General
- Topic: Custom and automatic equation numbering
- Replies: 7
- Views: 10472
Custom and automatic equation numbering
A simpler solution, using enumerate:
\begin{enumerate}[(E1)]
\item $first$ \label{un}
\item $second$ \label{deux}
\item $third$. \label{trois}
\end{enumerate}
The only issue here is that when you try to reference one of these equations, it'll show a number such as "1" (or "(1)" with \eqref ...
\begin{enumerate}[(E1)]
\item $first$ \label{un}
\item $second$ \label{deux}
\item $third$. \label{trois}
\end{enumerate}
The only issue here is that when you try to reference one of these equations, it'll show a number such as "1" (or "(1)" with \eqref ...