TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question
1  
possible duplicate of Redefine block template for Beamer theorem-like environment – Paul Gaborit Oct 8 '12 at 14:12
up vote 8 down vote accepted

You can undefine it before defining it

\let\definition\relax
\theoremstyle{definition}
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.