{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
1answer
17 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 ...
0
votes
0answers
23 views

Equivalence Conditions in a Theorem

If I want to write a math paper with a theorem of the form If A and B are real numbers, then the following conditions are equivalent: 1. A = -B; 2. -A = B; 3. A + B = 0. Furthermore, the ...
1
vote
1answer
29 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
178 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 ...
0
votes
0answers
24 views

Repetition of theorem number

I have problem with my theorem numbering. Currently I have definition theorem 1.1 theorem 1.2 definition definition theorem 1.4 lemma 1.4 lemma 1.4 theorem 1.4 theorem 1.4 but I would like ...
1
vote
1answer
48 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
40 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] ...
5
votes
3answers
41 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} ...
4
votes
1answer
39 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 ...
5
votes
1answer
68 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
324 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 ...
5
votes
4answers
864 views

Is it possible to use the enumerate/itemize environment within the proof/remark environment in a nice way?

I wish to use the enumerate/itemize environment within the proof/remark environment, but when I do this the first number/bullet-point is on the same line as the word 'Remark'/'Proof' indented to the ...
4
votes
1answer
33 views

How to prevent my theorems from breaking off at a pagebreak?

I styled the theorems in my document a bit, using the mdframed package. I'm glad with the result, but the frame sometimes breaks off incorrectly. I've created a sample to show you what's going wrong. ...
3
votes
1answer
40 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
39 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 ...
0
votes
1answer
31 views

Enforcing no hyphenation of the last word in the first line of Definition while keeping the line well-aligned

I am using the IEEEtran theorem environment and \newtheorem{definition}{Definition}[section] to customize the definitions. Generally, I am satisfied with its output: However, for another definition ...
3
votes
1answer
49 views

No break line after theorem name in beamer

I have applied the answer of question Theorem content right after theorem name in beamer to my question. I put \normalfont after \inserttheorempunctuation but the result is unexpected. Could you ...
3
votes
1answer
34 views

Theorem linebreak in an itemize environment

I'm using the itemize environment to take notes and sometimes I want to add definitions and theorems in the flow. However, amsthm adds a linebreak between the item bullet and the theorem statement, ...
3
votes
2answers
45 views

Changing the theorem's title style

I need to change the style of the theorem title ( bold and no ponctuation after the title) : \documentclass[french,a4paper,12pt]{report} \usepackage{babel} \usepackage{graphicx} ...
32
votes
2answers
3k views

Recalling a theorem

Suppose I have some theorem in the paper Section 1 Theorem 1.1. Let ... And then later in the paper I want to recall the theorem by reprinting it Section 4 We recall Theorem 1.1: ...
4
votes
1answer
31 views

Why is the space underneath my theorems not showing up?

I styled my amsthm theorems with mdframed. I tried to add some space before and underneath my theorems with skipabove and skipbelow as stated here on page 6. \documentclass{article} ...
2
votes
0answers
34 views

Framed theorem environment spread across pages

I wanted to put a vertical line in front of examples to make them easier to distinguish from the regular text. For this I used mdframed, and it mostly seems to work. However, if an example happens to ...
3
votes
1answer
923 views

Numbering a “new theorem”

I have a (simple?) question. I use the ams theorem environment for most of my theorems, but I want to box my definitions and find here a nice way to do it, simpler for me than mdframed. My problem is ...
4
votes
1answer
40 views

How to nicely split proofs into different parts?

I often break long proofs into smaller pieces, in order to make it easier to read and understand. I'm doing that by adding a fbox with "Part X: ...". However, this doesn't work out very well all the ...
7
votes
3answers
188 views

Reference to List Items in Theorem Environment with Label Type “Theorem”

I'm trying to set up references to list items in theorem environments. Using the thmtools and the cref-package I am able to reference theorem environments, such that the theorem type, e.g. theorem, ...
2
votes
1answer
115 views

Background colors with mdframed: is this behavior normal?

Introduction With the help of this answer, I tried to define a semi-transparent background for a theorem-like environment. Here is my solution: \documentclass{article} ...
2
votes
2answers
58 views

Enumerate: make labels and items aligned left within a theorem

Just what the title says: I want to make an enumerate list in which both the labels and items are aligned to the left. I can currently only get one or the other. Minimal working example: ...
2
votes
2answers
53 views

Center labels in enumerate within a theorem

