A package for handling theorem-like environments.
6
votes
1answer
34 views
Using ntheorem's counter inside theorem statement
I'm using ntheorem package and I would like to use the theorem's counter within the theorem's statement. This is useful when you're defining a special object you wish to reference elsewhere, like:
...
2
votes
1answer
81 views
Problem with ntheorem, align and \qedhere
I would like to use the align environment inside a proof with ntheorem, but I have trouble with \qedhere.
I was guided by this (http://tex.stackexchange.com/a/2280/30325) code, and replaced \[ by ...
2
votes
1answer
119 views
How to port this ntheorem solution to amsthm + thmtools?
Is it possible to reproduce this pleasant theorem environment using amsthm and thmtools?
1
vote
1answer
72 views
Proof titles with ntheorem
I am using the ntheorem package. I have a theorem in a document where the proof appears somewhat later. When I start the proof, I'd like to indicate what exactly I am proving. Currently the code I ...
4
votes
1answer
79 views
Problem with font in theorem environment
I use LuaLaTeX, fontspec and XITS maths font. Additionally, I had a problem with theorem environment and long headers so I based my solution on this. My problem is that I now get a different font for ...
0
votes
0answers
30 views
ntheorem vs. amsthm [duplicate]
As far as i know, these are alternative packages for playing with theorem-like environments.
What do you choose and why? What should be the de facto standard?
Regarding the same topic, are you ...
4
votes
1answer
103 views
Aligning a \marginnote to a theorem title
I want to create a \marginnote which is aligned to the title of a theorem. However, the \marginnote is always placed over or under the title, when I put the \marginnote command before or into the ...
6
votes
3answers
135 views
Hypotheses and Subhypotheses with ntheorem
The goal is to have an environment that can, depending on a trigger, either create this:
Hypothesis 1 The better the answer, the higher the score.
or that
Hypothesis 2a Higher score is positive ...
5
votes
2answers
124 views
Common numbering with ntheorem
I have the exact same question as detailed in Common, per-section numbering of theorems, lemmas etc., but I am using ntheorem and so can't use the accepted answers code. Does anyone know how to adapt ...
2
votes
1answer
67 views
ntheorem: vertical space between chapters in listtheorems?
I have a ToC and list of problems in the same document. I struggle to make them look the same. I solved all, but the following issue.
In ToC (and LoF) there's a space between chapters. listtheorems ...
4
votes
1answer
68 views
List of theorems: no links when problem title is non-english
I'm trying to make use of this solution to get list of problems.
I'm using XeTeX, and if I use non-english as a problem name -- hyperref's links to problem in "List of problems" doesn't work.
Here's ...
4
votes
1answer
89 views
Making a list of hypothesis and references to the hypothesis
I have some problems with making a list of hypothesis and references to my hypothesis.
\documentclass[12pt, a4paper, makeidx]{memoir}
\usepackage{ntheorem}
% *************** hyperlinks in PDF ...
2
votes
1answer
87 views
Line break after header of theorem environment followed by multicols body causes header-body overlap
I use TeXLive 2011.
I use ntheorem and multicol.
In a theorem environment, I want the theorem header to be separated from the body by a line break such that the multicols-environment get's that and ...
0
votes
3answers
248 views
trivlist list environment \item command
My document class uses paralist and redefines \begin{enumerate}[(a)][abc] etc... environments to issue \label for each \item, given a second option (e.g., \abc{a}) that becomes a 1-parameter macro ...
0
votes
1answer
68 views
Problems using cleveref with ntheorem [closed]
I'm using ntheorem and cleveref to make my life easier. The problem is that the produced references look like:
If I use \cref : ?? [theorem][22][4]4.22
If I use \autoref, but cleveref is loaded : ?? ...
4
votes
1answer
274 views
Conflict between ntheorem and amsthm
I am using etoolbox and ntheorem packages to have a custom numbering of theorems and equations. Everything works but these side errors occur:
\qedhere command is unknown (EDIT: following some ...
2
votes
0answers
155 views
misplaced qed symbol after displaymath inside item of inline list
My problem involes a qed symbol which appears too early.
My observations are that it happens after a displaymath inside an item of an unboxed inline list.
All of this seems to be necessary to produce ...
5
votes
1answer
227 views
Line break in theorem header
I am using ntheorem to define my own environments like this
\theoremindent=0cm
\theoremheaderfont{\kern-0cm\normalfont\bfseries}
\theorembodyfont{\upshape}
\theoremstyle{break}
...
5
votes
3answers
181 views
Conflict between amsmath and ntheorem, or, how I fell into an infinite troubleshooting loop
There are similar questions on this site, but nothing quite fixed this problem for me.
When using amsmath with ntheorem I get either a missing end of theorem symbol (when my theorem ends with an ...
2
votes
1answer
108 views
ntheorem thref not working in section titles
When I try to refer to a theorem in a section title with thref, I get the error message at the end of this question. Is there a way to fix this?
Latex Error: ./seppathq.tex:57 Argument of ...
6
votes
1answer
224 views
Invisible math characters with unicode-math and ntheorem
When compiling this code with lualaTeX (from TeXLive 2011),
\documentclass{minimal}
\usepackage{unicode-math}
\usepackage{ntheorem,thmtools}
\setmathfont{xits-math}
\makeatletter
...
4
votes
1answer
225 views
How can I create a customized environment?
I would like to write some theorems down like this:
\begin{theorem}
\begin{preconditions}
$A := \begin{pmatrix} 1 & 2 \\ 3 & 4 \end{pmatrix}$\\
$B := \begin{pmatrix} 2 ...
3
votes
2answers
125 views
problems with hyperref when \thethm points to undefined reference
Consider the following three minimal examples. I do not understand why the first doesn't work while the second and third is fine. Can anyone tell me? Hyperref seems to have problems when \thethm is ...
7
votes
2answers
212 views
change label of a single theorem using ntheorem
My question refers to the minimal example pasted below. I would like to change the title of the second theorem (the one with yyy) to Theorem 7' without affecting the theorem counter. That is, the ...
6
votes
1answer
207 views
Align the names in \listtheorems (ntheorem)
Question:
How do I align the names of theorems in ntheorem list of theorems?
Screenshot:
Screenshot: (photoshopped)
Context:
I am using the ntheorem package to typeset a list of theorems and ...
0
votes
1answer
79 views
ntheorem not placing marker on next line
Hi does anyone have a solution to this:
\documentclass[12pt,reqno,a4paper,draft]{article}
\usepackage[margin=3.cm,heightrounded]{geometry}
\usepackage{mathtools,amsmath,amssymb}
...
6
votes
1answer
98 views
formulas in bold theorem titles in ntheorem package
I'm not quite sure if this counts as a bug or a feature but I have the following problem with the ntheorem package. The theorem title is bold face, which I like, but in math formulas setting some (or ...
3
votes
1answer
176 views
How can I input endmark?
This is my code
\documentclass[12pt,a4paper]{article}
\usepackage[utf8]{inputenc}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage[thmmarks,standard,thref]{ntheorem}
...
4
votes
1answer
1k views
Bad math environment delimiter: ntheorem with thmmarks, Display math and split
Using a combination of \usepackage[amsmath,thmmarks]{ntheorem}, display math enclosed in \[ \] and a \begin{split} environment inside it, pdflatex freaks out completely:
! LaTeX Error: Bad math ...
1
vote
1answer
274 views
Interference between amsmath and ntheorem
I am having some problems that `seem' to me to be a conflict between amsmath and ntheorem. Here is a MWE:
\documentclass[12pt,a4paper,oneside]{report}
...
5
votes
2answers
211 views
Spacing for \listtheorems in ntheorem
Q: How do I get my theorem number and name to not overlap each other in my list of theorems?
This is basically the same question as "Spacing control for listtheorems". But the solutions mentioned ...
4
votes
1answer
506 views
Changing `proof` endmark when using `ntheorem` with `thmmarks` and `amsthm` options
Q: Is there an easy way to change the default proof environment endmark (it's normally a funny open square and I'd like to change it to \blacksquare) when using the ntheorem package with the amsthm ...
3
votes
1answer
238 views
empheq conflict with ntheorem?
I am trying to use the empheq package as indicated here. But I am seeing some problems with where the tags to the equations are placed, since my document also uses the ntheorem package. (Remark: the ...
2
votes
1answer
254 views
Redefine \emph inside theorem using \newshadedtheorem from ntheorem
Using the ntheorem package, the definition of \newshadedtheorem overwrites the \theoremprework, which I wanted to use to redefine \emph inside a custom shaded theorem. The definition of ...
4
votes
2answers
611 views
`ntheorem` and `thmtools` seem incompatible
I am preparing the setup of the theorem environments for my thesis. I want to do this right before I have say 200 of those environments in my document, since changing them will likely break things at ...
3
votes
3answers
310 views
ntheorem and attributions without redefinining a theorem style
I'm using the theoremstyle marginbreak from the package ntheorem as follows:
\theoremstyle{marginbreak}
\theoremindent1cm
\newtheorem{teo}{Theorem}[chapter]
The problem is that when I want to ...
5
votes
1answer
358 views
Spacing (numwidth) control for listtheorems
I am using the \listtheorems command from ntheorem to generate a list of theorems for a document. However, because I number the theorems inside sections, the theorem number is a bit on the long side, ...
4
votes
1answer
449 views
Hyperref and ntheorem's thref: inconsistent numbering
When using ntheorem with the thref option to get the named reference command \thref, sometimes the theorem numbers produced is "different" from the theorem numbers produced by just \ref. Any ...
3
votes
1answer
413 views
passing a theorem name using ntheorem
I'm looking for a way to style a theorem as shown here.
The code there works if I want the theorem number in the heading box, but I also want to be able to pass a custom theorem name to add to that ...
3
votes
1answer
294 views
Extra space before labeled theorem body with thmbox or thmtools+thmbox
Package thmbox seems to add an extra space at the beginning of the body of the labeled theorems. See example below. Package thmtools with the thmbox option does the same. Latex original, package ...
4
votes
1answer
126 views
How do I determine the name of the counter associated with a theorem-like environment
(A question related to this one and leading up to this one.)
Suppose I'm using ntheorem. I would like to have a command which determines the name (not the value) of the counter associated with a ...
1
vote
1answer
200 views
RTL theorems with ntheorem and xetex have separator in wrong place
(This is a split-off from another RTL ntheorem issue.)
When you have a theorem in RTL language text (e.g. Hebrew), using XeTeX+polyglossia(+bidi)+ntheorem, the theorem separator comes out before, ...
4
votes
1answer
329 views
Spacing using minipage in theorem environment (ntheorem)
Consider the following example and notice the different vertical spacings between the theorem caption and the text. Is there a way to get the same spacing when using minipage as in the case of normal ...
1
vote
1answer
200 views
\theoremindent adds space to left side when used with RTL languages
Trying to use ntheorem's \theoremindent seems to indent the left side rather than the right side when used with polyglossia and right-to-left languages:
\documentclass{article}
\usepackage{ntheorem}
...
1
vote
1answer
352 views
is it possible to fake the amsart class format?
I often use the amsart documentclass. I like it because it is very compact (it also seems to be an industry standard in my area).
What I don't like about it is that I'm not able to use kpfonts or ...
4
votes
1answer
231 views
ntheorem style change for heading
Im using the packages ntheorem and framed to create boxes like 1. Does anyone know how to change the heading to the following order:
name. counter: parameter
For example: Erg. 2: Erwerbshierarchie ...
3
votes
2answers
389 views
mdframed and ntheorem counters
In the code below, counters defined by mdframed seem to not be accessible to ntheorem environments which is problematic but ntheorem counters can be read by mdframed. I could not find a work around ...
4
votes
2answers
359 views
ntheorem environment with indentation
Considering this post theorem environment with hanging indentation and Stefan's answer,
I'd be interested in the same approach with ntheorem. I've been through the .sty file but I have hard time ...
1
vote
1answer
261 views
Equation-reference with cleveref
I am using cleveref, which seems to be working fine, except for my equation references, which are referenced as ??.
My equation is:
\begin{equation}\label{ex2eqn}
Y_{t} = \epsilon_t + 1.8Y_{t-1} + ...
2
votes
4answers
956 views
ntheorem with the [amsthm] option ignores styling of a theorem environment
(Edited re avoiding amsthm)
I'm using ntheorem with the amsthm option. I should be getting a environment with 'Note' in italic and the contents in normal roman font. Instead, I get 'Note' in boldface ...