TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

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

I would like to global define the theorem environment such that the name of the thereom (like ABC in the following example) is emphasized (either \textit or \textbf), how can I do that?

I know I can do it one by one, but it would be more convienent to define it globally.

share|improve this question
What theorem package are you using? Please create a minimal working example (MWE) that we can work with. – Werner Feb 27 '14 at 17:49
Based on the general inquiry, I think you'll find what you need in terms of customization in one of the following posts: How to make the optional title of a theorem bold with amsthm?; How to remove brackets from the optional title in amsthm?; How can I make a custom theorem for a definition? – Werner Feb 27 '14 at 18:02

If you are using amsthm, you can declare a new theorem style using \newtheoremstyle:

  {\thmname{#1}~\thmnumber{#2}\thmnote{ (#3)}}%




enter image description here

Another option is to use the thmtools package as a front-end for amsthm or ntheorem:






I used \bfseries for the annotation font, but you can use \itshape instead if italics are preferred,

share|improve this answer

With the ntheorem package, you use a theoremstyle, that describes the general layout, and specify font characteristics, numbering, position of margin, separator, endtheorem mark, &c. A specification is valid for all subsequently declared "new theorems", until another specification replaces it. You can define new theoremstyles, either with the own syntax of the package or with the help of the mathtoolspackage.

There are 9 predefined theorem styles; plain, break, change, margin, change break, marginbreak, nonumberplain, nonumberbreak and empty. Framed or shaded theorems are also possible

Here is an example, just to show how it works:

\usepackage{amsmath} % Or mathtools







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.