Hola

Necesito escribir un artículo en la clase amsart, con el siguiente preámbulo

newtheorem{theorem}{Theorem}
\theoremstyle{plain}
\newtheorem{acknowledgement}{Acknowledgement}
\newtheorem{algorithm}{Algorithm}
\newtheorem{axiom}{Axiom}
\newtheorem{case}{Case}
\newtheorem{claim}{Claim}
\newtheorem{conclusion}{Conclusion}
\newtheorem{proposition}[theorem]{Proposition}
\newtheorem{lemma}[theorem]{Lemma}
\newtheorem{corollary}[theorem]{Corollary}
\theoremstyle{definition}
\newtheorem{definition}[theorem]{Definition}
\theoremstyle{remark}
\newtheorem{remark}[theorem]{Remark}

Pero el archivo latex que exporta Lyx tiene el siguiente preámbulo
(selecciono el AMS article con el módulo Teoremas (AMS))

\theoremstyle{plain}

\newtheorem{thm}{\protect\theoremname}

\theoremstyle{plain}

\newtheorem{cor}[thm]{\protect\corollaryname}

\theoremstyle{plain}

\newtheorem{lem}[thm]{\protect\lemmaname}

\theoremstyle{plain}

\newtheorem{prop}[thm]{\protect\propositionname}

\theoremstyle{definition}

\newtheorem{defn}[thm]{\protect\definitionname}

\theoremstyle{definition}

\newtheorem{example}[thm]{\protect\examplename}


\AtBeginDocument{

\def\labelitemii{\(\ast\)}

\def\labelitemiii{\(\triangleright\)}

}

\makeatother


 \providecommand{\corollaryname}{Corollary}

\providecommand{\definitionname}{Definition}

\providecommand{\examplename}{Example}

\providecommand{\lemmaname}{Lemma}

\providecommand{\propositionname}{Proposition}

\providecommand{\theoremname}{Theorem}



Supongo que deberé crear un nuevo módulo de tal forma que al exportar el
archivo en formato latex escriba el preámbulo como yo quiero. ¿Existe
alguna forma sencilla de hacer esto ?


Desde ya les agradezco cualquier ayuda


Saludos


Sergio

Responder a