[Tex/LaTex] How to add \begin{definition} … \end{definition}


I have the following preamble:


\newcommand{\subscript}[2]{$#1 _ #2$}



\author{Frode Alfson Bj\o{}rdal}


How can I get \begin{definition} … \end {definition} here?

Best Answer

Just define it using \newtheorem like you have done for environment theorem:

  This is a definition.

enter image description here

See also: How do you number theorems but not definitions?.

For more information about \newtheorem and how to use another style for the new theorem environment definition, e.g., using \theoremstyle{definition} before \newtheorem, see the manual of package amsthm.