
Me gustaría usar el paquete thmbox, pero cuando el entorno contiene una ecuación (alinear, etc.) con una etiqueta, la etiqueta se muestra fuera del cuerpo; consulte el ejemplo.
\documentclass[12pt,a4paper,reqno]{amsart}
\usepackage[czech]{babel}
\usepackage{thmtools}
\declaretheorem[name=TheoremL,thmbox={L,bodystyle={\vspace{1mm}\slshape\noindent}}]{thml}
\declaretheorem[name=TheoremM,thmbox={M,bodystyle={\vspace{1mm}\slshape\noindent}}]{thmm}
\declaretheorem[name=TheoremS,thmbox={S,bodystyle={\vspace{1mm}\slshape\noindent}}]{thms}
\declaretheorem[name=Theorem]{thm}
\usepackage{fancyhdr}
{\pagestyle{fancy}
\fancyhf{}
\fancyhead[C]{head}}
\begin{document}
\thispagestyle{fancy}
\begin{thm}
Theorem with an equation
\begin{equation}
formula
\end{equation}
and align
\begin{align}
formula\\
formula
\end{align}
\end{thm}
\begin{thml}
Theorem with an equation
\begin{equation}
formula
\end{equation}
and align
\begin{align}
formula\\
formula
\end{align}
\end{thml}
\begin{thmm}
Theorem with an equation
\begin{equation}
formula
\end{equation}
and align
\begin{align}
formula\\
formula
\end{align}
\end{thmm}
\begin{thms}
Theorem with an equation
\begin{equation}
formula
\end{equation}
and align
\begin{align}
formula\\
formula
\end{align}
\end{thms}
\end{document}
¿Alguien puede ayudarme a mover la etiqueta a la posición correcta?
Respuesta1
Como encómo etiquetar una ecuación dentro de un itemize - usando amsartbasta con agregar
\def\fullwidthdisplay{}%\displayindent\z@ \displaywidth\columnwidth}