I want to remove the dot after the numbering of theorems, definitions etc. within the amsthm
package. (So I get Theorem 1.1 instead of Theorem 1.1.) (EDIT: I want to remove the dot from the theorems themselfs)
I am using both the hyperref
and the cleveref
packages, both of which pose problems.
I already found a solution to the hyperref
package here Remove dot after theorem with amsthm and hyperref, but when using the cleveref
package, the dot reappears.
MWE:
\documentclass[a4paper,12pt,oneside]{scrbook}
\usepackage{amsthm}
\usepackage{hyperref}
\usepackage{cleveref}
\newtheorem{theorem}{Theorem}[chapter]
\usepackage{xpatch}
\makeatletter
\AtBeginDocument{\xpatchcmd{\@thm}{\thm@headpunct{.}}{\thm@headpunct{}}{}{}}
\makeatother
\begin{document}
\chapter{Hello}
\begin{theorem}
World
\end{theorem}
\end{document}
ntheorem
package: you just code\theorem{separator{}
before declaring your theorems, definitions, &c.ntheorem
package gives me an error:! Package ntheorem Error: Theorem style plain already defined.