{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

0
votes
0answers
74 views

Numbering of sections, subsections, subsections, and all theorem-like environments in the dictionary order

I would like the numbering of sections, subsections, subsections, and all theorem-like environments to be in the strict dictionary order. Moreover, the number of a theorem-like environment contained ...
4
votes
1answer
58 views

Numbering Theorems with section number but not resetting the counter

I want to number theorems in the form "Theorem 1.4.26", such that the first two numbers are the chapter and section numbers and the last one is the number of the theorem in the whole book. That is, ...
1
vote
0answers
24 views

Including Lemmas into Theorems

I want to include some lemmas inside the proof of a theorem in a way that makes clear that those lemmas are part of the proof and not independent (e.g. smaller size of letters etc). Are there any ways ...
0
votes
0answers
20 views

Unnumbered theorem in siamart.cls

I am trying to get an unnumbered theorem environment in the SIAM article document class siamart.cls, and am met with errors. For example, simply trying: \newtheorem*{problem*}{Problem} gives the ...
1
vote
1answer
58 views

Nice line-break in inline math within theorem environment

This is my first question here, I hope it's not bad (please bear with me if it is). I have quite a specific problem concerning inline math and theorem environment. In general, I want to obtain the ...
0
votes
0answers
35 views

restate theorem (numbering issue)

\documentclass{article} \usepackage{amsmath} \usepackage{amsthm} \usepackage{thmtools} \usepackage{thm-restate} \usepackage{cleveref} \declaretheorem[name=Theorem,numberwithin=section]{thm} \begin{...
2
votes
1answer
39 views

Math environments such as Definitions, Proofs and Lemmas in LyX builtin?

LyX has built-in all kinds of inserts for Math. Does LyX have some ready commands or GUI buttons to get environments for things such as proofs, lemmas and theorems? What is procedure to create for ...
0
votes
0answers
71 views

Avoiding pagebreak after newline in theorem

This might be of relevance: Theorem environment - line break after label pagebreak and amsmath theorem environment issue Avoid page break in theorem Situation I used the information provided ...
2
votes
1answer
45 views

Theorem counter does not increment

So this is my code \documentclass{book} \usepackage[utf8]{inputenc} \usepackage{natbib} \usepackage{graphicx} \usepackage{enumerate} \usepackage{parskip} \usepackage{emptypage} \usepackage{multirow} ...
3
votes
1answer
41 views

Number/Letter Theorem

Is there any way from the code below that a number letter/number theorem can be generated? I am trying to achieve a theorem labeled 1.1A. \documentclass{book} \usepackage{amsthm} \newtheorem{theo}{...
5
votes
2answers
34 views

Is it possible to exclude all theorems of a type from compilation with a single command?

I have a theorem type called application. It is used to list applications of concepts being discussed in a book. I want to exclude them from a compilation in order to generate a preliminary book that ...
3
votes
1answer
97 views

Adding an “mdtheorem” (i.e. with frametitle) to a List of Theorems

I'm having trouble with either formatting newmdtheoremenv environments, or adding mdtheorem environments to a table of theorems, depending on how you look at it. My MWE: \documentclass{article} \...
2
votes
2answers
116 views

With ntheorem, thmmarks and no amsthm, defining the proof environment right

I'm using ntheorem with the thmmarks option but without the amsthm option (for reasons I won't go into). I would like to define the proof environment à la amsthm. Specifically, I want: To be able to ...
1
vote
1answer
43 views

Theorem header and *all* content on separate pages

I have in my paper a theorem-like environment which consists only of an enumerated list. It looks bad if I just type it in vanilla, so I add a $\,$ before the enumerate (see also enter link ...
2
votes
1answer
56 views

How to avoid newline between enumeration and theorem?

When I insert an theorem/definition environment at the start of an item of enumerate, it creates a newline automatically before Theorem. Is it somehow possible to remove this enforced newline so that ...
0
votes
1answer
42 views

Manual numbering of Theorems [duplicate]

I have a setup where theorems are numbered automatically. Now I want a single theorem be numbered with special number, e.g. after Theorem 2 write Theorem 2'. Is it possible?
2
votes
1answer
39 views

How to print out only statements (theorems, lemmata, etc) from a tex file?

Suppose that I have a long tex file with a lot of things. In order to read the logic structure only, I want to print only text inside \begin{theorem}..\end{theorem} and \begin{lemma}..\end{lemma}. ...
2
votes
1answer
65 views

Using “theorem”-like numbering for non-theorem entries

This is perhaps a 2-parter in that 1) I'd like to have certain equations numbered using the theorem counter (and its associated "style") rather than that built into \begin{equation}. Per MWE, equation ...
2
votes
1answer
41 views

How to remove “.” in the definition [duplicate]

I want to add a definition in my LaTeX file. However, I have a dot after the word definition. How can I remove it? I want: Definition Here is the definition NOT Definition. Here is the ...
5
votes
5answers
260 views

Marking the end of a definition

I'm using the amsthm package to define a definition environment as follows: \theoremstyle{definition} \newtheorem{definition}{Definition} To my surprise, this provides barely any typographic ...
2
votes
1answer
31 views

How to align theorem cases with table?

apologies if this is already answered somewhere, but I can't seem to find it (or how to ask the question properly). I have a theorem with several cases. In each case I'd like to align my assumptions ...
1
vote
1answer
42 views

Easylist is incompatible with theorem environment

I noticed that the package "easylist" is incompatible with theorem environment. Here is an example. There is unusual space at the left of theorem 1. Could you fix this strange behavior? This is a ...
0
votes
1answer
66 views

Can I put a figure with caption and label inside a theorem (newmdtheoremenv)?

The following MWE doesn't compile if I uncomment the commented lines: \documentclass[a4paper,10pt]{book} \usepackage{amsmath} \usepackage{mdframed} \usepackage{graphicx} \usepackage{xcolor} \...
2
votes
1answer
19 views

Issue Passing an Optional Argument through Theorem Name with thmtools [duplicate]

I am using thmtools to create theorems, and I sometimes want the theorem name to include math symbols. In this particular project, I have used xargs to create a command that uses an optional argument, ...
2
votes
1answer
144 views

How do I show the labels of theorems, definitions, etc

I'm using the package showlabels which has the effect that when I label something with \label{thing1} the thing1 gets typeset in the margin of my document next to where I put the label. This works ...
6
votes
2answers
34 views

Typesetting a slight variation to a theorem by adding a * after the numbering of the theorem

Suppose I have a theorem with numbers and everything like this: Theorem 1.2.3: Blah Blah Blah... Sometimes you want to do a slight variation to the same theorem, or write it with a different ...
0
votes
1answer
69 views

Frame only around theorem in scientific two column poster

I am creating a poster in beamer, I would like to have frame only around my theorem, not to the end of the page (especially having two columns), if anyone know how to modify the code to do that? \...
1
vote
1answer
49 views

Custom QED Alignment with thmtools

I am trying to create a custom theorem format using the thmtools package. However, I am running into problems with the alignment of the QED symbol. When I end the theorem with normal text, it placed ...
4
votes
1answer
133 views

How to renumber a theorem environment with mdframed package?

I have the next document, which compiles fine. I want to change the numbering of theorems according to the number of section or chapter (view image). I wrote: \newmdtheoremenv{theo}{Theorem}[...
0
votes
1answer
50 views

Recall a theorem in a different section of a chapter

I am aware that this question has been asked before and I did refer to the previous answers given unfortunately I keep getting errors when I compile. Here's my minimum preamble \usepackage{...
2
votes
1answer
32 views

How to insert a paragraph (which works only in the “ltxmdf” class) into a class “book” document?

I have the next document (in ltxmdf class ), which compiles perfectly (view image). I want put in a document book class. ¿is posibble?. I've already tried but get 4 errors. How do I change the ...
4
votes
1answer
53 views

(AMS)TeX proclaim environment

AMSTeX has a \proclaim macro that goes like this: \proclaim{Theorem 10} Text of the theorem \endproclaim which results in Theorem 10. Text of the theorem. In other words, this environment adds a ...
3
votes
2answers
79 views

Equip a theorem with margin bar

Using PDFLaTeX, I am trying to equip theorem-like environments with a colored bar in the outer margin of the document. These theorems are already using the (nice) thmbox formatting. After trying the ...
2
votes
1answer
117 views

How to cross-reference an unnumbered theorem using hyperref and cleveref

In two previous questions (i.e. Distinguishing \ref and \cref through different colors, and ''Proof of Theorem x'' header trough modification of \ref) I addressed some problems I had with hyperref ...
1
vote
1answer
143 views

Why doesn't my \newtheorem definition of the “definition” environment work?

This is not my command but I copied from some other Latex help website. But when I write \begin{definition} YOLO \end{definition} I get the error message \usepackage{bm} \usepackage{xcolor} \...
2
votes
1answer
61 views

\newtheoremstyle above space does nothing in beamer

I would like to change the space above and below a \newtheorem in beamer. I tried to use \newtheoremstyle, but nothing happens. Here is an example showing above space set to 3000pt which has no effect ...
0
votes
1answer
51 views

How can I create a problem environment where I specify the problem number?

The ams package's \newtheorem{prob} doesn't work here (without resetting the counter every time I want to skip a problem}. It would be nice if I could use something like \begin{prob}{2-5} Some ...
2
votes
1answer
82 views

Custom theorem numbering italicized

In Custom theorem numbering @egreg gave us a way to put custom labels on theorems. However, when I compile my latex document with that new command, the text of the theorem is in regular text. If I ...
2
votes
1answer
34 views

Fraction in first line of Example overlaps onto Example header

I'm writing an example where the question says to find what the Legendre symbol of a few numbers are equal to. The theorem style I'm using is 'nonumberbreak' as I like to have my examples start on ...
2
votes
1answer
196 views

Definitions and theorems in beamer

I have several questions regarding the use of definitions and theorems in the beamer package. Here is an example: \documentclass[mathserif]{beamer} \usepackage{graphicx} \usepackage{tcolorbox} \...
2
votes
1answer
49 views

Auto-generating labels for theorems

I'm using package amsthm to define a "Definition" environment as follows: \theoremstyle{definition} \newtheorem{definition}{Definition} In brackets, a name for the definition is supplied: \begin{...
3
votes
1answer
143 views

Eyeglasses as item bullet

I would like to Customizing lists itemize and title of theorem to looks like that : as usual in order to Switch chip, size and color for itemize i use \usepackage{pifont} or we can use Math ...
3
votes
1answer
77 views

Unintended Numbering of Theorems

It is difficult for me to put a good MWE as I do not know what supporting packages are. Anyway, below are the code: \documentclass[11pt]{report} \usepackage[inline]{enumitem} \usepackage{...
4
votes
1answer
84 views

How to Make Claims and Proofs start on the same page if possible?

I have a document where sometimes proofs start on a separate page than where their associated claims were stated. Is it possible to force is so that (unless the statement of the claim is more than ...
6
votes
1answer
66 views

Having regular text within a lemma

I want the following lemma: Given k\"ahler metric $g_{\al \overline{\be}}$ with associated Ricci curvature $ \text{Ric} =R_{\al \overline{\be}}$ the Ricci form defined by \begin{equation*} \p (X,Y)...
7
votes
2answers
117 views

Why don't I get non-italic, normal font inside theorem environment using newmdtheoremenv and mdfdefinestyle?

The theorem text is written in italic even if I set font=\normalfont\normalsize. Maybe related to that, Portuguese "-ção" is not properly recognized in that text. \documentclass[a4paper,10pt]{book} \...
2
votes
2answers
175 views

How to produce theorems in which the color of heading and body of the theorem my differ?

I have tried the following code, \documentclass{article} \usepackage{amsthm,amssymb,xcolor} \theoremstyle{plain} \newtheorem{thm}{Theorem} \begin{document} \begin{color}{blue}{\begin{thm}\begin{color}...
2
votes
1answer
50 views

How do I vertically align a theorem environment at the top?

The following code renders the picture below. \documentclass[oneside,12pt]{book} \usepackage[a4paper]{geometry} \usepackage{microtype} \usepackage[T1]{fontenc} \usepackage{enumitem} \usepackage{...
3
votes
1answer
93 views

How to equalize the spaces above and below the theorem?

When I use the following code, \documentclass{amsbook} \makeatletter \def\ps@spheadings{\ps@empty \def\@evenhead{\normalfont\scriptsize \rlap{\thepage}\hfil \leftmark{}{}}% \def\@oddhead{\...
1
vote
1answer
40 views

beamer - Theorem - Extra (descriptive) text after (…)

I want to put some extra text (green color text in the picture) after the Theorem (...), NOT inside the parenthesis, but still at the same (top) line. How to set the options to achieve this? Please. ...