{theorems} are environments which are commonly numbered. They are extensively used in math texts. Examples of such environments are theorems, corollaries, lemmas, propositions, remarks and definitions. Popular packages are {amsthm}, {ntheorem}, and {thmtools}. Covers discussion on proofs too.

learn more… | top users | synonyms

4
votes
1answer
153 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 ...
4
votes
1answer
831 views

Newtheoremstyle: start counting at 0

I defined a \newtheoremstyle and I want it to start counting at 0 instead of 1. How do I do that?
4
votes
1answer
1k views

amsthm: how to reduce the vertical spacing between theorem and proof?

I'm using the amsthm package to layout theorems and their proofs. How can I reduce the vertical spacing between the last line of the theorem statement and the first line of the proof? BTW, I tried ...
4
votes
3answers
374 views

References to lists in theorem-like environments/writing # symbol to files

A little warning in advance: This will be quite lenghty. I spent quite some time over the last few days trying to solve the following problem: I'm typesetting mathematical lecture notes and have used ...
3
votes
1answer
45 views

Subtheorems with alphabetic number

I would like to create a list of tasks using LaTeX. Therefore I created a theorem called task. For some tasks I would like to create additional subtheorems using alphabetic numbering. Currently my ...
3
votes
2answers
135 views

Definitions, theorems, … with description inside a box and the title above the box

I am searching for a definition (or similar) environment with the following features: Numbering Listing Definition title with number above the description Definition text inside a box with black ...
3
votes
1answer
133 views

Indicator at end of theorem

I'm writing a text with some very long theorem-environments in it and I find the italicised theorems visually not pleasing when they are rather longish. So I'm using the definition theorem style most ...
3
votes
1answer
174 views

ntheorem Box over multiple pages with continued hint?

When my ntheorem Box spans multiple pages, I want it to have a hint on each page, that it is a continuation. How can this be done? Below is some sample code, spanning a box over two pages, which is ...
3
votes
1answer
134 views

Numbering a reworded theorem

When using LaTeX for numbered theorems (or other numbered environments for that matter), if you have a theorem, and then you want to give a reformulation of the theorem, is there anyway to get LaTeX ...
3
votes
2answers
1k views

Space before proof

I am trying to make LaTeX put no additional space between theorem and proof. Here is my code: \newtheorem*{pr3}{Theorem} \begin{pr3} foo \end{pr3} ...
3
votes
2answers
2k views

Automatic \noindent on the first paragraph of each theorem environment

I am currently putting a \noindent before the first paragraph of each theorem, proof, etc. in my memoir document. Is there any way to have memoir do this automatically? For example, is there any way ...
3
votes
2answers
478 views

Missing footnote and marginpar with package thmbox or package thmtools with option thmbox

I am using package thmbox to write theorems. If I include footnote or marginpar within the body of a theorem, the following problems arise: the text of the footnote is simply missing, while the ...
3
votes
1answer
403 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
2answers
231 views

How to use an environment whose name comes from a reference?

Suppose somewhere in my long Ph.D. thesis I use a theorem-like environment (maybe it's a theorem, maybe it's a lemma, etc.), and label it. At another place I want to have an environment which is the ...
3
votes
3answers
3k views

\normalfont in new theorem-like environment

How can I get universal in my new environment normalfont instead of italic (default)? I thought it was something simple like \newtheorem{exercise}{ \normalfont}[chapter] ` but doesn't work. I could ...
3
votes
4answers
2k views

ntheorem with the [amsthm] option ignores styling of a theorem environment

I'm using ntheorem with the amsthm option, to define a theorem-like environment for stating notes. I should be getting an environment beginning with the word 'Note' in italic font, followed by the ...
2
votes
2answers
65 views

Name of the proof instead of just proof

Packages I'm using: \usepackage{amsmath} \usepackage{graphicx} \usepackage[colorinlistoftodos]{todonotes} \usepackage{amsthm} \usepackage{amssymb} \newtheorem{thm}{Theorem} ...
2
votes
1answer
113 views

Change the way theorems are numbered within a document

I'm working a document that has one (very large) chapter, in which theorems, lemmas, etc. are numbered with subsubsection, i.e. the start of the document has the command ...
2
votes
1answer
80 views

How to adust margin in listoftheorem

I have some definitions and theorems inside subsubsubsection. When latex generates the listoftheorems, the last digit of the subsubsubsection overlaps the first letter of the name of the theorem, ...
2
votes
1answer
105 views

Combining spacebelow with shaded parameter in thmtools package. Bug?

In the following example the spacebelow parameter is ignored. If you comment out the shaded parameter, the space is considered. Is it possible to use both parameters spacebelow / shaded? ...
2
votes
1answer
194 views

Automatically add theorems to index and label them

In another question (Remove math from command parameter to get only the letters) this command was elaborated to have an optional argument for sorting purposes within the index \documentclass{article} ...
2
votes
2answers
1k views

Indentation for proofs

I'm using amsbook document class and amsthm package. I want the proofs to stand out from the rest of the text by slightly indenting them, i.e. leaving some margins from left and right. How do I do ...
2
votes
2answers
539 views

How to identify the counter of Equation, Theorem, and Section

I asked before how to identify the counter of Equation and Theorem. A simple answer suggested there is \newtheorem{thm}[equation]{Theorem} A simple variation allows me to identify the Theorem and ...
2
votes
2answers
325 views

theoremprework Error with ntheorem

I have defined \theoremheaderfont{\normalfont\bfseries} \theoremprework{\bigskip\hrule} \theorempostwork{\hrule\bigskip} \theorembodyfont{\slshape} \newtheorem{definition}[satz]{Definition} and now ...
1
vote
0answers
46 views

Custom theorem numbering … and extend to lemma etc [closed]

In Custom theorem numbering @egreg provided a way to custome theorem numbering: \documentclass{article} %\usepackage{amsthm} %% uncomment to see the difference \newtheorem{innercustomthm}{Theorem} ...
1
vote
0answers
99 views

Faint text after new theorem

This code using \newtheorem produces faint text afterwards. What's the remedy? \documentclass[xcolor=dvipsnames]{beamer} \usetheme[height=9mm]{Rochester} \setbeamertemplate{items}[ball] ...
1
vote
1answer
73 views

How to ignore proofs? [duplicate]

I'd like to print a shorter version of my paper without all the proofs, I'm thinking about something like \renewenvironment{proof}{\begin{comment}}{\end{comment}} but that activates the comment ...
1
vote
1answer
234 views

Theorem-like environments in Latexit?

I want to use Theorem-like environments in Latexit. How can I do this?
1
vote
1answer
255 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} ...
0
votes
1answer
88 views

Customizing list of theorems (LaTeX)

Is it possible to avoid brackets surrounding the name of a theorem in the \listoftheorems from thmtools? And if so, how do I do that?
0
votes
1answer
135 views

thmtools with thmbox split in two pages

I am trying to use the thmbox=Moption from the thmtools package. But sometimes in the text when there isn't enough space for the theorem to fit in the bottom of the first page, it moves it to the next ...
0
votes
0answers
100 views

nopagebreak between rule and custom theorem env

I'm making a custom theorem environment. Here's a minimal example of my problem, with some filler text borrowed from the GPL: \documentclass{scrbook} \usepackage[dvipsnames]{xcolor} ...