{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
39 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
242 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
30 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
52 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
117 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
33 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
64 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
46 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 ...
3
votes
1answer
107 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
45 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
51 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
75 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
107 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
137 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} \...
1
vote
0answers
48 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
50 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
77 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
33 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
157 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
48 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
140 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
82 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
65 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
109 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
133 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
47 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
39 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. ...
2
votes
1answer
89 views

How to prevent \parpic from cutting into every paragraph inside a proof environment?

When using \parpic to put an image next to a short theorem it will cut into every paragraph in the next proof environment if the picture spans beyond the theorem. The following MWE and its output ...
1
vote
2answers
49 views

How to remove the dot in the proof environment (using ntheorem package)?

\begin{proof} something \end{proof} produces Proof. something and I want Proof: something The solution suggested here produces an error if one uses the ntheorem package instead of amsthm ...
2
votes
1answer
75 views

cleveref and amsthm — incorrect environment name

I have theorem environments that have the same theoremstyle which I define through amsthm. I want them all to share the same counter. This way, a lemma that follows theorem 1.2.6 will have the number ...
0
votes
1answer
44 views

rename theorem environment to proposition

How can I rename the theorem environment to proposition? In other words, I would like to print: Proposition 1 instead of Theorem 1/Lemma 1, etc Thanks in advance PS: I am using koma-script article
3
votes
1answer
47 views

Unable to get a framed title using mdframed

\documentclass[12pt,twoside,notitlepage,reqno]{amsbook}% \usepackage{amsmath} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{xcolor} \usepackage{thmtools} \usepackage[framemethod=tikz]{...
0
votes
0answers
29 views

Shadowboxing theorem environment

This is how I would like to redefine my theorem environment. %\newenvironment{sbtheorem} % {\shabox{ \begin{minipage}{0.8\textwidth} \begin{theorem}} % {\end{theorem} \end{minipage} }} ...
1
vote
1answer
37 views

mdframed: bug (with roundcorner) when a style for theorem is used within an environment without topline, rightline, etc

When a style for theorem is used within an environment and that this environment a line but topline=false, rightline=false, etc. then some attributes of the theorem are not used. Here, an MWE for ...
2
votes
1answer
108 views

Theorem environment with a line break after label and before an enumerate environment

What I want to achieve is very similar to this question, but the solution offered seems not to work in precisely the cases I need it to work! I'm placing enumerate and itemize environments inside a ...
0
votes
1answer
68 views

Remove parentheses from theorem without amsthm package

I would like to remove the parentheses from the newtheorem I define. The thing is I cannot use amsthm (it collides with another package, babel, as I understand). Is there a possibility to remove these ...
0
votes
1answer
83 views

In beamer, how do I number theorems but not definitions? [duplicate]

I want my theorems numbered, but not my definitions. The options I'm finding turn numbering on or off universally. My attempts at customizing different theorem environments are not having any effect. ...
3
votes
1answer
42 views

Newline after title in a shadetheorem

this is my first question in a Forum like this, so please don't blame me if I do anything wrong :) (correct me if you think I could do something better) To my question: How can I insert a newline ...
1
vote
1answer
36 views

Numbering of Theorems

I am typing lecture notes according to day in a single tex file. The theorems in Lecture of day 1 are numbered as follows: \newtheorem{theorem}{Theorem} \begin{theorem} This is Theorem number 1. \...
1
vote
1answer
43 views

Question about numbered claims

My claims starts with something like: "Claim 0.1" How do I change the numbering? Maybe to something like "Claim 1".
3
votes
1answer
57 views

Theorem name not making it to the aux

I posted a question. egreg answered. I applied his solution to my presentation. It worked. Then I tried it in my thesis, where I use references, and I realized the theorem names weren't making it to ...
0
votes
1answer
44 views

Use upright font (no italics) with svjour3 (springer)

I cannot find how to do that automatically for all the theorems in my latex document with the class svjour3 (provided by Springer). I use amsmath too in my document.
2
votes
1answer
52 views

Alignment problem when using enumerate with the answers package

When using enumerate inside the answers package to generate a list of exercises the first item is not correctly indented compared to all other items which come after it. Is it possible to use ...
3
votes
1answer
78 views

Cleveref interaction with theorem subnumbering

I have included sub-numbered theorems according to the suggestion for this question: How do I get sub-numbering for theorems (Theorem 1.A., Theorem 1.B., Theorem 2.)? This works great, and it ...
1
vote
1answer
48 views

Spacing problem after a list at the beginning of a theorem

In the following example, how (if possible) can one make the line after the fruits be formatted in the same way as the line after the vegetables in a "clean" way without moving the apple to ...