opendetex
opendetex copied to clipboard
Starred environments
Starred environments, the ones with no counter, like align*
, eqnarray*
, etc ... are leaving behind an undesirable *
at the start of the line, after removal of the arguments, like shown on this example:
\documentclass{minimal}
\usepackage{amsmath}
\newtheorem{theorem}{Theorem}
\newtheorem{theorem*}{Theorem}
\begin{document}
\begin{align*}
Inside align*
\end{align*}
\begin{theorem*}
Inside theorem*.
\end{theorem*}
\begin{eqnarray*}
Inside eqnarray*
\end{eqnarray*}
\begin{equation*}
Inside equation*.
\end{equation*}
\end{document}
which is outputting:
theorem Theorem
theorem* Theorem
*
Inside align*
*
Inside theorem*.
*
*