This code produces the error "! LaTeX Error: Something's wrong--perhaps a missing \item.See the LaTeX manual or LaTeX Companion for explanation.Type H for immediate help.... \end{lem}". I really don't know why because I am not even using the itemize environment. It works fine if i remove the figure, which confuses me even more. Please help me, I am lost right now! Thanks!!!

\graphicspath{ {./Bilder/} }

\title{natürlicher Lebensraum des Bull's Eye}


\caption{Lösung für Krümmung $d_2= a+b+c - 2 \sqrt{ab+ac+bc}$}
$d$ ganze Zahl $\Leftrightarrow \exists q \in \mathbb{Z}, 4(ab+ac+bc)=q^2$.

Sei $R$ kommutativer Ring (mit 1 ?), $a,b,c,q \in R$ mit $$ab+ac+bc=q^2,$$ dann gilt für $d:= a+b+c+2q$, dass $p \in R$ existiert mit $$ab+ad+bd=p^2.$$

ab+ad+bd&=ab + (a+b+c+2q)(a+b)\\
&=q^2 +a^2 +b^2+ 2ab +2aq+2bq\\

  • Welcome to TeX SX! What's your document class?
    – Bernard
    Nov 18, 2020 at 14:37
  • \center inside the figure environment should be \centering.
    – leandriis
    Nov 18, 2020 at 14:56

1 Answer 1


Here's a minimal example:





Sei $R$


If you remove amsthm, the run is OK, but the conceptual error remains: the command \center must never be used in the document body; it can only be used for defining new environments.

What you're looking for is \centering and, of course, before \includegraphics:



\caption{Lösung für Krümmung $d_2= a+b+c - 2 \sqrt{ab+ac+bc}$}


Avoid special characters in labels that might cause later problems.

Also load hyperref last.

  • Thank you very much!! ^_^ it works just fine now Nov 24, 2020 at 9:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.