I would recommend using an aligned
within an enumaerated list
otherwise, you should really use the equation numbering built into align
:
Alternatively, you can use a custom macro such as \Item
below which increments a counter and add is its value before the equation to emulate sort of a enumerate
type of environment. I am recommending you not use this as I am sure there are numerous problems with it, even though it appears to work for the test case given.
Code: Recommended
\documentclass{article}
\usepackage{amsmath}
\usepackage{enumitem}
\begin{document}
\begin{enumerate}
\item $\begin{aligned}[t]
\sin^2 \theta + \cos^2 \theta &= 1 \\
F &= ma
\end{aligned}$
\item $\begin{aligned}[t]
E &= mc^2 \\
\sin^2 \theta + \cos^2 \theta &= 1
\end{aligned}$
\end{enumerate}
%
\begin{align}
\sin^2 \theta + \cos^2 \theta &= 1 \\
F &= ma \\
E &= mc^2 \\
\sin^2 \theta + \cos^2 \theta &= 1
\end{align}
\end{document}
Code: `Custom "enumerate":
\documentclass[12pt]{article}
%\usepackage[top=0.3in, bottom=1.2in, left=0.8in, right=0.8in]{geometry}
%\setlength{\parindent}{0cm}
\usepackage[fleqn]{amsmath}
%\usepackage{unicode-math}
%\everymath{\displaystyle}
%\newcommand{\3}{\vspace{0.3cm}}
\newcounter{MyCounter}
\newcommand{\Item}{\refstepcounter{MyCounter}\theMyCounter\quad}
\renewcommand{\theMyCounter}{\arabic{MyCounter})}
\newcommand{\ResetMyCounter}{\setcounter{MyCounter}{0}}
\begin{document}
\begin{gather*}
\begin{aligned}
&x+y=0\\
\Item &y+z=0\\
\Item &z+x=0
\end{aligned}
\end{gather*}
And in a subsequent set of equations \emph{with} \verb|\ResetMyCounter|:
\ResetMyCounter% Comment this out if you wish the numbering to continue
\begin{gather*}
\begin{aligned}
&x+y=0\\
\Item &y+z=0\\
\Item &z+x=0
\end{aligned}
\end{gather*}
And in a subsequent set of equations \emph{without} \verb|\ResetMyCounter|:
%\ResetMyCounter% Comment this out if you wish the numbering to continue
\begin{gather*}
\begin{aligned}
&x+y=0\\
\Item &y+z=0\\
\Item &z+x=0
\end{aligned}
\end{gather*}
With a \verb|\renewcommand| to use non-numerical numbering:
\renewcommand{\theMyCounter}{\alph{MyCounter}.\quad}
\ResetMyCounter% Comment this out if you wish the numbering to continue
\begin{gather*}
\begin{aligned}
&x+y=0\\
\Item &y+z=0\\
\Item &z+x=0
\end{aligned}
\end{gather*}
\end{document}
\everymath{\displaymath}
. It's wrong and it will bite you some day.\displaystyle
everywhere and this is helping very much. I like having this style everywhere.\displaystyle
everywhere to begin with.