# Theorems and Definitions

It is customary to set theorems, examples, definitions, etc. such that they stand out from the rest of the text. LaTeX offers advanced and customisable features to this. Some classes already provide theorem-type environments. If not, you can fit the following code in your preamble.

  \usepackage{amsthm}
\theoremstyle{definition}
\newtheorem{example}{Example}
\newtheorem{problem}{Problem}
\newtheorem{definition}{Definition}
\theoremstyle{plain}
\newtheorem{theorem}{Theorem}
\newtheorem{lemma}{Lemma}
\theoremstyle{remark}
\newtheorem{remark}{Remark}


This gives you access to six new environments to set definitions, theorems, problems, etc. E.g.

  \begin{definition}
A definition is an exact and concise explanation of a single
concept or word.
\end{definition}
\begin{problem}
How do you develop good theorems for your dissertation?
\end{problem}