Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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
    
possible duplicate of Redefine block template for Beamer theorem-like environment –  Paul Gaborit Oct 8 '12 at 14:12

1 Answer 1

up vote 6 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.