Here is a minimal working example, based on this answer: \documentclass{report} \usepackage{amsthm} \usepackage{enumitem} \SetLabelAlign{Center}{\hfil#1\hfil} ...
1
vote
1answer
56 views

Theorem numbering: use dash instead of period

In the following code, my theorem head looks like this: 1.1 Theorem I want it to look like this: 1-1 Theorem MWE: \documentclass{report} \usepackage{amsthm} \newtheoremstyle{theorem} {1em} % ...
5
votes
1answer
48 views

End mark for unnumbered and continued examples

Consider the following MWE \documentclass{article} \usepackage{amsthm} \usepackage{hyperref} \theoremstyle{plain} \newtheorem{theorem}{Theorem}[section] \theoremstyle{definition} ...
6
votes
2answers
213 views

amsthm with shared counters messes up autoref references

When I define amsthm theorem environments with shared counters, autoref messes up the names of the references. For example, in the output below, we should have "Definition 2" instead of "Theorem 2". ...
12
votes
1answer
358 views

beamer: \nameref calls the name of the section instead of the name of the theorem environment

In my LaTeX documents, I am playing with a lot of axioms which I write under a theorem environment, while using the following math packages: \usepackage{amsmath} \usepackage{amsfonts} ...
2
votes
2answers
52 views

Getting Examples to look like Theorems/Lemmas/Corollaries

How do you get a latex document to present example in the same bold type face as you can for theorems/lemma/corollaries?
11
votes
3answers
3k views

How to get correct autoref for theorems

I have some own theorem environments. And my theorems are numbered like the chapter. Now I would like to use autoref with that. But it does not work like it is described here ...
2
votes
2answers
84 views

Theorem style like (1.1 Theorem) and custom theorems like (1.2 Intermadiate Value Theorem)

I'm searching for a theorem style like that the one that is used in this book: Elementary Analysis by Ross I've got already most things working, except that I want to get a custom theorem like this: ...
18
votes
6answers
8k views

Customizing theorem name

Suppose I have a series of theorems that I would like displayed as Jim's Theorem. Bob's Theorem. Will's Theorem. rather than as “Theorem (Jim).”, “Theorem (Bob).”, and “Theorem ...
10
votes
3answers
2k views

Citing inside theorem header

How do I create something like this without getting any errors? \begin{thm}[\cite[page 10]{ABC2011}] ... \end{thm} I tried putting various things into {...} brackets, but not eliminating any ...
2
votes
1answer
40 views

pagebreak and amsmath theorem environment issue

In the example below, you'll notice that when a \pagebreak is used right after the theorem, an unwanted vertical blank space is added after the theorem environment while it should not. ...
2
votes
1answer
33 views

How can I apply a custom-defined theorem environment to nested theorems *only*?

In a previous thread, I asked about the possibility of defining a custom theorem environment whose QED symbol would be a boxed version of the theorem's name/number/label. There, I was graciously ...
15
votes
4answers
553 views

How do I use the boxed theorem name as a QED symbol

I'm wondering if there's a relatively simple way to achieve a result similar to the following: In particular, I'd like to be able to assign names and/or numbers to theorems/lemmas/propositions and ...
1
vote
2answers
27 views

How to reset counter for un-numbered subsections?

\documentclass{amsart} \newtheorem{theorem}{Theorem}[section] \begin{document} \subsection*{1} \begin{theorem} blah is blah \end{theorem} \begin{theorem} bloo is bloo \end{theorem} ...
14
votes
2answers
8k views

How to rename theorem (or lemma) in Beamer to another language?

I'm Malay user. I want to rename the theorem tag in Beamer. Does anyone know how to do it? When the document class is article or book, I can simply modify the preamble as follows: ...
6
votes
2answers
99 views

How do I make all the theorem-alike environments have an ending symbol?

I have a question about making an ending symbol. It is a LaTex-default that every proof environment has an ending symbol. I want to make every theorem-alike environment such as the example ...
0
votes
0answers
32 views

I want “Theorem A.1.” instead of “Theorem Appendix A.1.” in the appendix

I have \newtheorem{theorem}{Theorem}[section] in the preamble. When stating a theorem in the appendix (after \appendix), I get Theorem Appendix A.1. The theorem .... How does one suppress ...
6
votes
2answers
151 views

Beamer newtheorem translation

Consider the following MWE: \documentclass{beamer} \usepackage{lmodern} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage[spanish]{babel} \uselanguage{Spanish} \languagepath{Spanish} ...
1
vote
1answer
34 views

How to use \theorem?

I don't know why this doesn't work: I'm a beginner in LaTeX and I'm trying a lot to understand this. The code: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[english]{babel} ...
4
votes
1answer
45 views

Including a Theorem in a section heading

Within my thesis I am attempting to number the studies listed throughout. I have used a custom theorem style for this: \newtheorem{study}{Study} First Issue I then want to use this within my ...
6
votes
2answers
731 views

Footnote marker placement in heading of theorem/definition/etc.

I have a definition, and a footnote which refers to the whole definition.  So I’d ideally like an output looking something like: Definition 1.53.   A footnote is a small aside, usually ...
2
votes
1answer
24 views

complaints of glue length “mu”; amsart; list of definitions

So I have the following MWE: \documentclass{amsart} \usepackage{etoolbox} % Modifications to amsart ToC-related macros... \makeatletter \let\old@tocline\@tocline \let\section@tocline\@tocline % ...
3
votes
1answer
77 views

how to use several style for boxed theorem and remark with mdframed?

I have modified this code Issue with mdframed package in order to satisfy my taste: \documentclass[a4paper,10pt]{memoir} \usepackage{xcolor} \usepackage[framemethod=tikz]{mdframed} ...