I have a MWE where I use eqnarray
for multiline equations. I want to right align those two text
, but \hfill
is not working here.
I think I may use align
, but here just want to know how to do it with eqnarray
.
\documentclass[]{beamer}
\begin{document}
\begin{frame}
\frametitle{Example}
\begin{eqnarray*}
A &=& B + C \hfill (\Leftarrow \text{from Theorem 1}) \\
&=& D + E \hfill (\Leftarrow \text{from Corollary 2}) \\
&=& F
\end{eqnarray*}
\end{frame}
\end{document}
Best Answer
Try this with
align
:Or alternatively exploiting the
\tag{<content>}
command: