{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
1answer
95 views

Custom theorem-style environment

I use LaTeX to typeset notes and case briefs for law school. So far I have settled for a theorem-style layout for each case using thmtools. Here is a minimal working example: ...
6
votes
2answers
155 views

Numbering theorems in a chapter with no sections

Say I have an index such as: 1. Chapter 1.1 Section 1.2 Section 2. Chapter 3. Chapter and I number my theorems as \newtheorem{theorem}{Theorem}[section] with the last theorem in 1.2 being ...
1
vote
1answer
48 views

How to make an environment such as “theorem” not have italics [duplicate]

I found this: How to change the font style in theorem environment? as well as this: Italic in theorem environment Neither however seem to make sense to me as I have been using the following: ...
11
votes
3answers
114 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
86 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
35 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
48 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} ...
3
votes
2answers
116 views

Definitions, theorems, … with description inside a box and the title above the box

I am searching for a definition (or similar) environment with the following features: Numbering Listing Definition title with number above the description Definition text inside a box with black ...
0
votes
0answers
59 views

Customizing list of theorems (LaTeX)

Is it possible to avoid brackets surrounding the name of a theorem in the \listoftheorems from thmtools? And if so, how do I do that?
0
votes
1answer
43 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
234 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
51 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} ...
1
vote
1answer
170 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 ...
2
votes
1answer
81 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} ...
6
votes
2answers
116 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 ...
3
votes
1answer
386 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 ...
8
votes
1answer
152 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 ...
6
votes
1answer
75 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
49 views

How should one format a proof inside a proof, or 'inner proof'

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
128 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} ...
0
votes
0answers
61 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
174 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, ...
0
votes
4answers
116 views

RTL theorem numbering problem - mdframed and xelatex

I have a problem with wrong numbering order when using mdframed theorem style. As in the MWE, the second theorem number should 2.1.1 (reading from right to left, 1.1 for the section and 2 for the ...
7
votes
1answer
225 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
72 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 ...
7
votes
2answers
120 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, ...
3
votes
2answers
78 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 ...
8
votes
2answers
193 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
90 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
65 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 ...
5
votes
1answer
132 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 ...
7
votes
2answers
153 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 ...
1
vote
2answers
70 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
122 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
32 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
63 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 ...
2
votes
1answer
89 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: ...
2
votes
0answers
21 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 ...
2
votes
2answers
120 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
43 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
60 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
104 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
107 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
0answers
70 views

Understanding differences between newtheorem and newenvironment

The difficulty that I am having is that I make a newtheorem: \newtheorem{definition}[theorem]{Definition} It however seems to act nearly the same as with newenvironment: ...
3
votes
1answer
115 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
44 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 ...
1
vote
0answers
41 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 ...
2
votes
1answer
93 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} ...
6
votes
1answer
88 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
211 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. ...