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

In the current paper I am writing I make an extensive use of definitions, therefore I've added the amsthm package to my document and I've defined a new command:


so that I can call it in my document in the following way:


Everything works ok, but I would like to change the appearance of these definitions, giving them a cleaner look. By default, this is how the definitions look like:

enter image description here

This is what I would like to have:

  1. Make the text normal and not italicized, so that \emph{} commands can look the way they are supposed to
  2. After Definition 10 I would like to have the name of the defined notion, so for example: Definition 10 - Algebra
  3. I would like to break the line after the end of the definition heading, so that the actual definition begins on the following line
  4. Finally, it would be nice to have a way to separate the definition title from the definition itself, for example with a line above and below the definition title (something like a box)

Are all of these things possible?

share|improve this question
this doesn't address all of your requests (gonzalo has done that), but i would like to point out that if all you wanted was for the text of the definition to be roman rather than italic, amsthm has three theorem styles, two of which have roman text. this answer explains the differences. – barbara beeton Feb 18 '13 at 19:15
@barbarabeeton thanks for the link, I didn't know that :) – user1301428 Feb 18 '13 at 21:05
up vote 8 down vote accepted

You can use \newtheoremstyle and \theoremstyle (from amsthm) to give your structure the desired formatting; the optional argument od the definition environment can be used to include the "name" of the definition:


  \thmname{#1}~\thmnumber{#2}\thmnote{\ -\ #3}.\\*[-1.5ex]%



Test definition.


enter image description here

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.