I have come across a very curious phenomenon in LaTeX; below is a minimal working example. All text after the
\theorem{Hello}
is still italicized!Code: Select all
\documentclass{article}
\usepackage{amsthm}
\begin{document}
\newtheorem{theorem}{Theorem}[section]
Hello
\theorem{Hello}
hi
\end{document}
Instead ofHello
Theorem 0.1. Hello
hi
What am I doing wrong? Thanks for your help.Hello
Theorem 0.1. Hello
hi