{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

3
votes
0answers
36 views

Hidden Theorem Style

i'm using the theorem environment to write edition notes or commentaries in an article. \declaretheorem[ style=myexamplestyle, name={\ding{46} Note }, unnumbered ]{note} Is there a way ...
0
votes
1answer
68 views

Theorem numbering as subsections and automatic solutions

I have a problem environment where the counter is coupled to the subsection counter. However this doesn't work with automatic solutions. I tried to couple the solutions counter to the subsections as ...
1
vote
2answers
21 views

Problem with cross-referencing using hypertarget

I have some problems related to the application of an answer that I received to a previous question of mine, that can be found here. Below there is a MWE, where I used \clearpageextensively, because ...
1
vote
1answer
24 views

Theorem Numbering problem - Lettered subsections

I am trying to write theorems that will number based on section and subsection. I know this is the default when you enter, for example: \newtheorem{defn}{Definition}[subsection] but when I do ...
1
vote
1answer
30 views

Label of theorems

Is there an equivalent of \figurename for theorems and lemmas? For instance, given that I've defined \newtheorem{theorem}{Theorem} \newtheorem{lemma}{Lemma} \newtheorem{example}{Example} and in ...
2
votes
2answers
56 views

Adding a title to theorem environment

I am trying to use the theorem environment in my work as Sample Problem. This is my MWE: \documentclass{book} \usepackage{amsthm} \newtheoremstyle{mythmstyle} {}{}{}{} {\bf} {} ...
1
vote
2answers
45 views

Itemizing theorem body

Using package amsthm, the desired theorem style achieved, \documentclass{book} \usepackage{amsthm} \newtheoremstyle{mystyle}{}{}{}{}{\bf}{}{\newline}{} \theoremstyle{mystyle} ...
1
vote
1answer
14 views

Changing content of \listoftheorems and hyperlinking to text

Here's my MWE: \documentclass{report} \usepackage{amsthm} \usepackage{libertine} % allows bf sc fonts http://tex.stackexchange.com/a/98581/104449 \usepackage{thmtools} \declaretheoremstyle[ ...
2
votes
1answer
29 views

Alternative theorem numbering separator

I'm using amsthm and I want to have this numbering format for my theorems: Chapter-Section-Theorem The main difference with the default version is the use of "-" instead of "." . Can I do this by ...
1
vote
1answer
294 views

Vertical Spacing inside theorem environment

I am using theorem environment to separate different exercises assigned as homework. So my plan is to write exe's description, move a few lines below and then give my solution. I am using \vspace{3cm} ...
2
votes
2answers
54 views

theorem and subtheorem hierarchical numbering

I want the numbering of claims, subclaims, subsubclaims, etc to be hierarchically numbered. Is there a way to do this without having to make those extra "subclaim" environments? For example: ...
4
votes
1answer
76 views

How to Make Claims and Proofs start on the same page if possible?

I have a document where sometimes proofs start on a separate page than where their associated claims were stated. Is it possible to force is so that (unless the statement of the claim is more than ...
2
votes
1answer
21 views

Missing spacing above theorem name

The following MWE \documentclass[10pt,a4paper]{amsbook} \usepackage{amsthm} \usepackage{parskip} \usepackage[utf8]{inputenc} \usepackage[english]{babel} \newtheoremstyle{pcap} % name {\topsep} ...
2
votes
1answer
28 views

Continuous numbering of theorems in report

I have a report class document with sections and chapters: \documentclass[a4paper,12pt]{report} And I need to add theorems \newtheorem{theorem}{Theorem} under chapters \begin{theorem} Let $f$ be a ...
1
vote
0answers
36 views

How to stop \begin creating a line break

Basically I've created a math theorem called definition At header of the document, declared as \newtheorem{defi}{Definition}[section] Now i've laid out some text and stuff basically what I have ...
7
votes
2answers
78 views

Fixing overfull \hbox with mdframed containing an equation

When creating a boxed environment with mdframed, I ran into an issue with a line with an equation, that also happens to be the first line of a definition. Is there a way to fix the problem ...
3
votes
2answers
28 views

Padding in theorem environment with thmtools

I'm using thmtools to make shaded theorems, but there is no padding around the theorem body and that makes it ugly. MWE: \documentclass{article} \usepackage{amsmath} \usepackage{amssymb} ...
2
votes
2answers
213 views

Problem with numbering theorem by section

I am having a problem with the numbering of the theorems (by section) in a paper. My problem is that I want to number my theorems and propositions such that they appear as something like: Theorem ...
8
votes
3answers
3k views

Footnote doesn't appear when put into a “definition” environment

When I try to put a footnote into a definition environment (or theorem, etc.) it fails, whereas it works well in plain text... How can I fix it? (N.B. I use thmbox, I don't know if this have an ...
2
votes
0answers
31 views

beamer with numbered theorems not working with cleveref

A want to use cleveref in a beamer presentation. The document defines multiple theorem environments sharing the same counter as follows: \documentclass{beamer} \usepackage{cleveref} ...
2
votes
1answer
101 views

How to cross-reference an unnumbered theorem using hyperref and cleveref

In two previous questions (i.e. Distinguishing \ref and \cref through different colors, and ''Proof of Theorem x'' header trough modification of \ref) I addressed some problems I had with hyperref ...
3
votes
1answer
41 views

Theorems continued over multiple pages using amsthm

I use amsthm to define my own lemma, theorem, and other environments. Some are too long to display on one page, which means that they are broken onto multiple pages. When such an environment is ...
3
votes
2answers
2k views

Enumerate: make labels and items aligned left within a theorem

Just what the title says: I want to make an enumerate list in which both the labels and items are aligned to the left. I can currently only get one or the other. Minimal working example: ...
2
votes
1answer
292 views

What is the symbol of end of a proof?

I'm trying to put a black square at the end of a proof, but is not the same as LyX gives me (when I choose "proof" at the menu). It's different from the \blacksquare command (see pic below). The ...
1
vote
1answer
23 views

Nested Proofs and wrong vertical spacing

I have the following problem concerning nested theorems. Take the following: \begin{theorem} Bla \end{theorem} \begin{proof} Bla bla % \begin{lemma} Bla \end{lemma} % \begin{proof}[Proof of the ...
2
votes
1answer
29 views

How can I apply a custom-defined theorem environment to nested theorems WITHOUT using a proof environment?

I'd like to combine a couple of constructions I've found on this site to create a custom-defined cases environment so that each case will: be nested within a larger theorem environment; end with a ...
-3
votes
1answer
141 views

How to insert picture here?

I want text to flow picture, as it is in the book: And with advice of @Johannes_B I did it with help of minipage, but It doesn't suit me at all things. See this. First page of my document. Do ...
14
votes
3answers
4k views

How to get correct autoref for theorems

I have some own theorem environments. And my theorems are numbered like the chapter. Now I would like to use autoref with that. But it does not work like it is described here ...
2
votes
1answer
54 views

Cite a theorem by its name and number

I don't know if this is possible to do in Latex, but here's what I'd like to do. I want to cite a theorem using its label, but what should appear is both its theorem number and its name (the text in ...
1
vote
2answers
62 views

How to cross reference theorem lemma etc as for example “Theorem 1” in LyX

I have loaded the theorem by type and theorem by type within Chapter (TIP for learner:add the first in order to add the second). So I use theorem environment for different types: proposition, ...
33
votes
4answers
30k views

Non italic text in theorems, definitions, examples

What package should I use, or what setting can I make to the font in theorems so that the text wouldn't be italic. I use amsmath, and from default, everything I write in theorem environments becomes ...
1
vote
1answer
23 views

Getting a citation on the same line as an equation, in theorem environment

Just wondered if anyone could help me with this issue. I'm trying to reference a theorem using \cite{ref}, but the theorem finishes with an equation, so the citation move onto the next line. This is ...
0
votes
0answers
67 views

Numbering of sections, subsections, subsections, and all theorem-like environments in the dictionary order

I would like the numbering of sections, subsections, subsections, and all theorem-like environments to be in the strict dictionary order. Moreover, the number of a theorem-like environment contained ...
4
votes
1answer
55 views

Numbering Theorems with section number but not resetting the counter

I want to number theorems in the form "Theorem 1.4.26", such that the first two numbers are the chapter and section numbers and the last one is the number of the theorem in the whole book. That is, ...
15
votes
4answers
16k views

Defining my own proof environment?

How would I define a proof environment that is basically used with \begin{proof} some proof here \end{proof} and it would be equivalent to: \paragraph{Proof:} some proof here \hfill \box ?
1
vote
0answers
22 views

Including Lemmas into Theorems

I want to include some lemmas inside the proof of a theorem in a way that makes clear that those lemmas are part of the proof and not independent (e.g. smaller size of letters etc). Are there any ways ...
0
votes
0answers
18 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 ...
1
vote
1answer
45 views

Nice line-break in inline math within theorem environment

This is my first question here, I hope it's not bad (please bear with me if it is). I have quite a specific problem concerning inline math and theorem environment. In general, I want to obtain the ...
0
votes
0answers
28 views

restate theorem (numbering issue)

\documentclass{article} \usepackage{amsmath} \usepackage{amsthm} \usepackage{thmtools} \usepackage{thm-restate} \usepackage{cleveref} \declaretheorem[name=Theorem,numberwithin=section]{thm} ...
2
votes
1answer
31 views

Math environments such as Definitions, Proofs and Lemmas in LyX builtin?

LyX has built-in all kinds of inserts for Math. Does LyX have some ready commands or GUI buttons to get environments for things such as proofs, lemmas and theorems? What is procedure to create for ...
0
votes
0answers
50 views

Avoiding pagebreak after newline in theorem

This might be of relevance: Theorem environment - line break after label pagebreak and amsmath theorem environment issue Avoid page break in theorem Situation I used the information provided ...
3
votes
1answer
81 views

Adding an “mdtheorem” (i.e. with frametitle) to a List of Theorems

I'm having trouble with either formatting newmdtheoremenv environments, or adding mdtheorem environments to a table of theorems, depending on how you look at it. My MWE: \documentclass{article} ...
3
votes
1answer
34 views

Number/Letter Theorem

Is there any way from the code below that a number letter/number theorem can be generated? I am trying to achieve a theorem labeled 1.1A. \documentclass{book} \usepackage{amsthm} ...
5
votes
2answers
30 views

Is it possible to exclude all theorems of a type from compilation with a single command?

I have a theorem type called application. It is used to list applications of concepts being discussed in a book. I want to exclude them from a compilation in order to generate a preliminary book that ...
15
votes
2answers
14k views

Theorem numbering as chapter.section.subsection.theorem number

This might be a simple question but it's weird that I couldn't find the answer anywhere on the internet. If I set as \newtheorem{-}{-}[section] then I get the numbering as Theorem ...
31
votes
1answer
102k views

Theorem/Definition/Lemma problem — Numbering

I am trying to work on the numbering of the theorems/definitions/lemmas etc., and I have some problems with the numbering. I would like the theorems, propositions, corollarys, definitions, ...
1
vote
1answer
42 views

Theorem header and *all* content on separate pages

I have in my paper a theorem-like environment which consists only of an enumerated list. It looks bad if I just type it in vanilla, so I add a $\,$ before the enumerate (see also enter link ...
2
votes
2answers
61 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 ...
11
votes
2answers
2k views

Is there a \renewtheorem equivalent of \renewcommand, using amsthm and not ntheorem?

Suppose I have a theorem that is defined a certain way, as follows. \newtheorem*{mytheorem}{Foo} And I want to redefine it another way further down in my document, as below. ...
2
votes
1answer
51 views

How to avoid newline between enumeration and theorem?

When I insert an theorem/definition environment at the start of an item of enumerate, it creates a newline automatically before Theorem. Is it somehow possible to remove this enforced newline so that ...