[texhax] Newbie question re undefined control sequence

Peter Flom flom at ndri.org
Wed May 26 15:57:08 CEST 2004


Hello

Please excuse me if this is covered in the FAQ; I did try to look, but
am not even sure what to search for.  Also, this is only my third day
using LaTeX

I am using texlive and WinEdt on a Windows machine

When I try to typeset the following

\documentclass[12pt, draft]{report}
\usepackage{graphicx, amsmath, amssymb, latexsym}

\theoremstyle{plain}
\newtheorem{theorem}{Theorem}


\theoremstyle{definition}
\newtheorem{defintion}{Definition}


\begin{document}


BUNCH OF STUFF

\end{document}

I get an error message that there is an undefined control sequence
regarding \theoremstyle

By reading the help provided in the log, and looking at Math into LaTeX
and Guide to LaTex, it seems to me that this is either due to
misspelling or not having the right package.  But I've checked the
spelling 5 times, and I thought I had loaded the right packages.

When I change report  to amsbook  I get DIFFERENT error messages, about
too many closing }.....but I've checked multiple times, and they seem to
be in pairs.  

Any help appreciated

Thanks

Peter

Peter L. Flom, PhD
Assistant Director, Statistics and Data Analysis Core
Center for Drug Use and HIV Research
National Development and Research Institutes
71 W. 23rd St
www.peterflom.com
New York, NY 10010
(212) 845-4485 (voice)
(917) 438-0894 (fax)




More information about the texhax mailing list