{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
3answers
69 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
90 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
32 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
24 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
33 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
25 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
51 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
67 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
126 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{}% ...
0
votes
0answers
35 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 ...
2
votes
1answer
27 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
30 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
180 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
58 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
45 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
45 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
97 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
330 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
3answers
43 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
45 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
35 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
36 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
56 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} ...
2
votes
0answers
37 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 ...
4
votes
1answer
34 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} ...
4
votes
1answer
44 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 ...
4
votes
1answer
38 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. ...
2
votes
2answers
69 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
58 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} ...
2
votes
1answer
121 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} ...
1
vote
1answer
60 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
57 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} ...
2
votes
2answers
60 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?
2
votes
2answers
89 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: ...
2
votes
1answer
47 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. ...
3
votes
1answer
55 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 ...
2
votes
1answer
35 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 ...
1
vote
2answers
28 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} ...
15
votes
4answers
570 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 ...
0
votes
0answers
35 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
102 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 ...
1
vote
1answer
39 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} ...
6
votes
2answers
235 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} ...
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 ...
2
votes
1answer
26 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
33 views

Line thickness `thmbox`?

I'm using the MWE below to create a color box for my theorems. The box consists of two parts: the horizontal line on top and the rest. I want to be able to adjust the thickness of these two parts ...
3
votes
1answer
85 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} ...
5
votes
1answer
119 views

Number in newtheoremstyle is not italic

I defined and used a new theormestyle using amsmath package: \newtheoremstyle{standard} {\topsep} % ABOVESPACE {\topsep} % BELOWSPACE {\normalfont} % BODYFONT % \itshape {0pt} ...
3
votes
2answers
106 views

Subsection label appearing within text

I have a document in "book" format (strictly speaking, in an environment defined by the book publisher I am using, the details of which are way beyond my comprehension), and I very much want to have ...