{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

1
vote
0answers
23 views

Theorems in italic, but not examples [duplicate]

Is there are way to make theorems, lemmas and definitions in italics, but not examples? E.g., Theorem: This is a theorem. Example: Here is an example. So far, I am using the plain theoremstyle, i.e....
0
votes
0answers
15 views

Theorem does not work after MikTeX update; no counter defined [duplicate]

The following stopped working after I updated MikTeX today: \documentclass{article} \usepackage{amsthm} \usepackage{hyperref} \usepackage{cleveref} \newtheorem{definition_}[equation]{...
2
votes
1answer
21 views

How to provide a citation call-out in a definition?

i have used following \documentclass{report} \newtheorem{df}{Definition}[chapter] \begin{document} \begin{df} \cite{wilson} The join of two function... \end{df} \end{document} and the output is ...
3
votes
2answers
53 views

tcolorbox: theorem numbering in the margin is too close to text

I'm using tcolorbox to draw boxes around my theorems. This package also has the option of puting the theorem numbers in the margin as you can see in my MWE below; see page 342 of the manual for more ...
4
votes
1answer
42 views

How do I show the theorem body in thmtools \listoftheorems

I would like to add a list of theorems to my document so I have included thmtools. This gives a list of theorems but in the following format. 1.1 Theorem . . . . . . . . . . . . . . . . . . . . . ...
4
votes
1answer
34 views

Using regular theorem environments along with tcolorbox theorems

I am using tcolorbox to draw coloured boxes for my theorems, however for things like a remark, or an example, I would like to have the usual amsthm kind of environment, without any colored boxes. If ...
0
votes
1answer
45 views

Mdframed for theorems: how to make fonts similar to amsthm and change title format?

I am making a custom book style for my thesis, and I came up with a style for the theorem environments that I like, as you can see in the image below. However I have two problems: I would like the ...
2
votes
1answer
28 views

changing color when lemma or theorem is cross-referenced

So, using hyperref I know how to change the color of "1" to blue when I say "using Theorem 1". But I want the entire "Theorem 1" to be blue. Similarly when I recall a lemma/theorem/proposition/...
5
votes
1answer
49 views

Theorem environment doesn't behave the way it was supposed to

I'm using the following template to make a poster. What I want is to enunciate a theorem with the theorem environment provided by the amsthm package. The problem is, there's some kind of "structure" ...
1
vote
1answer
27 views

Make proof reference automatically bind to theorem proven or label proofs in ascending order

I was wondering if there's a way to make every proof automatically reference the latest theorem used in my text, or, alternatively, have proofs be labeled with ascending numbers. Allow me to ...
1
vote
0answers
42 views

Using enumerate within theorem environment [duplicate]

I defined myself a \newtheoremstyle a \newtheorem + \newenvironment as in the following %Theoremstyle with \newline \newtheoremstyle{break} {\topsep}{\topsep}% {\normalfont}{}% {\bfseries}{}% {\...
2
votes
1answer
32 views

Number theorems with subsections: “Theorem 1.2.3.4”

I would like my numbering of theorems to be like "Theorem 1.2.3.4" where 1 is the chapter, 2 is the section, 3 is the subsection, and 4 refers to the fourth theorem in this subsection. A solution is ...
3
votes
1answer
26 views

Using/Forcing upright text within theorem environment

I would like to write an equation within a theorem that involves an integrand and the upright symbol $ \textrm{d} $ which I have abbreviated in my preamble with \newcommand{\dmath}{\textrm{d}} (...
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 ...
1
vote
2answers
24 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
26 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 ...
2
votes
2answers
61 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
1answer
17 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
37 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
2answers
57 views

Itemizing theorem body

Using package amsthm, the desired theorem style achieved, \documentclass{book} \usepackage{amsthm} \newtheoremstyle{mystyle}{}{}{}{}{\bf}{}{\newline}{} \theoremstyle{mystyle} \newtheorem*{mythm}{...
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
1answer
22 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} ...
3
votes
2answers
67 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: \...
2
votes
1answer
31 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 ...
3
votes
2answers
45 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} \usepackage{...
7
votes
2answers
86 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 ...
2
votes
0answers
37 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} \newtheorem{thm}...
3
votes
1answer
52 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 ...
2
votes
1answer
297 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
25 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
32 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 ...
2
votes
1answer
57 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
72 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, ...
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 ...
1
vote
1answer
24 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
1answer
72 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 ...
-3
votes
1answer
147 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 ...
0
votes
0answers
72 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
56 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, ...
1
vote
0answers
23 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
19 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
55 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
33 views

restate theorem (numbering issue)

\documentclass{article} \usepackage{amsmath} \usepackage{amsthm} \usepackage{thmtools} \usepackage{thm-restate} \usepackage{cleveref} \declaretheorem[name=Theorem,numberwithin=section]{thm} \begin{...
2
votes
1answer
37 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
62 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
35 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} \newtheorem{theo}{...
5
votes
2answers
32 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 ...
3
votes
1answer
94 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} \...
2
votes
2answers
86 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 ...
1
vote
1answer
43 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 ...