{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
23 views

Beamer: itemize in presentation mode with lemma duplicates slide

Consider this MWE: \documentclass{beamer} \begin{document} \begin{frame} \begin{itemize}[<+->] \item Next up a lemma. \item \begin{lemma}A lemma.\end{lemma} \end{itemize} \end{frame} ...
1
vote
0answers
20 views

Theorems with hanging indentation, also working with itemize [duplicate]

I've been trying numerous ways to have a hanging indentation in my theorems. I'm using amsthm to define my own theorem styles. What I want is the theorem to indent after line 1 like this: Text ...
4
votes
1answer
31 views

Theorem and proposition with arbitrary number in beamer

I would to set custom numbering for my theorems and propositions, using decimal points. For example, I would the code below to dislpay "Proposition 3.1": ...
2
votes
1answer
51 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 ...
0
votes
0answers
5 views

Manually set theorem numbers for exercises when several exercises skipped [duplicate]

I'm trying to do a problem set where I only do some of the exercises, with lots skipped. So my problem set solution will look something like Exercise 2.2.1: a) ... c) ... Exercise 3.1: ...
0
votes
1answer
100 views

Theorem numbering with sub-theorems issue

I have a small project for my mathematics degree and have run up against a small problem. I want to have nested levels of theorems/definitions, for instance in the following code it should produce ...
5
votes
2answers
76 views

How to change margins in enunciation (theorem-like environment)?

I'd like the margins in the example environment in the code below to be slightly indented. What is the easiest way of achieving this? It's supposed to apply to all example environments. In the ...
3
votes
1answer
25 views

Allowing pagebreaks for shaded theorems using thmtools

I just searched for a way of allowing pagebreaks when using shaded theorem-environments from thmtools. I found my question was, somewhat, answered here (the second solution) with a comment from the ...
3
votes
2answers
58 views

New Theorem Style

I'm pretty new to LaTeX. And I don't really understand the following code, it is merely a pasted template from wikipedia. I'm trying to make a simple theorem style which is identical to the normal ...
0
votes
1answer
44 views

Problem with a theorem with mdframed [closed]

I have this weird problem and I haven't been able to solve it. It is a long theorem with 4 equations in it and when I see the pdf this environment starts a new page even though I don't include this ...
0
votes
1answer
50 views

Issue with the option many in tcolorbox [closed]

Im writing my thesis and I have the following code with tcolorbox \usepackage[many]{tcolorbox} \newtcbtheorem[number within=section]{mytheo}{My Theorem}% {colback=white,colframe=blue!50, ...
2
votes
1answer
52 views

Need help for fancy theorems using mdframed

I've been working with LaTex for a while and with Tikz I've done stuff nothing fancy just things for homework but now I will write my thesis I want some elegant cool theorem box using mdframed and ...
0
votes
1answer
49 views

Theorem boxes in beamer

Usually I use beamer with the Warsaw theme which puts theorems (and other things) in boxes. Now I switched my theme to Marburg but i still want to keep the boxes. How can one do that?
0
votes
1answer
39 views

Enumeration of theorems

Suppose I want to write a theorem. Using \begin{theorem} ....... \end{theorem I obtain something like Theorem 0.0.1 But I want only Theorem 1 The preamble is ...
4
votes
1answer
58 views

Mysterious Vertical Space After Theorem/Proof Environments

I have defined my own theorem style to have 0pt above and 0pt below. For simplicity I have also set all other relevant spacings to 0pt. However, when I use a theorem or proof environment I get some ...
2
votes
1answer
38 views

Using \qedhere Automatically Every Time in Proof

I'm currently using \qedhere at the end of my proof every time since I'm really satisfied with the positioning of the qed mark. The problem is, I use it so often that I want to make the qed mark ...
0
votes
0answers
30 views

How does \newtheorem work? [duplicate]

I have a large .cls file I'm working with, so I don't know that I can provide a MSE, but here's my question. In my code I have: \theoremstyle{plain} \newtheorem*{theorem}{Theorem} ...
1
vote
1answer
53 views

Lyx Making Theorems Not Italic Globally

Before I used Lyx, I used \declaretheoremstyle to make the bodyfont into normal in theorems. But in Lyx, I'm using Theorems(AMS) and Theorems(Numbered by Chapters) Module and cannot find a way to ...
3
votes
2answers
53 views

I would like to define or redefine the `thm` environment

Pursuant to the answer to my question at An error I get trying to number tables consecutively with theorems, I can number tables and theorems consecutively without anything breaking. I would like to ...
3
votes
1answer
30 views

Theorem sub-numbering and hyperref

I want to use sub-numbering for certain theorems. I used the solution provided in the question How do I get sub-numbering for theorems (Theorem 1.A., Theorem 1.B., Theorem 2.)?, which does exactly ...
5
votes
1answer
60 views

After “Theorem”, “Definition” the actual content should start at the same indent

Since "Thm 1.2", "Def 1.33", etc. all have about the same width, I'd like to try a layout with a fixed indentation. The actual content after the label and number should begin at the same indendation ...
6
votes
1answer
129 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: ...
4
votes
2answers
141 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
22 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
100 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
50 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
26 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
35 views

Commands missing [closed]

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
81 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
113 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: .... ...
2
votes
2answers
53 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
54 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
43 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
29 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
29 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 ...
1
vote
1answer
41 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
88 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
47 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
44 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
29 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
38 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} ...
4
votes
2answers
79 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
58 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
148 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
60 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
44 views

Theorem style and Design [duplicate]

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
95 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
102 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
128 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
100 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} ...