Im using Texmaker 3.2 under Linux Mint 13 Maya and I have problem with installing amsthm package. When I typed:
\begin{theorem}
some theorem
\end{theorem}
I got ! LaTeX Error: Environment theorem undefined. Then I tried
\newtheorem{example}{Example}
but it gives me again the same error. From what I read I'm missing the package amsthm. I read in this post https://stackoverflow.com/questions/1449370/latex-error-environment-proof-undefined that I have to install amscls.zip and amsmath.zip files. I followed the steps from here http://www.ams.org/publications/authors/tex/amslatex and Im pretty sure that I have the file amsthm.sty in the right directory (/usr/share/texmf/tex/latex/amscls) Howhever my Texmaker cannot find it. (When I type \usepackage{amsthm}
the editor underlines the word amsthm with red line.) I also used the command sudo apt-get install texlive-latex-base texlive-latex-extra biblatex and of course this also didn't help. Can anyone tell me what I am missind/doing wrong?
texhash
ormktexlsr
?\documentclass{...}
, the required\usepackage
's,\begin{document}
, and\end{document}
. That may seem tedious to you, but think of the extra work it represents for TeX.SX users willing to give you a hand. Help them help you: remove that one hurdle between you and a solution to your problem.