- #1
Theoretiker
- 22
- 0
Hello,
I have a problem with Latex. I use MikeTex as Latex distribution and TexnicCenter as editor. I want the code for a mathematical sentence with proof. I used the package ntheorem and I got the mistake:
Waht did they mean with "already defined"?
My code is:
Thanks for help :)
greetings
I have a problem with Latex. I use MikeTex as Latex distribution and TexnicCenter as editor. I want the code for a mathematical sentence with proof. I used the package ntheorem and I got the mistake:
Package ntheorem Error: Theoremstyle plain already defined
Waht did they mean with "already defined"?
My code is:
Code:
\documentclass[12pt,a4paper]{article}
\usepackage[latin1]{inputenc}
\usepackage[ngerman]{babel}
\usepackage[T1]{fontenc}
\usepackage{amsmath,amsgen,amscd,amsrefs,amsthm,amsopn,amssymb}
\usepackage{graphicx}
\usepackage{xcolor}
[B]\usepackage[thmmarks]{ntheorem} [/B]
\begin{document}
%ntheorem Umgebung
\theoremstyle{nonumberplain}
\theoremheaderfont{%
\normalfont\scshape}
\theorembodyfont{\normalfont}
\theoremsymbol{\rule{.5em}{.5em}}
\newtheorem{satz}{Satz:}
\newtheorem{beweis}{Beweis:}
\begin{satz}
$1$ ist grö"ser als $0$.
\begin{beweis}
Da $1 = 1 \cdot 1$, ist $1$ eine Quadratzahl, und Quadratzahlen ungleich~$0$ sind immer grö"ser als~$0$.
\end{beweis}
\end{satz}
\end{document}
Thanks for help :)
greetings