From Code to Community: Sponsoring The Perl and Raku Conference 2025 Learn more

\documentclass{aa}
\begin{document}
\begin{equation}
A B,
\label{eq1}
\end{equation}
\begin{equation}
A $ B,$
\label{eq2}
\end{equation}
\begin{equation}
A $$
\label{eq3}
\end{equation}
\end{document}