{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

6
votes
2answers
110 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 ...
6
votes
2answers
156 views

\newtheorem other language

I've worked in my article with the next code in my preambule: \usepackage[dutch]{babel} \usepackage[amsthm,thmmarks]{ntheorem} \newtheorem{diver}{Theorem} \newtheorem{ex}{Example} ...
6
votes
1answer
809 views

Shaded theorems (thmtools) spanning pages

When the thmtools package is used to create theorem environments with a shaded background, it does not allow separate theorems to span more than one page. This is a rather severe problem if the ...
6
votes
2answers
2k views

Common, per-section numbering of theorems, lemmas etc.

I use amsthm for my theorems, lemmas etc. I'd like their numbering to look like that: Theorem 1.1.1 Lemma 1.1.2 Definition 1.1.3 Theorem 1.2.1 Definition 1.2.2 Corollary 1.2.3 Theorem 2.1.1 etc. ...
6
votes
3answers
111 views

Lemmas and sub sections

I want to write a LaTeX code to show, Lemma 1 : x+y=z Lemma 1.1: z-r+t=3 Lemma 1.2: q=r How do I do that?
6
votes
1answer
463 views

amsthm: Theorems, Lemmas numbered backwards

What I want \newtheorem{thm}{Theorem} \begin{thm} A \end{thm} \begin{thm} B \end{thm} \begin{thm} C \end{thm} Ends up generating Theorem 1 A. Theorem 2 B. Theorem 3 C. What I want instead: ...
6
votes
2answers
828 views

Creating list of for \newtheoremstyle

I want to create an list of theorems much like the list of figures, but couldn't find a packacke or tutorial to solve my problem. I tried this http://texblog.org/2008/07/13/define-your-own-list-of/ ...
6
votes
1answer
103 views

How to copy a lemma to appendix without changing its number?

I have a document with a lemma (using amsthm), like so: \begin{lem} \label{mylemma} % ... \end{lem} The proof of this lemma can be found in the appendix (see section \ref{sec:proof_of_mylemma}). ...
6
votes
2answers
1k views

QED symbol in a custom theorem environment

I have created my own theorem environment like this \newtheoremstyle{mythmstyle}{}{}{}{}{\scshape}{.}{ }{} \theoremstyle{mythmstyle} \newtheorem{mythm}{Theorem} How do I add the QED symbol (the ...
6
votes
1answer
123 views

formulas in bold theorem titles in ntheorem package

I'm not quite sure if this counts as a bug or a feature but I have the following problem with the ntheorem package. The theorem title is bold face, which I like, but in math formulas setting some (or ...
6
votes
1answer
104 views

Theorem starting with a list

I want a robust way to handle theorems which starts by a list environment, with the first item being on a new line. I don't want to distinguish between theorems with lists and those without by using ...
6
votes
2answers
108 views

How to get cleveref to treat separate theorem-types as one?

Introduction I'm using a somewhat complex theorem-environment setup which, perhaps, is finally getting me into trouble. I use memoir, cleveref and ntheorem. There is a global thmcounter that all ...
6
votes
1answer
354 views

Duplicating the amsthm proof environment

I am currently writing up some lecture notes and would like to have therefore a "\solution" environment which should work basically as the amsthm \proof environment, just writing "Solution." instead ...
6
votes
1answer
226 views

Automatic upright math when text is in italic

This is in a way a follow-up to this question about upright math. I would like to have upright math (essentially variable names) when I use a theorem-like environment with statement in italic. This ...
6
votes
1answer
141 views

Problem regarding Errors after Theoremdefinition using thmtools

I am currently hunting for errors in my template and these two I cannot solve after reading the log and researching: First: ! Argument of \strip@prefix has an extra }. <inserted text> ...
6
votes
1answer
443 views

Line break in theorem header

I am using ntheorem to define my own environments like this \theoremindent=0cm \theoremheaderfont{\kern-0cm\normalfont\bfseries} \theorembodyfont{\upshape} \theoremstyle{break} ...
6
votes
1answer
444 views

\newmdtheoremenv-environment unnumbered

I would like to have a \newmdtheoremenv environment without any number, like I get it from \newtheorem*. How can I do this? This is my \newmdtheoremenv environment at the moment. ...
6
votes
1answer
398 views

amsbook theorem numbering

I want theorems to be labeled of the form Part.Chapter.Section.number so I tried \renewcommand{\thesection}{\Roman{part}.\thechapter.\arabic{section}} \newtheorem{book}{Theorem}[section] ...
6
votes
1answer
320 views

Bug in the mdframed package (workaround?)

I've discovered what appears to be a bug in the mdframed package. My goal was to use a package which allows me to create shaded theorem environments which span multiple pages (thmtools does not allow ...
6
votes
1answer
952 views

Normal font in theorem when typesetting algorithms

I'm using amsthm and clrscode to typeset algorithms. I'd like to have my algorithms numbered, so I do this: \theoremstyle{plain} \newtheorem{algorithm}[equation]{Algorithm} \begin{algorithm} The ...
6
votes
2answers
598 views

Improper alignment of qed-like symbol when using equation to end

I use this code to define a symbol that I put at end of (maths) examples in my file. \newcommand\xqed[1]{% \leavevmode\unskip\penalty9999 \hbox{}\nobreak\hfill \quad\hbox{#1}} ...
6
votes
1answer
62 views

Using thmtools: numbering with asterisk

I would like to repeat a theorem number with an added asterisk. That is, the original theorem is: Theorem 1. Lorem ipsum... And I would like the analogue theorem to be: Theorem 1*. Lorem ipsum...
6
votes
1answer
95 views

Using ntheorem's counter inside theorem statement

I'm using ntheorem package and I would like to use the theorem's counter within the theorem's statement. This is useful when you're defining a special object you wish to reference elsewhere, like: ...
6
votes
1answer
174 views

Equation Counters in and outside Theorems

I am trying to setup the counters so that the equations and theorems increment by section and there is no overlap between equation and theorem numbering. I also would like to be able to number ...
6
votes
1answer
233 views

Weird behavior of \theoremstyle

I just noticed something weird of the \theoremstyle command. Here is the code of a sample document: \documentclass{article} \usepackage{amsthm} \theoremstyle{plain} \newtheorem{thm}{Theorem}[section] ...
6
votes
1answer
85 views

Change from “Theorem 10.1” to “10.1 Theorem” [duplicate]

Possible Duplicate: Numbering theorem-like environments">Numbering theorem-like environments How can I change the order in which theorems are displayed? I want 10.1 Theorem and not Theorem ...
6
votes
1answer
133 views

Different numbering scheme per chapter [duplicate]

I would like to change the numbering scheme for my theorems per chapter. That's because I have smaller and bigger chapters. Bigger chapters need subsections for proper structuring, and so my theorems ...
6
votes
1answer
202 views

Theorem title formatting

I want to display a theorem title, it is simple: \begin{theorem}[Name] I get Theorem 4.5 (Name). but I don't like the dot at the end. I want it to look like this: Theorem 4.5. (Name) Can you ...
6
votes
1answer
3k views

Numbered Definitions, Theorems in beamer

How to get numbered Lemmas, Definitions, Theorems and so on in beamer?
6
votes
2answers
2k views

placement of QED symbol on numbered equation line

This question is both on LaTeX and on mathematics writing style; I hope that's still apropriate here. I have a proof that ends with a (right) numbered equation, and I'm pondering about where to put ...
6
votes
1answer
63 views

How to change QED sign for theorem classes

I'm writing an article which contains some quite long proofs, some of which include claims with proofs of their own. I dealt with that by adding a claim environment using \newtheorem, but there's a ...
6
votes
2answers
82 views

Getting the number of a chapter-numbered theorem but without the chapter number

Suppose in Chapter 3 I have Theorem 3.17. I need to get the "17", NOT the "3.17" which would readily be obtained using \label then \ref. How do i do that? Edit: (Probably a more relaxing condition): ...
6
votes
2answers
655 views

Indent Theorem like \hangindent, but for multiple paragraphs

I would like to create a theorem style which indents the theorem exactly like a \hangindent would do, expect that the indention should continue for all paragraphs of the theorem. For example: ...
6
votes
1answer
580 views

How can I eliminate the vertical extra space before and after the proof-environment?

consider the following code: \documentclass{scrartcl} \usepackage[ngerman]{babel} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{graphicx} \usepackage{amsmath} \usepackage{amsthm} ...
6
votes
1answer
686 views

Cleveref with counters with same name

I am trying to use the cleveref package. I have the following counters defined (hopefully this is the right way to do it!) \newtheorem{thm}{Theorem}[section] \newtheorem{lemma}[thm]{Lemma} ...
6
votes
3answers
975 views

Tweaking \theoremstyle

Well I want to do is when LaTeX writes Theorem at the new line instead of the left side of the page it be a little indented. In other words I want it to start from a little bit to the right.
6
votes
1answer
159 views

Subnumber equations within theorem environments but keep them intact otherwise

I want to number my equations in a manner similar to this. However, what I want is that when the equation is not within a theorem environment, there should be normal numbering 1,2,3,4. However, each ...
6
votes
1answer
389 views

Align the names in \listtheorems (ntheorem)

Question: How do I align the names of theorems in ntheorem list of theorems? Screenshot: Screenshot: (photoshopped) Context: I am using the ntheorem package to typeset a list of theorems and ...
6
votes
1answer
580 views

Overfull \hbox produced by ntheorem subtitles

I switched from using the standard AMS theorem package to ntheorem so I can put alternative end marks on theorem environments (I want my examples to have an end mark, but not the same one as proofs). ...
6
votes
1answer
638 views

Footnote marker placement in heading of theorem/definition/etc.

I have a definition, and a footnote which refers to the whole definition.  So I’d ideally like an output looking something like: Definition 1.53.   A footnote is a small aside, usually ...
6
votes
0answers
210 views

How to create a framed proof attached to a theorem?

I am trying to create a customized "proof" environment attached to a theorem. It looks like this: So there is first the theorem, and then a gray bar starts on the inner margin. It ends, when the ...
6
votes
1answer
160 views

List of equations in separate pdf [closed]

I am communication with my coauthors via email. This time, I am the author, so I send them the PDF file of the document, and they send me corrections. Then I'd like to implement these corrections. ...
5
votes
1answer
4k views

Can I disable italics in the body text of a theorem without amsthm/ntheorem?

I'm submitting a paper and am required to use a provided document class which defines its own theorem environments, so I can't use packages like amsthm or ntheorem. The class doesn't define a ...
5
votes
2answers
1k views

How to number equations within theorem-like environments

I want to enumerate equations within theorem-like environments. Example: \documentclass[a4paper,10pt]{article} \usepackage{amsmath,amsthm} \newtheorem{theo}{Theorem}[section] % \begin{document} ...
5
votes
2answers
2k views

Babel (French) does not translate the theorem environment in Beamer class

I'm using the beamer class, with the following preamble: \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage[french]{babel} \usepackage{ae,aecompl,aeguill} \usepackage{amsthm, amsmath, ...
5
votes
3answers
641 views

ToC like list of definitions (using theorem environments)

For one of my documents I use these commands to setup my theorem environments with amsthm: \usepackage{xcolor} \usepackage{framed} \colorlet{shadecolor}{lightgray!25} ...
5
votes
1answer
122 views

Customize environment “proof”

I need to create (or customize) an environment "proof" that has the option to explain after the word 'proof' the name of the theorem (or environment) along with its automatic numbering of the theorem ...
5
votes
2answers
435 views

flushright of theorem captions

Is it possible to flushright captions of theorem envrionments? For example consider the following code: \usepackage{amsmath} % \usepackage{amsfonts} % \usepackage{amsthm}% \theoremstyle{definition} % ...
5
votes
3answers
71 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 ...
5
votes
1answer
121 views

Using environment argument inside a new environment doesn't work

I know it must be something trivial: \documentclass{article} \usepackage{amsmath} \usepackage{amsthm} \usepackage{thmtools} \usepackage[svgnames]{xcolor} \usepackage{framed} ...