I use the following latex code to using align
environment but the formula does not appear centered.
\begin{align}
\text{$SM$}_7 \rightarrow \text{$SM$}_1 : \{K_{NG},HMAC_{K_{1}}\}_{\{encr\}K_{1}},
\end{align}
But when writing the same code in IEEE journal latex file, the formula was centered.
Can any one help me to make text within align
to be centered ??
\text{$SM$}
instead of justSM
?