Tell me more ×
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.

I have an IEEEtran document class. I want to put a simple definition inside the document:

\begin{definition}
blab bla
\end{definition}

I am getting the error below:

Environment definition undefined. \begin{definition}

share|improve this question
The class defines no theorem-like environment. Use \newtheorem. – egreg Jun 26 '12 at 15:14

1 Answer

up vote 10 down vote accepted

IEEEtran defines its own environments which is used to replace existing ones (like enumerate, itemize, etc.). However, it doesn't define any definition environment. You can do so by using \newtheorem:

enter image description here

\documentclass{IEEEtran}% http://www.ctan.org/pkg/ieeetran
\newtheorem{definition}{Definition}
\begin{document}
\begin{definition}
Here is a definition.
\end{definition}
\end{document}​
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.