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
The style "definition" is the same except for the body font, which is
\normalfont
; in "remark" the spaces above and below are0.5\topsep
, the head font is\itshape
and the body font is\normalfont
.