Document Classesproblems with ntheorem

Information and discussion about specific document classes and how to create your own document classes.
Post Reply
skitapa
Posts: 5
Joined: Tue Sep 30, 2008 1:16 pm

problems with ntheorem

Post by skitapa »

Apparently the amsmath, amsthm packages together with the ntheorem package can cause troubles according to several sources, i think im experiencing this.
is it even possible to have use \begin{split} when ntheorem is used?

even a silly example like

Code: Select all

\[
\begin{split}
a  & = b   \\
   & = c	\\
   & = d
\end{split}
\]
wont work. what to doImage

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

Stefan Kottwitz
Site Admin
Posts: 10345
Joined: Mon Mar 10, 2008 9:44 pm

Re: problems with ntheorem

Post by Stefan Kottwitz »

Hi skitapa,

that example will work with ntheorem and amsmath, but ntheorem cannot be used together with amsthm.

Stefan
LaTeX.org admin
skitapa
Posts: 5
Joined: Tue Sep 30, 2008 1:16 pm

problems with ntheorem

Post by skitapa »

hi
i think you are wrong,
http://www.ctex.org/documents/packages/ ... heorem.pdf page 11:
amsthm.sty conflicts with the definition of theorem layouts in theorem.sty, some
features of amsthm.sty have been incorporated into option [amsthm] which has to
be used instead of \usepackage{amsthm}.
(i did modify according to the link)
anyhow, isnt the amsmath package needed if i use ntheorem?

edit: what i meant was that is the amsthm in \usepackage[amsmath,amsthm]{ntheorem}
redundant?
User avatar
Stefan Kottwitz
Site Admin
Posts: 10345
Joined: Mon Mar 10, 2008 9:44 pm

problems with ntheorem

Post by Stefan Kottwitz »

What do you mean was wrong? You could use

Code: Select all

\usepackage{amsmath}
\usepackage[amsmath,amsthm]{ntheorem}
but when using ntheorem don't write

Code: Select all

\usepackage{amsthm}
Stefan
LaTeX.org admin
Post Reply