opendetex icon indicating copy to clipboard operation
opendetex copied to clipboard

Starred environments

Open pauloney opened this issue 8 years ago • 0 comments

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*.

*

*

pauloney avatar Feb 28 '16 19:02 pauloney