I would like to generate the following list:
Here the equations are inline and labelled with numbers for later \ref
.
I have tried using \begin{aligned}
after \item
to create an inline math environment, but it does not support \label
.
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It only takes a minute to sign up.
Sign up to join this communityI would like to generate the following list:
Here the equations are inline and labelled with numbers for later \ref
.
I have tried using \begin{aligned}
after \item
to create an inline math environment, but it does not support \label
.
You can use flalign
for example to do the alignment. In the code below I just put the (i), (ii) and (iii) manually.
\documentclass[a5paper]{article}
\usepackage{amsmath}
\begin{document}
\begin{flalign}
\text{(i)\enskip}&a=b&\label{e1}\\
\text{(ii)\enskip}&c=d&\label{e2}\\
\text{(iii)\enskip}&x=y&\label{e3}
\end{flalign}
\end{document}
Though I would not recommend to do this. There's no reason to create two different enumeration schemes for these equations. If they are to be references as equations then number them as equations only. If they are items in an enumerated list then don't put equation numbers to them. Your way would confuse readers.
The result of the code above: