0

Consider the following LaTeX2e manuscript

\documentclass{scrartcl}
\usepackage{amsthm}
\newtheorem{theorem}{Theorem}
\begin{document}
\begin{theorem*}[Hello World]
Hello, world!
\end{theorem*}
\end{document}

When I compile it with pdflatex, the compilation fails with the following error message:

! LaTeX Error: Environment theorem* undefined.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              

l.6 \begin{theorem*}
                    [Hello World]
? 

What is the problem? How can I fix it?

Evan Aad
  • 11,066

0 Answers0