Advertisement
Guest User

Untitled

a guest
Mar 28th, 2011
177
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.63 KB | None | 0 0
  1. So I'm writing this:
  2.  
  3. ++++++ begin code
  4.  
  5. [...]
  6.  
  7. \theoremstyle{definition}
  8.  
  9. \newtheorem{theo}{Theorem}
  10. \newenvironment{theorem}[1][]
  11. {\begin{theo}[#1]\begin{leftbar}}
  12. {\end{leftbar}\end{theo}}
  13.  
  14. \newtheorem{lemma}[theorem]{Lemma}
  15.  
  16. [...]
  17.  
  18. ------ end code
  19.  
  20. And the compiler says:
  21.  
  22. ./pbw.tex:29: LaTeX Error: No counter 'theorem' defined.
  23.  
  24. See the LaTeX manual or LaTeX Companion for explanation.
  25. Type H <return> for immediate help.
  26. ...
  27.  
  28. l.29 \newtheorem{lemma}[theorem]{Lemma}
  29.  
  30. ?
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement