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.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question
Usually by choosing a suitable \theoremstyle. But that depends a bit on the theorem related package(s) you use. If you add a minimal example to your question, it would be easier to find a solution. – Thorsten Donig Dec 8 '11 at 9:08
this question is rather similar, though not identical, to this one about spacing around theorems. – barbara beeton Dec 8 '11 at 14:13
Thanks this is exactly what I was looking for I do not know the capabilities of amsthm but now thanks to you know – karathan Dec 8 '11 at 20:37
up vote 4 down vote accepted

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





Some text.


enter image description here

share|improve this answer
thanks, I didn't know this package! – mbork Dec 8 '11 at 21:28
@mbork: If you like my answer, upvote it. ;-) – lockstep Dec 8 '11 at 21:29
sorry, I forgot to do that! Fixed now;). – mbork Dec 8 '11 at 21:32
excellent package I just installed thanks @lockstep – karathan Dec 8 '11 at 21:53

For instance (using amsthm) this.





\chapter{Hello world}
  I am an example of proper usage of the \texttt{amsthm} package.


See also the documentation for amsthm for defining your own theorem styles, and also other theorem-generating packages (ntheorem being probably the most widely used).

share|improve this answer
Thanks @mbork this worked well. But if I have more than one \newtheorem{example1}{Example1}[chapter]and \newtheorem{example2}{Example2}[chapter] and I just want some of them are normal fonts and some defaultthen how can I do it? – karathan Dec 8 '11 at 10:45
divide your \newtheorem declarations by style, and put an appropriate \theoremstyle command before each group. the current \theoremstyle stays in effect until overridden by a different one. – barbara beeton Dec 8 '11 at 14:10
I just tried and indeed it works exactly as I like – karathan Dec 8 '11 at 21:23

Here's an example using ntheorem. Note that each declaration of


inherits the current theoremstyle and associated settings.

In the example below, both mytheorem and anothertheorem have exactly the same style. If you were to put some different settings, perhaps changing the \theorembodyfont{} for example, immediately before

\newtheorem{anothertheorem}{Another Theorem}

then anothertheorem would inherit these new settings. See the ntheorem documentation for more details.



\usepackage{ntheorem}   % for theorems
\usepackage{lipsum}     % for sample text

\theorembodyfont{}      % try commenting this line
\theoremprework{}       % code to process before the theorem 
\theorempostwork{}      % code to process after the theorem 
\theoremseparator{:}    % could be a : for example

% first theorem
\newtheorem{mytheorem}{My Theorem}

% another theorem
\newtheorem{anothertheorem}{Another Theorem}




share|improve this answer

Your Answer


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.