{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
102 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
1answer
160 views

Understanding differences between newtheorem and newenvironment

The difficulty that I am having is that I make a newtheorem: \newtheorem{definition}[theorem]{Definition} It however seems to act nearly the same as with newenvironment: ...
6
votes
1answer
107 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
135 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
204 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
282 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
159 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
293 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
595 views

Beamer newenvironment for theorems

I'm trying to define a new environment for theorems and I'm using this code: % Theorem box \pgfdeclarelayer{background} \pgfsetlayers{background,main} \tikzstyle{thmbox} = [inner sep=1em] ...
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
238 views

controlling theorem numbers using llncs style

Is there a way to control the numbering of different types of theorems, when using the llncs style? With the envcountsame parameter, all theorems/definitions/claims use the same counter and get ...
6
votes
2answers
928 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
3answers
1k 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
65 views

Failure of \text within theorem environment

I have an equation within the statement of one of my theorems. Within this equation, I have some text to name a function. However, when this equation appears within the theorem environment, the ...
6
votes
1answer
127 views

Theorem and lemma sharing counter with mdframed and cleveref

Problem Essentially I've got the same problem described in Cleveref with counters with same name: I've got theorems, lemmata and corollaries all sharing the same counter, and when referencing them ...
6
votes
1answer
183 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
489 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
2answers
733 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
1answer
662 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
0answers
350 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
174 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
2answers
179 views

How can I avoid the changing of v to υ when writing lemmas?

I'm using variables u, v, w in a lemma. However my latex compiler changes v to υ which then makes it difficult to distinguish between u and υ. Why does it do this and how can I avoid it from ...
5
votes
2answers
606 views

New ideas for writing a thesis [closed]

As many of us, I am willing to write a thesis full of maths, fancy environments and all that. Each time I investigate the internet for ideas I find myself ending on the same websites with boring ...
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
4answers
867 views

Is it possible to use the enumerate/itemize environment within the proof/remark environment in a nice way?

I wish to use the enumerate/itemize environment within the proof/remark environment, but when I do this the first number/bullet-point is on the same line as the word 'Remark'/'Proof' indented to the ...
5
votes
1answer
70 views

Transitioning to mathtools - environment proof undefined

I am new to LaTeX and I was using the amsthm package in order to write proofs by using the proof environment: \documentclass{book} \usepackage{amsthm} \newtheorem{theorem}{Theorem} \begin{document} ...
5
votes
1answer
129 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
1answer
1k views

Numbering theorems in the appendix by adding the appendix letter in front/after the theorem number

Can someone please tell me how to make definitions, theorems etc. in the appendix look like Definition A1 or Definition 1A (an "A" should be somewhere), if the appendix is "numbered" with A (meaning ...
5
votes
2answers
451 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
42 views

Cross-reference two numbered environments

Consider the following code: \documentclass[a4paper,12pt]{book} \usepackage{amsthm} \usepackage{hyperref} \theoremstyle{plain} \newtheorem{exercise}{Exercise} \newtheorem{solution}{Solution} ...
5
votes
2answers
61 views

Corollary counter in SVmono

When using the predefined Theorem and Corollary commands using the Springer template svmono, the theorem and corollary counters are different. How can I make the counters match? The desired effect ...
5
votes
3answers
104 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
130 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} ...
5
votes
1answer
171 views

Theorem environment numbered according to subsection

I was wondering if there was a way to modify the theorem environment so that it interacted with sections/subsections as follows: \section{} \subsection{} \begin{ex} Whatever \end{ex} ...
5
votes
1answer
649 views

Equation numbering restart for every theorem

How to make the equation numbering restart after every proof? One alternative is to use \numberwithin{equation}{theorem} but it shows the chapter and theorem number, like (5.5.1). I want the ...
5
votes
1answer
2k views

Numbering theorems within chapters

I've recently asked a question: Chapters in TeX regarding working with chapters in tex. I have since learned that I must use documentclass report for the purposes of my document. However, now all of ...
5
votes
1answer
497 views

'List of theorems', translated into my language

I'm using \listoftheorems (part of the thmtools package) to show a list of all my theorems. It works really well, but it prints "List of theorems" in English; I would obviously prefer it to be in my ...
5
votes
1answer
4k views

Not numbering Remarks

If I have the following \newtheorem{remark}{Remark} I will obtain Remark 1, Remark 2 and so on. May I know how to remove the numbering in Remark? Like I just want the word "Remark" and not the ...
5
votes
1answer
2k views

Theorem content right after theorem name in beamer

When we write a theorem in beamer, by default the theorem name and theorem content are in different lines, like this: |------------------------------------------- |Theorem 1 ...
5
votes
1answer
2k views

How can I change the spacing before theorems with amsthm?

I have a spacing problem. Whenever I include a theorem environment, \begin{theorem}\end{theorem}, the theorem appears very close to the previous line. The spacing is much less than the normal spacing ...
5
votes
2answers
507 views

Common numbering with ntheorem

I have the exact same question as detailed in Common, per-section numbering of theorems, lemmas etc., but I am using ntheorem and so can't use the accepted answers code. Does anyone know how to adapt ...
5
votes
1answer
3k views

No Counter Theorem1 is defined

I got an exception in the following latex code: "No Counter Theorem1 is defined", what is the problem? \documentclass[conference]{IEEEtran} \newtheorem{definition}[theorem1]{Definition} ...
5
votes
2answers
1k views

`ntheorem` and `thmtools` seem incompatible

I am preparing the setup of the theorem environments for my thesis. I want to do this right before I have say 200 of those environments in my document, since changing them will likely break things at ...
5
votes
3answers
709 views

Two math sections of the same type in a row?

Whenever I try to create two sections of the same type in a row LyX unites them as if they were one. I write a definition, press ENTER for a new line, and then want to write another definition on that ...
5
votes
2answers
943 views

thmtools: How to prevent pagebreak between theorem and proof?

I am using thmtools to format a collection of theorems and their proofs. Is there any way to prevent a pagebreak from happening between the last line of a theorem statement and the first line of the ...
5
votes
2answers
1k views

How can I get a line break in a theorem headline?

I have a theorem title, which is longer then the page width. How do I get the title in two lines? \begin{theorem}[this title is to long for one line] the theorem \end{theorem}
5
votes
1answer
2k views

Vertical space around theorems

I'm working in a document that has double-spacing (yuck!), and I want to establish some standards in order to make the thing look "presentable". Currently, the only environment that has an automatic ...
5
votes
1answer
94 views

Remove a dot from a style!

I'm using the code below to create a theorem style. The style, however, leave a dot after the title in the title box. I want to remove that. Any ideas? \documentclass{article} ...
5
votes
2answers
210 views

How to remove the word “Proof:” from the environment proof?

I am writing a paper and I will prove a theorem in an appendix because the proof is lengthy. When I use the following code, \documentclass[journal]{IEEEtran} \usepackage{amssymb, amsmath, amsthm, ...
5
votes
1answer
99 views

Increasing depth of document

I am trying to type by using amsart. I want numbering of the definitions, lemma theorem etc should be of the form x.y.z, where x is section, y subsection and z the actual number of the theorem. I ave ...