I am preparing paper using the latest SIAM template siamart_0516.zip downloaded from http://www.siam.org/journals/auth-info.php.
I am having errors in math equations containing \tag{} command with special characters (e.g., \mathbf{}, \bar{} and etc.) in math mode. To be clear, the following code:
\documentclass[review]{siamart0516}
\usepackage{amsmath}
\begin{document}
\begin{equation}
\bar{x} = x + y
\tag{$\bar{x}$}
\label{eq:x}
\end{equation}
\end{document}
produce an error:
Package amsmath Error: \bar allowed only in math mode. \end{equation}
while using only \tag{$x$} without \bar{} works fine:
\documentclass[review]{siamart0516}
\usepackage{amsmath}
\begin{document}
\begin{equation}
\bar{x} = x + y
\tag{$x$}
\label{eq:x}
\end{equation}
\end{document}
Finally, initial non-working code using the standard article documentclass, i.e., replacing \documentclass[review]{siamart0516} with \documentclass{article} works like a charm.
Any guesses what is causing this issue and how to overcome it?
