[Tex/LaTex] Equations one below the other

equations

how can I get two equations one below the other, listed on the right side

\begin{equation}
LCS(X_{n},Y_{m-1})\\      enumerate
LCS(X_{n-1},Y_{m})
\end{equation}

I try with this:

\begin{align}
LCS(X_{n},Y_{m-1})\\
LCS(X_{n-1},Y_{m})
\end{align}

but
I do not want to have two enumerates, I just want a enumerate for both

Best Answer

Just to propose you multiple options

\documentclass[tikz]{standalone}
\usepackage{amsmath}
\usepackage{empheq}
\begin{document}

\begin{align}
LCS(X_{n},Y_{m-1})\\
LCS(X_{n-1},Y_{m})\nonumber
\end{align}
\begin{equation}
\begin{split}
LCS(X_{n},Y_{m-1})\\
LCS(X_{n-1},Y_{m})
\end{split}
\end{equation}
\begin{subequations}
\begin{empheq}[left=\empheqlbrace]{align}
LCS(X_{n},Y_{m-1})\\
LCS(X_{n-1},Y_{m})
\end{empheq}
\end{subequations}

\end{document}

gives

enter image description here