9

beamer seems to define theorem-environments such as definition, but i want to be able to define them myself. In particular I want to use thmtools.

\documentclass{beamer}
\usetheme{Singapore}

\usepackage{amsmath}
\usepackage{mathtools}
\usepackage{thmtools}
\usepackage[english]{babel}

\theoremstyle{definition}
\declaretheorem[style=definition]{definition}

\begin{document}
\title{thmtools + beamer}
\date{\today}
\begin{frame}[plain]
\titlepage
\end{frame} 

\end{document}

Compiling this yields

! LaTeX Error: Command \definition already defined.

but I could not find anything like a \redeclaretheorem command.

1

1 Answer 1

10

You can undefine it before defining it

\let\definition\relax
\theoremstyle{definition}

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .