{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
96 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
50 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
90 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 ...
2
votes
1answer
30 views

Counter always equal to other counter (at all times)

I know that \newcounter{newctr}[oldctr] will reset newctr to 0 whenever oldctr is incremented. How can I have newctr to have exactly the same value as oldctr at all times? In other words, how can I ...
0
votes
1answer
46 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
49 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
32 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
38 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
125 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
69 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
91 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
45 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
38 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
44 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
59 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
51 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
61 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
83 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
51 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
86 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
55 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
86 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
79 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
105 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
57 views

Clash between \newtheorem and \documentclass{svjour3} [closed]

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 ...
3
votes
1answer
170 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
49 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} \...
3
votes
1answer
144 views

Creating a Postulate Environment

I understand how to use the theorem environment in LaTex and would like to know if there is a similar environment for postulates or how I can make an environment for postulates on my own.
4
votes
1answer
73 views

Prevent a new line before a theorem

Is there any way not to start a new line for a theorem? For example, in the following example, I would like the word Theorem to be on the same line as the number 1. \documentclass[12pt,letterpaper]{...
1
vote
1answer
51 views

How to specify theorem styles (amsthm) should use bold equations (bm)?

From other questions on this site, I've come to the conclusion that bm is the easiest (best?) way to get bold equations. I'm using amsthm to define a problem style, but the \bfseries doesn't make the ...
2
votes
1answer
36 views

How to create two environments that refer to each other in the page margin?

I would like to create two environments: one for exercises and one for their solutions. Each exercise should refer to the page of its corresponding solution and vice versa. The problem is not quite ``...
1
vote
0answers
43 views

Citation with MakeTextLowercase

Consider the following MWE: \documentclass{scrartcl} \usepackage{textcase} \usepackage{natbib} \begin{document} Some reference: \citet{ABC} Some other reference: \MakeTextLowercase{\citet{...
2
votes
1answer
112 views

Declaretheoremstyle headpostspace = \newline + indent?

I am having problems trying in declaring a theorem style. I would like the first row of the definition to be on a new line with the normal indent. If I try to add \par instead of \newline for ...
1
vote
1answer
160 views

Can I eliminate the dot after Theorem in amsthm?

Instead of 1 Theorem. I want to write 1 Theorem in front of the first theorem and analogously in front of succeeding theorems. How can I get rid of the dot? Here is a MWE: \documentclass{article} \...
1
vote
0answers
24 views

Why do I get an “extra }” error when using a default argument in a theorem name? [duplicate]

Consider the following latex code: \documentclass{article} \usepackage{amssymb} \usepackage{amsthm} \newtheorem{thm}{Theorem} \newcommand{\Zn}[1][n]{\mathbb{Z}_{#1}} \begin{document} $\Zn[p]$ \...
0
votes
0answers
16 views

Each environment has its own numeration. How can I change this? [duplicate]

In my thesis each theorem, definition, corollary, etc. has its own numeration. For example: Chapter 2 Theorem 2.1 Theorem 2.2 Definition 2.1 Corollary 2.1 How can I change ...
8
votes
1answer
75 views

Remark number in italics

When compiling \documentclass{article} \usepackage{amsthm} \theoremstyle{definition} \newtheorem{definition}{Definition}[section] \theoremstyle{remark} \newtheorem{remark}{Remark} \begin{document}...
1
vote
1answer
22 views

Problem with theorem numbering

I want to write my homework in Tex How can I write "Theorem 18." using command: \newtheorem{thm}{Theorem} . It starts numbering my theorem automatically as Theorem 1. Thanks
4
votes
1answer
693 views

Numbering assumptions in amsthm by hand and referencing them

I have a situation where there are two alternative assumptions that can hold in order for some estimate to be correct. I would like to number them 2.a and 2.b and refer to them in the text (an ...
2
votes
1answer
66 views

Use the same counter for definitions and theorems [duplicate]

\newtheorem{thm}{Theorem}[section] \newtheorem{defn}{Definition}[section] \begin{defn} --some text \end{defn} \begin{thm} --some text \end{thm} when using the above commands i get as output the ...
3
votes
1answer
58 views

Issue with cref and color names, generally and in theorem environments

I am trying to use \cref from the cleveref package with in a theorem environment. I also want my theorem names colored, say red. Now if one tries to use \cref within a colored environment, e.g. \...
1
vote
1answer
82 views

Linebreak in definition heading (theorem package) [duplicate]

I have a problem with a too long line in the theorem environment. The following example shows the problem, I need a line break in the heading, but there is none. Any suggestions? \documentclass[...
3
votes
2answers
82 views

Formatting theorems with drop-cap'd theorem numbers

I want to mark theorems with a big (drop cap) theorem number in the margin. I couldn't get LaTeX to raise the dropcap without using a smash, but then this causes numbers to overlap if theorems are ...
4
votes
0answers
152 views

Creating a List of Theorems divided into Subsections with amsthm

I want to modify the listoftheorems command so that at the end of each chapter, I can give a list of the theorems or definitions within the last chapter, and I want these divided by section (it should ...
6
votes
1answer
125 views

How can I use more than one color in shadethm package?

I know that we can change the default color given in shadethm package using, for example, \definecolor{shadethmcolor}{HTML}{F7F8E0}. But if I want to use different colors for different environments in ...
7
votes
3answers
168 views

How to make the enumeration of theorem-like environments indipendent from cross-referencing in a particular way

I'm writing a mathematical paper, and right now I'm using \newtheorem{theorem}{Theorem}[section] to enumerate theorems, propositions, etc. In this way, every statement shows the number of the ...
0
votes
1answer
65 views

Figures (floats) break my theorems, definitions and remarks apart!

When I insert figures with graphics in a text it frequently happens that in the compiled document they split definitions and theorems (and maybe remarks) apart. This, of course, happens because LaTeX ...
1
vote
1answer
145 views

Theorem style with margin on both sides

I'm strugeling with the theorem package thmtools and its features. I've declared several theorem styles with \declaretheoremstyle and \declaretheorem. How can I add a hanging paragraph margin on the ...
4
votes
2answers
50 views

thmtools notebraces bug?

\documentclass{article} \usepackage{amsmath} \usepackage{amsthm} \usepackage{thmtools} \declaretheoremstyle[notebraces={[}{]}]{style} \declaretheorem[style=style]{theorem} \begin{document} \begin{...