A package for handling theorem-like environments.

learn more… | top users | synonyms

1
vote
1answer
25 views

Is it possible for ntheorem to number each instance with subscript numbers?

I am wondering if it is possible to alter ntheorem's numbering of theorems/hypotheses/instances with subscript numbers. I could not find anything on this matter in the package's documentation, which ...
6
votes
2answers
68 views

Setting marks automatically when a counter is incremented

I want to create a dictionary-like header, where on the top left of the even page and the top right of the odd page equation numbers will be shown: on the top left is the equation number of the first ...
3
votes
2answers
79 views

How to customize the \label{}

I would like to change the presentation of the command \label{}. More precisely for the theorems of ntheorem. In fact I created a theorem called "assumption", and I would like to refer an assumption ...
2
votes
0answers
33 views

Conflict with amsmath, ntheorem, and showlabels

The code below does not produce the labels for either of the equations. (I mean the labels that should be shown by showlabels, not the equation numbers.) Removing either of the options to ntheorem ...
2
votes
1answer
37 views

Create PDF bookmarks automatically with ntheorem

Is it possible to automatically create PDF bookmarks with ntheorem's headers? Example: \documentclass[a4paper]{scrartcl} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage[hyperref]{...
6
votes
1answer
78 views

xgalley breaks memoir and ntheorem

Another question from me about the experimental expl3 package xgalley: This time, simply loading the package causes problems with memoir and ntheorem. Consider the below MWE. When I load xgalley, the ...
0
votes
0answers
27 views

ntheorem in beamer has a problem with <alert@> -commands

Consider the following (hopefully) minimal code: \documentclass{beamer} \PassOptionsToPackage{ngerman}{babel} \PassOptionsToPackage{thmmarks}{ntheorem} \makeatletter \let\th@plain\relax \let\...
2
votes
0answers
30 views

Easylist inside ntheorem

I want to use easylist inside a ntheorem environment. But it doesn't indent nested lists. Cropped PDF: Minimal example: \documentclass[a4paper]{scrartcl} \usepackage[T1]{fontenc} \usepackage[utf8]{...
0
votes
0answers
32 views

Increase ntheorem break style spacing between header and body text

I just noticed that, when using the break style, the spacing between the header and the body of an ntheorem environment does not stretch according to the height of the immediate text, even though the ...
4
votes
1answer
45 views

Gettting rid of ntheorem's limitation concerning footnotes in theorem's notes

As shown by the following MWE, footnotes in theorems' notes work well for amsthm's theorems: \documentclass{article} \usepackage{amsthm} \newtheorem{theorem}{Theorem} \begin{document} \begin{theorem}[...
0
votes
0answers
20 views

Unnumbered theorem in siamart.cls

I am trying to get an unnumbered theorem environment in the SIAM article document class siamart.cls, and am met with errors. For example, simply trying: \newtheorem*{problem*}{Problem} gives the ...
2
votes
2answers
117 views

With ntheorem, thmmarks and no amsthm, defining the proof environment right

I'm using ntheorem with the thmmarks option but without the amsthm option (for reasons I won't go into). I would like to define the proof environment à la amsthm. Specifically, I want: To be able to ...
4
votes
3answers
41 views

Equation numbers in split environment messed up by ntheorem thref

