A package for handling theorem-like environments.

learn more… | top users | synonyms

2
votes
1answer
96 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
58 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
62 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
29 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
73 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
109 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 ...
4
votes
2answers
99 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
52 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 ...
3
votes
1answer
59 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
80 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
82 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
235 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
65 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
212 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
139 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
206 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
176 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
101 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
210 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
209 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
114 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
205 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
185 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
75 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
96 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
168 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
257 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
195 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
459 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
235 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
247 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
569 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
292 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
335 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
419 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
393 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
280 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 ...
3
votes
1answer
122 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
193 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
322 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
196 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
349 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
224 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
362 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
339 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
251 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
893 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 ...
1
vote
1answer
211 views

Hyperref with answers [ntheorem]

I read Hyperlink with answers and have tried to apply the technique to my environments that I have defined using the ntheorem package. In the MWE below the answer links correctly go to the questions, ...
2
votes
1answer
272 views

Local \theorempreskipamount and \theorempostskipamount of ntheorem

It seems that \theorempreskipamount and \theorempostskipamount cannot be set locally meaning that they will keep the same value for all the defined environments even though the user may wish different ...

1 2