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 want to display a theorem title, it is simple:


I get

Theorem 4.5 (Name).

but I don't like the dot at the end. I want it to look like this:

Theorem 4.5. (Name)

Can you help me with that?

share|improve this question
Welcome to TeX.SE! It would be best if you could provide a MWE in particular, please include the packages you use to create your theorems (amsthm?, thmtools? ntheorem? other?). Welcome! – cmhughes Oct 27 '12 at 18:04
up vote 6 down vote accepted

The amsthm package allows you to define custom theorem styles, with custom heading specifications. To get the formatting you desire, you can define a new style, say custom, and then declare a theorem environment using that style. Here's an example:


% Create a `custom` theorem style.
  {\topsep}   % Space above
  {\topsep}   % Space below
  {\itshape}  % Body font
  {0pt}       % Indent amount (empty value is the same as 0pt)
  {\bfseries} % Theorem head font
  {}          % Punctuation after theorem head
  {5pt plus 1pt minus 1pt} % Space after theorem head
  {\thmname{#1}\thmnumber{ #2}.\thmnote{ (#3)}} % Theorem head spec

% Create a `theorem` environment using the `custom` style.


This is the new theorem environment.

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.