{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

1
vote
1answer
43 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
92 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: ...
0
votes
1answer
44 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 ...
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
47 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
69 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
102 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
133 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
45 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
44 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
72 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
32 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
123 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
47 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: ...
3
votes
1answer
132 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} ...
4
votes
1answer
81 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 ...
7
votes
2answers
100 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
97 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} ...
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} ...
3
votes
1answer
91 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{}{}}% ...
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
77 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
45 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
64 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
38 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} ...
0
votes
0answers
24 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
33 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
93 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
63 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
74 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
41 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
34 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
42 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
56 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
51 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
74 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 ...
3
votes
1answer
80 views

Extra brackets appearing in styled theorem in beamer

Here is my code: \documentclass[slidescentered]{beamer} \usepackage{amsthm,thmtools,xparse} \makeatletter \newif\if@namespace\@namespacefalse \newcommand{\contrel}[2]{ \if@namespace Continua da ...
4
votes
1answer
49 views

Indentation in newtheorem environment

I already have a personalization of the "newtheorem" environment, as follows: \documentclass[a4paper,10pt]{article} \usepackage[latin1]{inputenc} \usepackage[T1]{fontenc} ...
4
votes
2answers
78 views

Cleveref messes up theoremstyles

I use different theorem enviroments that should in theory all have the same style due to my code. They do as long as I don't load the cleveref package. If I load it, only corollary stays the same. How ...
1
vote
2answers
76 views

Indent many lines in Theorem environment

If I want to indent the first line in the theorem environment I just write \indent. How may I indent several lines - a paragraph - in this environment? Here is a MWE: \documentclass[fleqn]{scrartcl} ...
3
votes
2answers
93 views

Remove Numbering from Notes & Definitions

What would be the best way to remove the numbering in the following document ("Note 1.1", "Definition 1.2"), but keep the same formatting? I've read that it has something to do with using the ...
1
vote
0answers
49 views

Clash between \newtheorem and \documentclass{svjour3}

When I write a \documentclass{article}, if I want to define an environment called Theorem, I use \newtheorem{theo}{Theorem}, then when I write a theorem I use \begin{theo} and \end{theo}. I get used ...
2
votes
1answer
126 views

theorem numbering : section counter but remove the section number

I'm searching how to remove the chapter+section number on the theorem numbering with a section counter. With no section counter it's like: \newtheorem{thm}{Title} Chapter1 ----Section 1 --------thm ...
2
votes
1answer
36 views

Theoremstyle not applied

I'm writing some exercises, and wanted to add some style to my theorems for fun, it was working well until I opened it today: it doesn't work anymore I don't know why I spend an hour to search why the ...
4
votes
1answer
44 views

How to nest comment and theorem in one environment?

I'm using comment and amsthm packages for comments and theorems. I'd like to skip some theorems. I've tried to create a new environment with theorem nested in a comment: \documentclass{book} ...