# [Tex/LaTex] \normalfont in new theorem-like environment

fontsformattingtheorems

How can I get universal in my new environment normalfont instead of italic (default)?
I thought it was something simple like

\newtheorem{exercise}{ \normalfont}[chapter] 


but doesn't work. I could not find something similar but I think it is something simple, even for me as a new user to LaTeX.

#### Best Answer

I prefer the key--value syntax of the thmtools package (which may use amsthm or ntheorem as backend).

\documentclass{article}

\usepackage{amsthm}
\usepackage{thmtools}

\declaretheoremstyle[headfont=\normalfont]{normalhead}
\declaretheorem[style=normalhead]{example}

\begin{document}

\begin{example}
Some text.
\end{example}

\end{document}
`