{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

5
votes
1answer
25 views

How to put Theorem Numbers in Boxes?

I'm using amsthm and amsbook. I was wondering how to put theorem numbers in rectangular boxes, both when they first appear as well as when citing them. Here is a picture of what it looks like now: ...
3
votes
2answers
29 views

List of theorem dots overlapping with theorem name

Here is my MWE: \documentclass[a4paper]{report} \usepackage{amsmath,amsfonts,amssymb,amsthm,thmtools,tikz,xparse,lipsum} \usepackage{newtxtext,newtxmath} \usepackage{hyperref} \makeatletter ...
0
votes
1answer
21 views

I'm having troubles with the theorem orders

My question is really simple, always when I add a new theorem or definition to my thesis I have troubles to redefine the orders of the others theorems/definitions. For example, suppose I have theorem ...
2
votes
1answer
54 views

Theorem/Definition/Lemma problem — Numbering in Beamer

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, examples ...
2
votes
1answer
40 views

\swapnumbers drops chapter

I'm trying to use \swapnumbers to get the numbering of theorems etc first in amsbook, as detailed here: \swapnumbers in lyx However, when I add \swapnumbers, it seems like the numbering scheme ...
2
votes
1answer
19 views

Distance between the header and the title in ConTeXt's enumerations

I have defined in ConTeXt an enumeration for definitions: \defineenumeration[definition][theorem][ text={Definition}, prefix=chapter, way=bychapter, right=., titleleft=(, ...
1
vote
0answers
31 views

Commands missing

I am just beginning to understand TeX. And I am struggling with one thing. I am writing a mathematical document and I want to customise how will my definitions and theorems be displayed. I want to ...
3
votes
2answers
69 views

Using \tag with amsthm environments?

I would like to custom tag theorems, similar to the way \tag lets me custom tag equations in a math environment. How should I go about doing so? The amsthm package documentation is silent on doing ...
3
votes
1answer
101 views

How should I deal with numbering of claims?

I've defined my claim in the following way: \newtheorem{claim}{Claim} The numbering works perfectly fine, but what should I do in cases when I want to skip some numbering. That is: Claim 1: .... ...
0
votes
0answers
26 views

enviroment proof, theorem undefined kind of error in spite of using amsthm, amsmath

I am using the elsevier journal article format. The problem is I am using the amsthm, amsmath packages but still getting environment proof, theorem undefined kind of error. what to do ? For the usual ...
2
votes
2answers
36 views

Change a amsthm theorem ending [duplicate]

I am writing a text where the editor suggested to close all the definitions with a diamond. So I was wondering, is there a easy way to automatically add a command to all the \end{definition} ? I ...
3
votes
1answer
46 views

How to make the numbering of theorems as Large/non-bold/italic/Roman?

Consider the following document: \documentclass{article} \usepackage{amsthm} \newtheorem{thm}{Theorem} \begin{document} \begin{thm} \end{thm} \end{document} The results will be as below. As ...
3
votes
1answer
33 views

shape of the digits of the numbering of the theorems

I would like to use arabtex style of numbers in numbering of the theorems in arabi package. In the following example the first numbering is done by the theorem environment. The second numbering is ...
3
votes
1answer
25 views

New theorem with svmono

I have problems with the definition of the new environments which should be the same as the theorem evironment but unnumbered. If I write: \documentclass[envcountsame,envcountchap,oribibl]{svmono} ...
0
votes
1answer
26 views

LaTeX amsthm package - starting the 'section' number at 16

I'm taking notes from a textbook via LaTeX (as a study guide / way to learn) and I'm starting on chapter 16. I want the theorems to say "Theorem 16.1, Theorem 16.2..." etc. I am using the basic ...
0
votes
1answer
32 views

List of numbered pieces of text

To number short pieces of text throughout my report I used: \newtheorem{SampleEnv}{}[section] How do I generate a list of all the numbered pieces of text?
2
votes
1answer
63 views

Suggestions for nested proofs

I would like to write down my lecture notes. The proofs of the theorems in this lecture are usually really big. It usually looks like this: Theorem 1: Here comes the statement of the Theorem ...
1
vote
1answer
44 views

Numbering theorems from 1 in each section

Is it possible to number every theorem from 1 in each section? For example, I would like to have the first theorem in the nth section simply called Theorem 1 for every n.
2
votes
1answer
39 views

Create a copy of the subsections counter

I'm writing a mathematics paper with \documentclass{amsart}, and I would like my theorems, definitions, propositions, etc., to be numbered "like subsections", i.e., if a given theorem is the fourth in ...
0
votes
0answers
24 views

problem with margin note followed by theorem environment

The following command I use to put something in the margin note: \newcommand{\marg}[1]{\hfill\break\marginnote{#1}} Everything works fine, except when it is being followed by a theorem. The ...
3
votes
1answer
35 views

Theoremstyle : adding dots

I need an extra dot in the format of \theoremstyle, for example; 2.1.3. Theorem 2.1. Lemma I use : \documentclass{article} \usepackage{amsthm} \swapnumbers \newlength{\spacelength} ...
3
votes
2answers
71 views

Subsequential numeration of theorems and equations

I'm writing an essay in Latex and I want to do the following thing, which I'll explain with an example. Suppose that I have a theorem 1.1 and inside it I have to specify an equation. Is there a way in ...
2
votes
2answers
44 views

Theoremstyle; leaving vertical space between the theorem header and the body of the theorem

I'm trying to write a thesis. There, they want a completely blank line after theorem, lemma, proposition, etc.. name. How can I leave such a vertical space between Theorem Head and the body of the ...
3
votes
3answers
137 views

Is there a way to avoid theorem-like environments to be split across pages?

In the article class, sometimes our definitions or theorems (theorem-like environments) may be split into two parts across two pages. I would like to know if there is a way to avoid this situation to ...
2
votes
1answer
46 views

Problem with thmtools: thmbox and numbered=no

I've got a problem when I try to use the options thmbox=M and numbered=no at the same time in the thmtools package. Here a mwe: \documentclass{minimal} \usepackage{amsthm} \usepackage{thmtools} ...
0
votes
0answers
38 views

Theorem style and Design

I have seen in a few books a style for theorems of the form So what I want ideally is a the theorem title at the top and then the whole theorem enclosed in a box. The shadow is not needed but would ...
0
votes
1answer
81 views

Customizing theorem list

I use theorems a lot, and make theorem lists. Here is a minimal theorem example with thmtools: \documentclass[a4paper]{report} \usepackage{amsthm,thmtools,amsmath,amssymb,amsfonts} ...
5
votes
1answer
93 views

Hide content to show later

My question appeared about this egreg's answer: http://tex.stackexchange.com/a/210564/15256 I have a list of exercise-answers but I don't want to show the answers immediately but after till I'll pull ...
5
votes
1answer
115 views

KOMA script and amsthm: Space lost before and after theorems

I am having a problem similar to this and this, but without using parskip, and only after a recent package update. The MWE \documentclass{scrartcl} \usepackage{amsmath,amsthm} \theoremstyle{plain} ...
6
votes
1answer
79 views

How to enumerate theorems using letters with amsthm without losing the section numbering?

It seems \renewcommand{\theexample}{\Alph{example}} makes the section numbering disappear. Is there a way to avoid this? \documentclass{article} \usepackage{amsthm} \theoremstyle{definition} ...
5
votes
3answers
80 views

how to change the font of the number after theorem

I want to change the font of the number to \itshape, for example, I want to get Theorem {\itshape 1.1}. Is there any way to do it in the theorem environment
3
votes
3answers
110 views

Theorem environment with numbers on the left

I am trying to construct a theorem environment which roughly looks like this: 1.1 Theorem Statement of the theorem. Here is some extra text so you can see how the theorem body text should ...
1
vote
1answer
38 views

Titles become 'unbolded' when adding in a new theoremstyle

Up until now, whenever I create a new definition or theorem etc., the title (so the word 'Definition' etc.) would come up in bold. However, when I try to add '\theoremstyle{remark}', the titles stop ...
2
votes
1answer
29 views

Set theorem counter to be Roman

I wanted to make the counter for a theorem displayed as capital roman numerals (I, II, III), but none of these attempts worked \newtheorem{test}[\Roman{counter}]{Theorem} ...
3
votes
2answers
39 views

Defining a new list with enumitem that uses ref from surrounding environment

Consider the following MWE \documentclass{article} \usepackage{amsmath,amsthm} \usepackage{enumitem} \theoremstyle{plain} \newtheorem{theorem}{Theorem} \begin{document} \begin{theorem}[Great ...
2
votes
1answer
43 views

Numbering of Lemmas in Appendix

I'm preparing a paper using the Lipics style and have a long appendix: each appendix Section is headed by capital letters A,B,C... I would like to have the numbering of Lemmas in the appendix such as ...
4
votes
1answer
69 views

\newtheorem{def} throws an error

the following is a piece of the code I am working on. It says that there is an error with \newtheorem{def} but I really don't understand why. Thank you very much for your help! ...
5
votes
1answer
76 views

Lemma without numbering

I want to use the lemma environment without numbering because I only have one lemma. If I use the package \newtheorem{lemma}{Lemma} I get "Lemma 1" in Italics and indented: ...
9
votes
1answer
151 views

Theorems and labels

Let me give a bit of background before the actual questions. I took a look at latex.ltx to see how labels are handled. I found that: \def\label#1{\@bsphack \protected@write\@auxout{}% ...
2
votes
1answer
36 views

Using Cleveref with LIPICs documentclass fails for theorem environments sharing the same counter

I want theorems and lemmas to be referred to in the text as "Theorem 1" and "Corollary 2", sharing the same counter. This works fine when I'm using the normal article documentclass, but fails when ...
1
vote
1answer
36 views

Theorem text rendered after figure instead of before

I'm trying to place a figure inside a theorem. However, in the following example, the "test" text is rendered under the figure, and not above as it should be. What can I do to fix that? Minimum ...
5
votes
2answers
184 views

How can I avoid the changing of v to υ when writing lemmas?

I'm using variables u, v, w in a lemma. However my latex compiler changes v to υ which then makes it difficult to distinguish between u and υ. Why does it do this and how can I avoid it from ...
1
vote
1answer
146 views

How to define different colors for different theorem-like environments in beamer

After reading section 12.4 Theorem Environments from beameruserguide I understand that all theorem like environments (theorem, lemma, corollary, ...) except example use same beamertemplate which means ...
0
votes
2answers
67 views

QED at end of Theorem (definition-style) Environment

Apologize if this is a duplicate. \documentclass[12pt]{extbook} \usepackage{amsmath, amssymb, amsthm} \usepackage{etoolbox} \theoremstyle{definition} \newtheorem{example}{Example}[section] ...
4
votes
1answer
49 views

How do I disable the theorem counter for \autoref when using an extended theorem name?

I’m writing a paper, and I need to quote a theorem by a mathematician whom we’ll call Genius. This theorem already goes by a well-known name, say Genius’ Special Theorem. I’d like to cite this theorem ...
6
votes
2answers
187 views

Transitioning to mathtools - environment proof undefined

I am new to LaTeX and I was using the amsthm package in order to write proofs by using the proof environment: \documentclass{book} \usepackage{amsthm} \newtheorem{theorem}{Theorem} \begin{document} ...
6
votes
3answers
342 views

How to make the asterisk a part of a counter?

I am writing a usual article in amsart style using amsthm package to number the theorems. I need to enumerate certain conditions, while two of them have to bear the same number differing only with an ...
7
votes
4answers
68 views

Cross-reference two numbered environments

Consider the following code: \documentclass[a4paper,12pt]{book} \usepackage{amsthm} \usepackage{hyperref} \theoremstyle{plain} \newtheorem{exercise}{Exercise} \newtheorem{solution}{Solution} ...
3
votes
1answer
50 views

itemize environment inside theorem

When I have an itemize environment inside a theorem and refer to the theorem later on, the document doesn't point to the right location. For example, consider the following toy example: ...
0
votes
0answers
43 views

number exercises

I typed the following exercises: \newtheorem{BB}{\bf Bài tập}[section] \begin{document} \section{abc} \begin{BB} abc \end{BB} \end{document} Results are: Bài tập 1.1 abc I want to leave the ...