[Tex/LaTex] amsthm: what are the newtheoremstyle parameters for the default styles

amsthmtheorems

The package amsthm contains the predefined theorem styles plain, definition and remark which you can employ using \theoremstyle before your \newtheorem.

You can also create new theorem styles like this:
\newtheoremstyle{NAME}{ABOVESPACE}{BELOWSPACE}{BODYFONT}{INDENT}{HEADFONT}{HEADPUNCT}{HEADSPACE}{CUSTOM-HEAD-SPEC}. I.e. you have to set all properties of your new style at once.

But I mostly like them as they are, I only want to change like 1 parameter. Therefore I'd like to know the \newtheoremstyle parameters which produce the predefined styles, so I can copy them and only change what I want. I would expect that information to be in the documentation of the package, but it isn't. Does anyone know what they are?

Best Answer

The style "plain" should be equivalent to

\newtheoremstyle{plain}
  {\topsep}   % ABOVESPACE
  {\topsep}   % BELOWSPACE
  {\itshape}  % BODYFONT
  {0pt}       % INDENT (empty value is the same as 0pt)
  {\bfseries} % HEADFONT
  {.}         % HEADPUNCT
  {5pt plus 1pt minus 1pt} % HEADSPACE
  {}          % CUSTOM-HEAD-SPEC

The style "definition" is the same except for the body font, which is \normalfont; in "remark" the spaces above and below are 0.5\topsep, the head font is \itshape and the body font is \normalfont.