When I use ntheorem with the thref option, every time I use the amsmath split command the numbering skips ahead by one. Here is an example: \documentclass{article} \usepackage{amsmath} \usepackage[...
6
votes
1answer
99 views

ntheorem: extra space between a proof and a theorem

In ntheorem, when I have a proof that ends with a displayed equation that is immediately followed by a theorem, I seem to get too much space between the equation and the theorem. In my example, I ...
2
votes
1answer
53 views

Second optional argument for theorem

I am using ntheorem to include theorems in my thesis. Currently, my theorem headers are printed as follows: (x.y) Theorem (Title). The code I use to achieve this is roughly as follows. \...
2
votes
1answer
34 views

Fraction in first line of Example overlaps onto Example header

I'm writing an example where the question says to find what the Legendre symbol of a few numbers are equal to. The theorem style I'm using is 'nonumberbreak' as I like to have my examples start on ...
2
votes
2answers
117 views

ntheorem won't display theoremsymbol

I am trying to define a proof-environment using the ntheorem package. However, I can't seem to get the "end of proof"-symbol printed into my document, even though I get no error messages from the ...
1
vote
2answers
50 views

How to remove the dot in the proof environment (using ntheorem package)?

\begin{proof} something \end{proof} produces Proof. something and I want Proof: something The solution suggested here produces an error if one uses the ntheorem package instead of amsthm ...
1
vote
1answer
77 views

Issue with ntheorem and \eqref

Whenever I try and label an equation in the following format \begin{equation}\label{eq:blah} blah \end{equation} and then reference this equation By \eqref{eq:blah} I get the usual (??) of an ...
1
vote
1answer
61 views

Obstinate empty line between ntheorem’s break environment and an amsmath environment

I’m using ntheorem to set my proofs, using the nonumberbreak style: \documentclass{article} \usepackage{amsmath} \usepackage[amsmath]{ntheorem} \theoremstyle{nonumberbreak} \newtheorem{proof}{Proof} ...
0
votes
1answer
93 views

Getting bold text in ntheorem environment containing tikz picture and minipage environment

I'm getting bold text in ntheorem environment where I put tikz picture beside arabic text in minipage environement. Deleting AutoFakeBold=1.05 option from the \setmaincommand let me get regular text, ...
4
votes
1answer
63 views

Using amsmath, ntheorem and autonum together cause an overfull hbox

I'm trying to use the combination of amsmath + ntheorem + autonum with the thmmarks option enabled. This causes a bug. The minimal case to reproduce is \documentclass{article} \usepackage{amsmath} \...
3
votes
2answers
82 views

Formatting theorems with drop-cap'd theorem numbers

I want to mark theorems with a big (drop cap) theorem number in the margin. I couldn't get LaTeX to raise the dropcap without using a smash, but then this causes numbers to overlap if theorems are ...
2
votes
3answers
156 views

Debugging problem

I'm trying to find the bug in this code \documentclass[a4paper,12pt]{book} \usepackage{times} \usepackage[francais]{babel} \usepackage{amsmath} \usepackage{amssymb} \usepackage{amsthm} \usepackage{...
1
vote
0answers
22 views

Restart hypothesis counter in new chapter [duplicate]

I want to have sub-hypotheses so I use following code: \newtheorem{hyp}{Hypothesis} \makeatletter \newcounter{subhyp} \let\savedc@hyp\c@hyp \newenvironment{subhyp} {% \...
3
votes
2answers
105 views

Undefined references within equations

So my problem is that there seams to be a clash between something in my preamble and the \label{} and \ref{} commands. When I do references within my definition environment it all goes smoothly, but ...
1
vote
0answers
64 views

Option thref of package ntheorem causes equation numbering problem with amsmath's split environment

See the MWE first: \documentclass{article} \usepackage{amsmath} \usepackage[amsmath, thref]{ntheorem} \begin{document} \begin{equation} \begin{split} a & b\\ c & d \end{split} \end{equation}...
0
votes
3answers
103 views

creating theorem-like environments within 'notes' (see example)

I would like to create the following style to write mathematics: In fact the above I created myself but some numbers and spacing I had to set manually (and I would like this to be automatic of ...
0
votes
1answer
121 views

Table/Summary of Theorems and Definitions

I was wondering if there are any packages out there that will automatically print out a table or summary of the theorems and definitions in my document. I do NOT want a list of the theorems and ...
2
votes
1answer
610 views

ntheorem: numbering of claim and its proof

I am trying to create a claim environment in ntheorem to use within the proof environment. I tried around with the following code \documentclass{article} \usepackage{ntheorem} \newtheorem{theorem}...
3
votes
1answer
113 views

How to put bracket around the number of a theorem?

What I want is like this: (1.1) Theorem. blabla... I have used ntheorem package to interchange the number of a theorem and its name. Then, how to put the bracket around the number? \...
6
votes
2answers
254 views

Error (?): hyperref breaks \crefalias

The below code (exluding the line \usepackage{hyperref}) provides two theorem environments thm and Thm, which use two different theorem styles (with andwithout a line break right after the theorem ...
2
votes
1answer
118 views

cleveref for theorems with same type

I usually create theorem environments in pairs - one uses the ordinary theorem style, the other (whose name starts with a capital letter) uses the "break" style, which inserts a line break before the ...
3
votes
2answers
58 views

Revisions of a theorem where numbering goes 2.0, 2.1,2.2

I would like to give different equivalent versions of the same theorem, eventually proving the last version. The first time I state the theorem, I would like it to have the number 2.0. Each successive ...
2
votes
1answer
339 views

Question marks showing up while trying to reference equation [duplicate]

Similar questions have been asked, but I've found them to be of no help. When I try to reference an equation in texstudio, all I get is ?? An example of code I have inserted which does this (I have ...
0
votes
1answer
95 views

Enforcing no hyphenation of the last word in the first line of Definition while keeping the line well-aligned

I am using the IEEEtran theorem environment and \newtheorem{definition}{Definition}[section] to customize the definitions. Generally, I am satisfied with its output: However, for another definition ...
1
vote
1answer
69 views

Section number in list of theorem

I would like to insert the section number in the list of theorems. \documentclass{article} \usepackage{ntheorem} \theoremstyle{plain} \newtheorem{listeThm}{\textsc{thm}} \begin{document} \section{...
3
votes
2answers
218 views

Lualatex error with polyglossia's \setotherlanguages and ntheorem

Consider this MWE: \documentclass[10pt,twoside,openright]{book} % http://tex.stackexchange.com/a/44701/2595 \usepackage{iftex} \ifPDFTeX \usepackage[greek,danish,english]{babel} \usepackage[utf8]...
1
vote
0answers
29 views

Create list of examples [duplicate]

I used the amsthm-package to define definitions, theorems and lemmas. Besides, I defined examples as follows: \newtheoremstyle{examplestyle} {2pt} {2pt} {} {} {\bfseries} {:} {3pt} {} \theoremstyle{...
1
vote
1answer
321 views

QED sign does not always occur with package ntheorem

I want to construct some theorem-type of environment by using package ntheorem. I have edited the following source codes: \documentclass[A4paper]{article} \usepackage{amsmath} \usepackage{amsfonts} \...
2
votes
0answers
110 views

ntheorem placement of thmmarks wrong

I have the following problem with ntheorem: Whenver an ntheorem environment ends with a displayed equation, the thmmark is completely misplaced. For instance: \documentclass{article} \usepackage{...
3
votes
1answer
357 views

Colored box for theorem with ntheorem

I would like to have every theorem with the same style to have the same colored box and to be able to configure the color. Like this : I tried to use the package ntheorem with the option framed and ...
2
votes
1answer
138 views

Center all same theorem

I would like to know if it's possible right from the definition of a theorem to center it : \begin{center} \begin{minipage}{5cm} { { \theoremstyle{plain} \theorembodyfont{\small} \theoremheaderfont{...
0
votes
1answer
59 views

cleveref, ntheorem and lj-igpl

The cleveref package doesn't work properly with the lj-igpl package. There are many discussions about cleveref, however, none of them solves my problem. I am using the ntheorem package as well, but ...
4
votes
3answers
195 views

Advanced hierarchical counting for theorems

I want to number successive theorems with hierarchical counting (top level counter n, sub level counter m) in a way that I can chose from the following options for each theorem: Theorem n. (...
2
votes
0answers
185 views

mdframed: option thmmarks of ntheorem affects vertical skip after theorem

I define a framed theorem environment with the mdframed package. I experience the following problem: There is no vertical skip between the bottom of the frame and the text of the following paragraph ...
3
votes
1answer
360 views

Label in a ntheorem environment witout additional caption

I defined a new theorem with the ntheorem package. If i want to add a label to a certain theorem i get an error from the caption package. And referencing doesn't work. Package caption Warning: \label ...
7
votes
3answers
318 views

How can I number theorems in introduction without section counter and later with it?

I would like to have my theorems numbered in the following way. Theorem 1. Blah-blah Theorem 2. More blah-blah Section 1. Theorem 1.1. Special blah Theorem 1.2. More special ...
2
votes
1answer
81 views

Can't style theorem with ntheorem and mathdesign

Code below gives me no styling for theorem. \documentclass[12pt,a4paper]{article} \usepackage{russ} \usepackage[cp1251]{inputenc} \usepackage[ukrainian,russian]{babel} \usepackage[left=3cm,right=3cm,...
7
votes
1answer
217 views

No cleveref in beamer?

I am trying to get a math beamer presentation to work and it seems that cleveref is causing problems. The MWE below gives the error Paragraph ended before \@ynthm was complete In the documentation ...