{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

0
votes
0answers
12 views

Break a large theorem using mdframed on beamer

I am using mdframed to write theorems and I've been dealing with this theorem that is quite long and have 4 equations in it. I have tried using [allowframebreaks] and using \framebreak in a ...
26
votes
1answer
5k views

Problem with qedhere

In a paper I'm writing, I end a proof with a displayed equation that has some cases in it. The relevant code looks something like the following: \[f(x) = \begin{cases} 2x & \text{if $x<0$}\ ...
6
votes
1answer
4k views

Using amsthm but still getting “Environment theorem undefined”

I'm trying to write up all my university theorems and I cant get the theorem environment to work. Here is a mini example of what I'm trying to do. \documentclass[a4paper,12pt]{article} ...
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} ...
6
votes
2answers
1k views

Indent Theorem like \hangindent, but for multiple paragraphs

I would like to create a theorem style which indents the theorem exactly like a \hangindent would do, expect that the indention should continue for all paragraphs of the theorem. For example: ...
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
188 views

Theorem style 'bodyfont' not respected

The two theorem styles below which differ at bodyfont style, give the same font style. Can someone help on this? \documentclass[12pt,a4paper]{report} \usepackage{amsthm} \usepackage{thmtools} ...
10
votes
1answer
1k views

Cleveref with counters with same name

I am trying to use the cleveref package. I have the following counters defined (hopefully this is the right way to do it!) \newtheorem{thm}{Theorem}[section] \newtheorem{lemma}[thm]{Lemma} ...
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 ...
18
votes
6answers
3k views

Is it possible to skip the first line in a theorem environment?

I'm currently writing up some solutions, and I like to rewrite the problem before answering it. I've set exercise to be a theorem environment, and the code I'm using is \begin{exercise} ...
3
votes
1answer
222 views

How to set the bold font of the keyword Definition using IEEEtran without introducing package ntheorem?

I am writing a paper with the recommended template IEEEtran.sty. IEEEtran has its own theorem environment such as definitions, theorems, axioms, corollaries, lemmas, and so on. I want to set the bold ...
8
votes
3answers
3k views

A theoremstyle with complete indentation using amsthm

I want to define a theoremstyle using amsthm, such that the complete environments content produced by \newtheorem with this style are indented. The following standalone example uses an adapted ...
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": ...
11
votes
4answers
1k views

Annoying space before the first item in an enumeration which starts a theorem

Consider the following example: \documentclass{article} \newtheorem{Theorem}{Theorem} \begin{document} \begin{Theorem} On the other hand, this one has only one claim. \end{Theorem} \begin{Theorem} ...
2
votes
1answer
52 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 ...
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
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: ...
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 ...
0
votes
1answer
101 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 ...
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?
1
vote
1answer
271 views

Customizing list of theorems

Is it possible to avoid brackets surrounding the name of a theorem in the \listoftheorems from package thmtools? And if so, how do I do that?
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
60 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 ...
13
votes
2answers
437 views

Which packages/practices are relevant for writing Structured Derivations? (similar to Dijkstra's calculational style of proofs)

Does anyone know of any packages that support this style of writing proofs? The only things that I've found are: tex-ewd, a bunch of plain TeX macros on CTAN written specifically with Dijkstra in ...
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 ...
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 ...
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 ...
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 ...
6
votes
2answers
247 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} ...
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
82 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: .... ...
11
votes
2answers
840 views

How do I get non-italic words in a theorem environment?

I want some words in my theorem environment to not be italic. I know there are simple ways to get the entire theorem in roman, but I'm looking for an italic theorem with specified words in roman. I ...
2
votes
2answers
54 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
841 views

loading mps to pdf converter latex [closed]

\documentclass[a4paper,11pt,english,openright]{book} \usepackage[ansinew]{inputenc} \usepackage[english]{babel} \usepackage{babel} \usepackage[T1]{fontenc} \usepackage[centertags]{amsmath} ...
5
votes
1answer
130 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} ...