{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

2
votes
1answer
75 views

Why is thmtools and mdframed not working with parskip

I have the following MWE: %!TEX TS-program = XeLaTeX %!TEX encoding = UTF-8 Unicode % DEFINITIONS =================================================== \documentclass[ 12pt, a4paper, ...
3
votes
1answer
77 views

Editing Format of List of Theorems in thmtools

I'm trying to change the formatting of the \listoftheorems command from the thmtools package. It currently prints "Theorem (Name of Theorem).... Page Number", and I would like it to print "Name of ...
6
votes
3answers
260 views

Multiple tikz path fading in multiple directions

I'd like to create a theorem decoration. Here's a quick take on one: \documentclass{article} \usepackage{tikz} \newcommand{\theoremname}{Theorem} \newcounter{theorem} ...
5
votes
2answers
88 views

Compile only the theorems

Is there a way (package or anything) to compile only the theorems in a tex-document. With theorems I mean the lemmas, propositions and theorems defined in the theorem-environment of the amsthm ...
2
votes
1answer
84 views

Rewriting a template from amsthm to thmtools

I've been using the Legrand Orange Book template on a project of mine with a friend and coworker. This template uses amsthm and mdframed to format a bunch of environments and I'm rewriting them to use ...
2
votes
1answer
55 views

How to change the theorem counter, theorem name in a specific case

I have used GMS class to write design a math book. In that book, the author has a special theorem, as following: \documentclass{gsm-l} \newtheorem{theorem}{Theorem} \newtheorem{lemma}[theorem]{Lemma} ...
2
votes
2answers
67 views

Name of the proof instead of just proof

Packages I'm using: \usepackage{amsmath} \usepackage{graphicx} \usepackage[colorinlistoftodos]{todonotes} \usepackage{amsthm} \usepackage{amssymb} \newtheorem{thm}{Theorem} ...
4
votes
1answer
73 views

mdframed: how to change the separator between the label and the title of a non-numbered thereom?

The problem There seems to be a bug in mdframed package. With the theoremseparator key, one should be able to change the text between the "label" and the title of a theorem ("Theorem" being the label ...
3
votes
1answer
92 views

Label in a ntheorem environment witout additional caption

I defined a new theorem with the ntheorem package. If i want to add a label to a certain theorem i get an error from the caption package. And referencing doesn't work. Package caption Warning: ...
6
votes
1answer
52 views

Spacing issue in new environment from a theorem

I'm trying to create a theorem environment that I can use to repeat a theorem that has been previously stated in a book but number it the same as the 1st instance. I found some sort of solution: ...
0
votes
1answer
64 views

How to insert the name of the Axiom next to Axiom

\begin{axiom} (blah) \end{axiom} gives "Axiom 1". How can I make this so that I have "Axiom 1 (blah)." instead? Tags are probably not correct. I just got started with Latex today.
4
votes
1answer
63 views

Extra space below customized theorems in beamer

I'm trying to customize beamer theorems, putting theorem name and theorem body in the same box. But my customization causes extra space below theorems. A MWE is as follows: \documentclass{beamer} ...
0
votes
2answers
58 views

citation square brakets upright in theorems

How to set up the citation square brakets and numbers in upright in theorems while keeping other stuffs slanted? (This style is suggest by my professor.) The usual appearance is the following ...
6
votes
3answers
103 views

How can I number theorems in introduction without section counter and later with it?

I would like to have my theorems numbered in the following way. Theorem 1. Blah-blah Theorem 2. More blah-blah Section 1. Theorem 1.1. Special blah Theorem 1.2. More special ...
2
votes
1answer
59 views

Reference to assumptions

Assumption 1. (i) something1, (ii) something2. I would like to refer to separate parts as 1(i) and 1(ii). Is there any way of doing it? I guess that I can use enumerate and three labels, namely, ...
1
vote
1answer
52 views

Theorem environment with empty label and also no space and no dot.

I want to have a theorem-like environment, without the usual "Theorem x." labeling. I tried to define an empty label text, which results in a dot and space being used as the label text - there has ...
2
votes
2answers
64 views

mdframed: how to put the optional argument of a theorem-like environment between brackets?

The classical case With the classical \newtheorem command of amsthm, one gets the following result for optional arguments: from this code \documentclass{article} \usepackage{amsthm} ...
1
vote
2answers
76 views

A framed theorem without numbering?

Is it possible to draw a frame around a theorem-like environment ? If possible, I would like to use mdframed. In the documentation, the general form of the command is given by ...
6
votes
1answer
64 views

Failure of \text within theorem environment

I have an equation within the statement of one of my theorems. Within this equation, I have some text to name a function. However, when this equation appears within the theorem environment, the ...
3
votes
2answers
60 views

How to inspect current values of parameters of theorem style?

I'd like to alter the plain theorem style so it uses \slshape instead of \itshape. I know I can define my own style via \newtheoremstyle but I don't know how to inspect (possibly in runtime) the ...
0
votes
2answers
54 views

Is there a way to know what is the vertical space that LaTeX is leaving before and after a theorem?

I would like to know if there's some code I can enter in order to find what is the vertical space (in cm or pt) that LaTeX is leaving before and after a theorem. I'm using ...
4
votes
1answer
105 views

No indentation after theorem environment with amsthm

I use the amsthm package and dont want lines which start right after the theorem environment to be indented. I consulted the manual of the package and it said to define a new theorem style. I expected ...
6
votes
1answer
94 views

Theorem and lemma sharing counter with mdframed and cleveref

Problem Essentially I've got the same problem described in Cleveref with counters with same name: I've got theorems, lemmata and corollaries all sharing the same counter, and when referencing them ...
6
votes
1answer
70 views

Want theorem and equation numbering linked under section

Similar questions have been answered but the solutions didn't seem to give what I need. I would like theorems and equations both to proceed as follows within each section. Say we've begun Section ...
1
vote
1answer
45 views

Using enumerate environment within a theorem environment [duplicate]

I am writing a math article, and when I am in a theorem environment and I try to use the enumerate environment, everything is italicized where, out of the theorem environment, it wouldn't be. Is ...
2
votes
1answer
222 views

Case numbering within proof [duplicate]

I am currently using this in the preamble: \theoremstyle{plain}% default \newtheorem{thm}{Theorem}[section] \newtheorem{lem}[thm]{Lemma} \newtheorem{prop}[thm]{Proposition} ...
5
votes
1answer
132 views

How do I remove parentheses from theorem optional argument?

This is a MWE: \documentclass[12pt]{article} \usepackage{amsfonts, amsthm, amsmath, amssymb} \theoremstyle{definition} \newtheorem{Theorem}{Theorem}[section] \newtheorem*{Pythagorean ...
5
votes
1answer
93 views

Increasing depth of document

I am trying to type by using amsart. I want numbering of the definitions, lemma theorem etc should be of the form x.y.z, where x is section, y subsection and z the actual number of the theorem. I ave ...
2
votes
1answer
48 views

Setting Counters for Theorems

I'm using the following code to generate the "lemma" functionality in my document: \newtheorem{lemma}[theorem]{Lemma} However, the first lemma I define appears as Lemma 0.1. I tried using the ...
2
votes
1answer
100 views

Paragraph space

I'm currently writing a math document containing equations, theorems, remarks, etc. I find it difficult to understand how LaTeX manages the vertical space between two paragraphs. E.g. when you don't ...
2
votes
1answer
53 views

qed symbol not correctly aligned when ending a proof with a diagram

I know there is a myriad of questions about the alignment of the tombstone symbol, but I couldn't see any one that addresses this little issue. Say you end your proof with a diagram such as the ...
4
votes
1answer
61 views

Bracket problem with \newtheorem

\documentclass[a4paper, 11pt, notitlepage]{report} \usepackage{amsthm} \theoremstyle{plain} \newtheorem{thm}{Theorem}[section] % reset theorem numbering for each chapter \theoremstyle{definition} ...
8
votes
2answers
150 views

Intelligently Numbering “remarks” only when multiple are made

Problem. I am using the amsthm package, and have remarks after theorems. If there is only one remark between two theorems, the remark should not be numbered. If there are multiple remarks between ...
5
votes
1answer
117 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
182 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
70 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
132 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
98 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
62 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
140 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
1answer
96 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
44 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
254 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
59 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
209 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
87 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
124 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
846 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
187 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 ...