Questions tagged [ntheorem]
A package for handling theorem-like environments.
261 questions
5
votes
2
answers
229
views
Theorem list references with zref-clever
For a long time, I have been using this excellent solution by Mico, combined with this other excellent solution by Ulrike, to create clever references to theorems with listed substatements. But with ...
2
votes
0
answers
81
views
ntheorem, cleveref, and using the equation counter for theorems [duplicate]
Why does the following not work as expected? The theorem reference should be to “theorem 2”, not “eq. (2)”, despite the fact that the equation counter is being used for theorems. I’m fairly sure that ...
2
votes
2
answers
105
views
Reset a counter with the tools of zref-clever
Unless there is some undetected problem, the following MWE does mostly what I want to achieve.
Features
enumeration of theorems and lemmas by a common counter and single number
step has its own ...
2
votes
1
answer
46
views
[lualatex][ntheorem] numbering with Greek letters
I have two problems in one to present to you.
First, I would like the numbering to also be in bold when choosing Greek letters.
The numbering is indeed in bold for \theoremnumbering{alph} but not for \...
1
vote
1
answer
76
views
Recreate ntheorem theorem styles using beamer built-in theorems
As discussed here, the thmmarks option of ntheorem and beamer overlay specifications cause some issues when used together (due to both redefining \end{itemize}),
so I am trying to recreate my theorem ...
1
vote
2
answers
100
views
thmmarks option of ntheorem breaks beamer \item<...> with overlay specification
Here's a minimal non-working example:
\documentclass[noamsthm]{beamer}
\usepackage[thmmarks]{ntheorem}
\begin{document}
\begin{frame}{Fail}
\begin{itemize}
\item<+-> a
\item<+->...
2
votes
1
answer
87
views
Number theorems 1.1 1.2a 1.2b 1.3a 1.4 .1.3b
I need to number the theorems as shown in the image. For content reasons, after theorem 1.4 is theorem 1.3b, then 1.5...
I use the ntheorem package but don't understand how to change the default ...
9
votes
2
answers
901
views
cleveref treats all ntheorem environments as lemmas
I seem to be unable to get cleveref to reference results by their desired type. I am using ntheorem to create environments, making all subsequent environment types share the lemma counter. My problem ...
3
votes
1
answer
96
views
Throw warning if there is an empty line before \end{proof}
ntheorem does not print the end mark if the last line of the environment is empty:
(from the ntheorem manual).
To avoid the end mark not printing, I want a way to warn me if I accidentally put an ...
1
vote
1
answer
129
views
ntheorem with thmmarks causes strange vertical spacing with amsmath equation*
I experience a strange spacing before \begin{equation*} when using amsmath and ntheorem with the thmmarks option. It is associated with using leqno and fleqn together as general setting.
How do I fix ...
4
votes
1
answer
739
views
Package amsmath Error: Multiple \labels
I have seen that this subject was discussed a couple of times, but often the reason was like "oh, I used align* with \label". In my case it is a bit different, here is a minimal example
\...
2
votes
1
answer
131
views
different enumerate labels depending on surrounding environment
I want to use roman enumerate labels in theorems, and alphabetic labels in lists of examples:
\documentclass{article}
\usepackage{ntheorem}
\usepackage{enumitem}
\newtheorem{theorem}{Theorem}
\...
2
votes
2
answers
76
views
how to indent just first line in ntheorem package
I am writing a book and faced a problem with non-standard names of theorems and problems, which I solved with the help of the ntneorem package, but the standard indentation of the first line was ...
2
votes
1
answer
120
views
Error resulting from hyperref-cleveref-ntheorem interaction: No counter '[' defined
I am on a Linux system running TeX Live 2023 installed manually (not through the distro's repo), and up to date at the time of this writing (2023-04-21).
The following short document has started ...
1
vote
1
answer
279
views
Conflict of pdfx (hyperref), ntheorem, and cleveref
Compiling the MWE
\documentclass{book}
\usepackage[x-1a1]{pdfx}% also loads hyperref
\usepackage{amsmath}
\usepackage[amsmath,amsthm,thref,thmmarks]{ntheorem}
\usepackage{cleveref}
\newtheorem{...