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}


ntheorempackage: you just code\theorem{separator{}before declaring your theorems, definitions, &c. – Bernard Jul 20 '21 at 20:47ntheorempackage gives me an error:! Package ntheorem Error: Theorem style plain already defined.– Xoriun Jul 20 '21 at 20:57ntheorempackage, I don't even need the\theorem{separator{}}. However I then run into difficulties, since I use quite some features fromamsthm. – Xoriun Jul 20 '21 at 21:14