I just encountered this problem Missing number, treated as zero. [ \begin{Cauchy} ]
and this Illegal unit of measure (pt inserted). [ \begin{Cauchy} ]
I know that somebody has already met this problem and it has been answered before, but mine hasn't been solved yet, can somebody help me? The code is shown below.
\documentclass{article}
\usepackage{pifont}
\usepackage{enumerate}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amsthm}
\begin{document}
\newtheoremstyle{nonum}{}{}{\itshape}{}{\bfseries}{.}
{}{#1 (\mdseries #3)}
\theoremstyle{nonum}
\newtheorem{Cauchy}{Cauchy's Theorem}
\begin{Cauchy}[Third Version]
If $G$ is a simply connected open subset of $\mathbb{C}$, then for every closed rectifiable curve $\gamma$ in $G$, we have
\begin{equation*}
\int_\gamma f=0.
\end{equation*}
\end{Cauchy}
\end{document}
I would appreciate it so much if this problem can be solved.
\newtheoremstylemust be a length." – barbara beeton Apr 29 '20 at 01:31