{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

11
votes
3answers
150 views

Theorem style similar to equation

I was trying to treat theorems and lemmas as in the book Visual complex analysis which in my opinion has a very nice format for informal reading. I would like to have equations and propositions ...
5
votes
3answers
107 views

Figure number adjusted with theorems

I am trying to adjust the figure numbers linked to the theorem it is displayed in. In case of a theorem contains exactly one figure, the figure number will be theorem number; for multiple figures, the ...
1
vote
1answer
39 views

Wrong numeration using \newtheorem

by using the \newtheorem, the latex does not number the theorems in the right order. used code is \newtheorem{theo.a}{Proposition} \begin{theo.a} this is the proposition. \end{theo.a} changing ...
4
votes
1answer
77 views

How do I reset my theorem count (using mdtheorem)?

% define environments with counters \mdtheorem[style=mpdframe, style=wide ,% style=greyfr ,% style=wideln ] {discuss}{Discuss Topic} ...
1
vote
1answer
244 views

Special theorem command

My aim in the last few questions was to define a very flexible command allowing the definition of theorems of various kinds. The reason for that was to have a single command basically for all kinds of ...
4
votes
1answer
195 views

Axiom 1 and 1' in LyX

I'm using LyX with "Theorems (AMS, numbered by type)" and "Theorems (AMS-extended, numbered by type)" modules. I would like to have the following output: Axiom 1. Lorem. Axiom 1'. Ipsum. Is there a ...
0
votes
1answer
48 views

Is it possible to attach a label to a theorem so it can be cited later?

I want to know if it's possible to add some sort of label to a theorem such that I can cite it in the future. I know I can do this by writing explicitly the theorem's number every time I need it, but ...
9
votes
1answer
325 views

Change “Theorem” to “Věta” in beamer

I tried to use \uselanguage{Czech}\languagepath{Czech} as suggested in Babel (French) does not translate the theorem environment in Beamer class, but I still get "Theorem" instead of "Věta" for my ...
3
votes
2answers
66 views

How to italicize the heading and optional title of a theorem?

Consider the following code: \documentclass{amsart} \begin{document} \makeatletter \def\th@plain{ \thm@notefont{} \itshape} \makeatother \theoremstyle{definition} ...
2
votes
1answer
97 views

How to separate definitions from the following text?

Using the definition theorem style from amsthm does not enable the reader to separate between text that belongs to the definition and the text following it. Example: \documentclass{scrbook} ...
3
votes
1answer
1k views

Numbering of assumptions

Suppose I would like to have a title of assumption being Assumption 1-$\mathcal F$., Assumption 2-$\mathcal F$. and so on to be further called in the text with symbols different from $\mathcal F$. Let ...
6
votes
2answers
141 views

Theorem without counter (any TeX)

I often use theorems on LaTeX and have defined various kinds of them. At times, however, it is best not to define a specific theorem which would otherwise be a once-in-a-long-time usage, as for ...
8
votes
1answer
217 views

Space generated by theorem labels (XeTeX)

With the thmtools package, combining \begin{foo}[name=bar,label=x] with the line \newtheorem{foo}{Foo} in the preamble typesets to Foo xxx (bar), where xxx is a number. After the (bar) there is an ...
4
votes
1answer
414 views

How to make “claim” environments look like “theorem” environment?

I am using LyX 2.0.5 with document class article and 'Theorems (AMS)' in the modules. From what I understand, the claim environment copies its style from the remark environment. I'd like it to copy ...
3
votes
1answer
134 views

How can I number subtheorems hierachically?

I want to create two hierarchy levels of theorems. The goal is to have something like this: Research Question 1: bla bla Research Question 2: bla bla And then in another section of the article, I ...
0
votes
1answer
117 views

extern lemma declaration

Is it possible to something like this: \begin{theorm} foo equal bar \end{theorem} \begin{proof} \extern{lemma-fu} With this, we will do … % A lot of text \end{proof} \begin{lemma} ...
7
votes
1answer
119 views

How to change QED sign for theorem classes

I'm writing an article which contains some quite long proofs, some of which include claims with proofs of their own. I dealt with that by adding a claim environment using \newtheorem, but there's a ...
1
vote
0answers
58 views

How should one format a proof inside a proof, or 'inner proof' [closed]

I've come across this a few times and have yet to find a general consensus on how to format a proof inside of a proof. Should there be a proof environment within the proof environment that is ...
3
votes
2answers
175 views

Theorem Inside Tabular Environment

I'm putting together a Beamer presentation and want a theorem to appear on the left side of the slide and a picture on the right side. I tried to accomplish this with: \begin{frame} ...
3
votes
3answers
809 views

setting section number, etc with counter

Originally, I have these types of numbering: \newtheorem{theorem}{Theorem}[section] \newtheorem{definition}[theorem]{Definition} \newtheorem{lemma}[theorem]{Lemma} ...
4
votes
3answers
1k views

Having the starred version of a theorem environment unnumbered - with ntheorem

I'm trying to switch from amsthm to ntheorem. (This is due to the incompatibility of amsthm with babel+Hebrew, see here and here; seems not to have been resolved.) I would like to have both a starred ...
0
votes
0answers
110 views

Spacing around thm environments when parskip is changed

I am a beginner with LaTeX and have this probably tyro problem - when I use asmthmpackage environments in combination with \parskip, the (vertical) spacing above and below theorems, definitions, etc ...
7
votes
3answers
209 views

Numbering Theorems/Definitions together, by section and without section symbol

I am fairly new to LaTeX and I am looking for a particular style: I want to number my theorems/propositions/corollaries/definitions together and by section. For example, Definition 1.1, Theorem 1.2, ...
18
votes
5answers
12k views

Changing style of Proof

I'm using the \begin{proof} of the amsthm package. And I want to change the style of the Proof word that is added in the beginning. By default it is italic, I want to make it bold. How can I do it?
7
votes
1answer
370 views

Incorrect hypothesis counter

The hypotheses counter seems to work incorrectly. All hypotheses are numbered with a 1. What exactly am I doing wrong? I have the following code: \documentclass[12pt]{article} \usepackage{amsthm} ...
5
votes
1answer
94 views

How to enable line breaking in the standard proof environment with amsmath?

I want to redefine the proof so it accepts linebreaks in the name \renewenvironment{proof}[1][\proofname]{\par \pushQED{\qed}% \normalfont \topsep6\p@\@plus6\p@\relax \trivlist ...
3
votes
2answers
83 views

Global emphsize the theorem name

I would like to global define the theorem environment such that the name of the thereom (like ABC in the following example) is emphasized (either \textit or \textbf), how can I do that? I know I can ...
9
votes
2answers
416 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 ...
6
votes
2answers
105 views

Getting the number of a chapter-numbered theorem but without the chapter number

Suppose in Chapter 3 I have Theorem 3.17. I need to get the "17", NOT the "3.17" which would readily be obtained using \label then \ref. How do i do that? Edit: (Probably a more relaxing condition): ...
3
votes
1answer
117 views

Wrapping image with multiple theorem-like environments and displayed math

I'm struggling to put an image into a page with multiple theorem-like environments, some of which include displayed math, but I can't get the text to wrap correctly around the image and caption: ...
7
votes
2answers
241 views

Change definition number in beamer

In a beamer presentation, I need to redefine one definition (the definition numbers have to be same). How can I do that? Here is my code. \documentclass{beamer} \setbeamertemplate{theorems}[ams ...
6
votes
1answer
258 views

controlling theorem numbers using llncs style

Is there a way to control the numbering of different types of theorems, when using the llncs style? With the envcountsame parameter, all theorems/definitions/claims use the same counter and get ...
1
vote
2answers
89 views

Making an indented, bold definition/theorem/proof

I would like a result such as this: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur aliquam tincidunt mi id elementum. Fusce nec mauris sodales, cursus massa id, feugiat mi: (My ...
7
votes
1answer
169 views

How to copy a lemma to appendix without changing its number?

I have a document with a lemma (using amsthm), like so: \begin{lem} \label{mylemma} % ... \end{lem} The proof of this lemma can be found in the appendix (see section \ref{sec:proof_of_mylemma}). ...
3
votes
2answers
46 views

Blocks at the End of a Solution Structure [duplicate]

so a couple of months ago I created my own package. Everything in it works great, and so far it does everything I need it to do, the way I need it to. But I want to change one thing. When I made the ...
1
vote
1answer
90 views

Using parskip with ntheorem in a book

I am writing a mathematical book and would like to use ntheorem for theorems. Also, I would like to use parskip, because I like these styles of paragraphs more. My problem is that as soon as I include ...
9
votes
1answer
171 views

Remove numbering of unreferenced theorems

Can theorems, lemmas, etc., be automatically displayed without numbers if not referenced (like \mathtoolsset{showonlyrefs} for equation tags)?
2
votes
0answers
23 views

Error using hyperref, cleveref and \newtheorem: no counter defined [duplicate]

Here's my problem: I'm writing some mathematics lecture notes. I needed some different theorem types, such as propositions, lemmas, plus observations, examples and definitions whose numbering depends ...
11
votes
6answers
14k views

\qed for theorems without proofs

It is common to place a \qed-Box at the end of a theorem statement (or lemma, corollary, ...) if we give no proof for that statement. How can I do this in LaTeX? If I place a qed-box at the end of ...
2
votes
2answers
164 views

How to Number Theorems within a Chapter? [duplicate]

There are lots of theorems and lemmas in my thesis which are being numbered continuously from start to end. I want the numbering to be like Theorem <>.<>. Same for lemmas and ...
3
votes
1answer
68 views

continuous numbering of theorems for the whole article

In the code \newtheorem{thm}{Theorem}[section] what should stand in place of section to get continuous numbering (simply Theorem 1, Theorem 2, etc.) for the whole text?
7
votes
2answers
80 views

Problems with theoremref

I'm having some problems with the theoremref package. Basically, instead of giving me as output something like "Lemma 1.1.1", where "Lemma" is the name of the theorem, it gives me something like "lem ...
5
votes
1answer
165 views

How to change theorem numbering style in one chapter only?

I want to change numbering theormn and lemma in one chapter in thesis without change other chapters. Namely numbering (theormn and lemma) in one chapter is different from another chapter. How to ...
10
votes
1answer
160 views

Numbering theorems in the left margin

My question is similar to this and this. I would like to have the theorem number in the left margin (0.6em spacing to the main text) and the Name 'Theorem' should be justified to the main text. The ...
3
votes
1answer
384 views

Changing the color of theorem headings

I have a theorem environment, and I would like: The text color of Problems and their contents to be a custom color (defined as `db' below) The text color of Solutions to be a custom color (defined ...
1
vote
0answers
71 views

Starting a theorem or a proof with an equation and vertical spacing

Is it bad practice to begin the statement of a theorem or of a proof with an equation? If it is acceptable, what is your opinion on the resulting spacing in the three cases, in the code below? In the ...
3
votes
1answer
130 views

Vertical spacing around theorem environment

Consider this answer from karlkoeller: \documentclass[danish]{article} \usepackage{babel} \usepackage{color} \usepackage{amsthm,thmtools} % Colors. \definecolor{section_color}{rgb}{0.35,0.0,0} ...
1
vote
0answers
42 views

numbering of theorems in chapters [closed]

I want to write some papers in Math but I have some problems. when I wrote the first chapter it appears Theorem 1, Lemma 1, when I wrote the second chapter it appeared Theorem 3, Lemma 2. How can ...
6
votes
1answer
110 views

Using thmtools: numbering with asterisk

I would like to repeat a theorem number with an added asterisk. That is, the original theorem is: Theorem 1. Lorem ipsum... And I would like the analogue theorem to be: Theorem 1*. Lorem ipsum...
7
votes
1answer
376 views

Define proof environment in thmtools

I'm using thmtools for fancy-looking math environments. But I don't know how to redefine proof environment. I cannot find such topics in its documentation. This is my LaTeX code snippet. ...