{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

2
votes
1answer
17 views

Combining enumerate and align works in theorem environment, but not outside the theorem environment

I was using MWE 1 (which worked fine), but now I want to get rid of the theorem environment (MWE 2). However, that does not work and I get the following error. Any idea how I can make MWE 2 work? ...
4
votes
3answers
92 views

Tweaking theorem style last parameter traps?

When I modified the \newtheoremstyle last parameter to get a list for a listoftheorems new command I want to define later, I got some unpleasant side effects I want to get rid of. First unwanted side ...
0
votes
3answers
48 views

creating theorem-like environments within 'notes' (see example)

I would like to create the following style to write mathematics: In fact the above I created myself but some numbers and spacing I had to set manually (and I would like this to be automatic of ...
3
votes
2answers
32 views

Transform output \theoremstyle{remark} from italics to bold

I'm using \theoremstyle{remark} To make my cheatsheet. The output of the \theoremstyle{remark} is the one I need, because it doesn't create any space between the defintion. The problem is that the ...
0
votes
1answer
23 views

Table/Summary of Theorems and Definitions

I was wondering if there are any packages out there that will automatically print out a table or summary of the theorems and definitions in my document. I do NOT want a list of the theorems and ...
5
votes
1answer
93 views

How to define a new counter independent of section

I am trying to create exercises within a paper, by which the numbering will be as one would expect (1, 2, 3, ...). However, when defining a new counter and theoremstyle: \documentclass{article} ...
2
votes
1answer
37 views

Remove italic within align inside a theorem-like environment [duplicate]

Is there any way to remove the italic from the words bits in the code below? That is, change the \text output to represent the normal font when an align is used inside a theorem-like environment. ...
1
vote
0answers
8 views

Namespace for theorems [duplicate]

I want to make a theorem \newtheorem*{def}{Definition}. This doesn't compile because \def is already defined. How do I make amsthm use a different namespace for theorems? It doesn't make sense for a ...
2
votes
1answer
40 views

ntheorem: numbering of claim and its proof

I am trying to create a claim environment in ntheorem to use within the proof environment. I tried around with the following code \documentclass{article} \usepackage{ntheorem} ...
2
votes
2answers
43 views

How to add space around tcolorbox theorem

In amsthm you can easily change the space before and after a theorem. Can this be done with tcolorbox theorem? If so, how? I haven't been able to find anything in the documentation. Minimal ...
1
vote
1answer
39 views

How can I change the numbering of sections?

My code below compiles a document and so far it prints, e.g.: Definition 1.1 Example 1.1 Example 1.2 Corollary 1.1 But how can I change this to the following: Definition 1.1 Example 1.2 ...
1
vote
1answer
39 views

Theorem without number using mdframed

I am working on a text that involves some theorems and I am using mdframed I want a theorem whit just the optional title \begin{teorema}[title desired] Some text \end{teorema} so far I've seen ...
2
votes
0answers
37 views

Lyx: how to get theorem numbers to have three parts?

Using the document class amsart, how can I get theorem numbers to also contain the number of the subsection and not just that of the section? Here is a minimal working example of what I mean, in ...
2
votes
0answers
31 views

How to put an ending sign within equation for theorem-alike environments? [duplicate]

Thanks to an answer to my question asked here, I used the following codes to generate for each theorem-alike environment exactly one square symbol as the ending sign: \documentclass[12pt]{amsart} ...
4
votes
2answers
48 views

tcolorbox theorem which isn't framed on the sides

Minimal example: \documentclass[]{report} \usepackage{tcolorbox} \tcbuselibrary{theorems} \tcbuselibrary{skins} \newtcbtheorem[number within=chapter]{thm}{Theorem} {theorem style=change ...
2
votes
0answers
51 views

How to bring theorem's and lemmas numbers from a thesis document class and put it in the beamer presentation

How to bring theorem's and lemma's numbers from a thesis document class and put them in the beamer presentation, because I want to reffer the audience who have the printed thesis to the number and ...
4
votes
1answer
42 views

How can arguments be used inside headstyle with thmtools?

I'm trying to define something like the named theorems in Customizing theorem name except using thmtools. As far as I understand, the headspec is to be provided in the key headstyle to ...
2
votes
2answers
51 views

How to manipulate theorem body text indentation (using amsthm package)?

I would like to create the following formatting for summing up hypotheses (I am using the report documentclass): Body text. Body text. Body text. Body text. Body text. Body text. Body text. Body ...
1
vote
1answer
35 views

Force itemizing in a new line

Is there an easy way (without editing the theorem environment) to force 'itemizing' start from a new line inside the remark environment ? I tried \par command but nothing seems to happen. I am sure ...
3
votes
1answer
57 views

How get bold and normalfont item into theorem?

I have a numbered list into theorem. Example \begin{enumerate}[label={\bfseries\normalfont{\roman*.}}] \item \end{enumerate} But the picture below show the item is with normalfont but non-bold ...
3
votes
1answer
33 views

Theorems with dash between numbers

I want to make theorems that look like this, but with better spacing: 1-1 Theorem ( Theorem name ) Statement of the theorem. Here is what I currently have: \documentclass{article} ...
3
votes
1answer
24 views

one counter for multiple theorems?

I searched the internet for a while now but didn't quite get what i wanted. I want number different theorems with the same counter, which depends on chapter and section. eg Lemma 1.1.1 Example 1.1.2 ...
3
votes
2answers
28 views

Numbering of items in a chapter

I am writing my thesis with book class. All but one of the chapters have subsection. For the particular chapter without a subsection, the first definition number comes as 2.0.1. The 0 is for the ...
0
votes
0answers
30 views

Break a large theorem using mdframed on beamer [duplicate]

I am using mdframed to write theorems and I've been dealing with this theorem that is quite long and hao 4 equations in it. I have tried using [allowframebreaks] and using \framebreak in a specific ...
4
votes
1answer
45 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
26 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
58 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
61 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
124 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 ...
6
votes
2answers
92 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
44 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 ...
4
votes
2answers
135 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 ...
3
votes
1answer
99 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
96 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
52 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
100 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 ...
3
votes
1answer
63 views

Using \qedhere automatically in every 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
31 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
67 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
65 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
37 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
71 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
144 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
148 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
24 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
177 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
55 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
32 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 ...