{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

3
votes
1answer
23 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
21 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 ...
0
votes
1answer
30 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
59 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
41 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
36 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
21 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
32 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} ...
3
votes
2answers
68 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
41 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
133 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
43 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
36 views

Theorem style and Design

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
79 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
83 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
110 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
70 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} ...
5
votes
3answers
74 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
99 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
37 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
27 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
37 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
36 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
60 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
71 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
143 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
38 views

Equivalence Conditions in a Theorem [on hold]

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
33 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
32 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
182 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
117 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
58 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
49 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
135 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
339 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 ...
6
votes
4answers
65 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
49 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
42 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
42 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
39 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
62 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
40 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
40 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
56 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
40 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
84 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
63 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
130 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
67 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
68 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} ...