The problem is that no space appears between the boxed definition and the text. Can anyone help?
Code: Select all
\documentclass[a4paper,11pt, fleqn]{amsbook}\usepackage{lipsum}\usepackage{mdframed}\newmdtheoremenv{defn}{Definition}[chapter]\begin{document}\lipsum[1]\begin{defn}\textbf{Prime numbers} \label {Defn:Prime} \lipsum[2]\end{defn}\lipsum[3]\end{document}