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

How to refer to the number of an item in an enumerate environment inside a theorem

I have something that looks like this: \usepackage{amsmath} \begin{document} \begin{thm} The following are true: \begin{enumerate} \item \label{foo} Foo \item \label{bar} Bar \item \label{baz} Baz ...
7
votes
2answers
120 views

Wrong vertical space in theorem environment closed by an equation

It happens that LaTeX, to fill a page vertically, adds extra spaces around equation environments (and other vertical spaces). Now suppose I have a theorem environment (using amsthm) which ends with an ...
1
vote
0answers
144 views

restatables and \listoftheorem

I am using the restatable environment from the thm-restate package ofthmtools. I am also using \listoftheorems command to give me a list of the theorems. However, my restatable theorem is appearing ...
14
votes
3answers
558 views

What style/font is this?

Does anyone know how to create numbering for Theorem/lemma/… like this one in the image below, also any idea about the font name?
2
votes
1answer
81 views

How to adust margin in listoftheorem

I have some definitions and theorems inside subsubsubsection. When latex generates the listoftheorems, the last digit of the subsubsubsection overlaps the first letter of the name of the theorem, ...
1
vote
1answer
74 views

How to ignore proofs? [duplicate]

I'd like to print a shorter version of my paper without all the proofs, I'm thinking about something like \renewenvironment{proof}{\begin{comment}}{\end{comment}} but that activates the comment ...
5
votes
2answers
127 views

Theorem/remark/proposition/etc tagging/labelling

I have been wondering this for years, and never really had so much trouble that I couldn't bear not to know, but now I think I'll just ask and see if anyone knows. It is common practice to label ...
4
votes
1answer
751 views

How do I reference in appendix a theorem given in the body?

I have a theorem given in the body text of a paper, say Theorem 2 with label {theorem-abc}. I would like to provide the proof of this theorem in the appendix. 1) How do I cross-reference this theorem ...
6
votes
2answers
194 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} ...
3
votes
2answers
100 views

amsthm in clean

I am looking for a good latex template for my phd. I did not like the classicthesis because of the huge margin and the collapsed table of contents. I found the cleanthesis to be just what I was ...
2
votes
1answer
321 views

Include theorem name from thmtools into mdframed title box

mdframed is nice for controlling the outer layout of theorems. thmtools on the other hand can take care of a number of other things great and small, in particular the detailed formatting of the title ...
2
votes
1answer
167 views

using a restatable before it is stated

This question is related to the question at Recalling a theorem, which uses the thmtools and thm-restate packages and the restatable environment to define a theorem that can be re-stated later on. Is ...
1
vote
1answer
191 views

Alternative numbering for theorem

I am using thmtools as a front end to amsthm and I have a definition environment as follows. \declaretheorem[ style=mydefinitionstyle, name=Definition, numberwithin=chapter ]{definition} ...
2
votes
2answers
145 views

Lemma numbering by first instance of referencing

My document is long with proofs broken into several lemmas and many of them are in the appendix. However, it seems odd when I am using Lemma 25 (which should ideally be Lemma 1) to prove Lemma 2. It ...
7
votes
2answers
98 views

Setting an “attribute” for Theorem to be accessed later

I am writing a math paper with a large number of theorems. I'm looking to have a table summarizing my results, and I'd love it if the table could be generated automatically from my paper. I' looking ...
5
votes
1answer
2k views

Theorem/Definition/Lemma/etc independent numbering in Lyx

I am using the Koma-script book class in Lyx. By default, theorems, definitions, lemmas, and so on, follow the same numbering. So after "Theorem 1" comes "Definition 2", then "Lemma 3", and so on, ...
7
votes
1answer
179 views

Extra spacing around restatable theorems

I'm learning how to use the thmtools package, and I came across a strange quirk. A minimal example is as follows: \documentclass{article} \usepackage{amsthm} \usepackage{thmtools} ...
3
votes
1answer
164 views

Theorem style 'bodyfont' not respected

The two theorem styles below which differ at bodyfont style, give the same font style. Can someone help on this? \documentclass[12pt,a4paper]{report} \usepackage{amsthm} \usepackage{thmtools} ...
3
votes
1answer
141 views

How to change numbering in remark?

I am writing a book on mathematics. I want to get the following text document : I have written the following code : \documentclass{book} \usepackage{amsthm} \theoremstyle{plain} ...
4
votes
1answer
2k views

Command \* already defined … see p.192 of the manual

My code had: \newtheorem*{theI}{Thesis I} And it gives me the error: Command \* already defined. Or name \end... illegal, see p.192 of the manual. 1.16 \newtheorem*{theI}{ ...
3
votes
1answer
151 views

How to Label a Heuristic Proof

I am using \newtheorem{thm}{Theorem}[section] and would like to my article to read Heuristic Proof instead of the standard Proof. I am showing Ito's but not in a rigorous way. Any ideas? ...
7
votes
1answer
177 views

How to remove space surrounding a colored theorem box?

This is a follow-up question of Combining spacebelow with shaded parameter in thmtools package. Bug?. How can I get rid of the space above the theorem box? If I comment out the mdframed=... line it ...
6
votes
1answer
170 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. ...
4
votes
1answer
101 views

Hyperref warning when using amsthm and enumerate

hyperref gives the warning that something has been referenced but it doesn't exist. When I use the enumerate (or an itemize) list, I get the warning. Here is the minimal working example (MWE): ...
14
votes
3answers
638 views

Cleveref and named theorems

Is it possible with Cleverref to reference not only the number of an environment but the "name" (the thing that is passed to it in square brackets? In the following example I want to replace the line ...
8
votes
3answers
296 views

How to draw a horizontal line at the end of proofs?

How can I draw a horizontal line at the end of proofs? I use \begin{proof}....\end{proof}. I use amsthm package without any modification.
1
vote
0answers
32 views

How do I get rid of the white background underneath my shadow? [duplicate]

I have selected a specific background for my beamer slides and I am using the theorem environment for my theorems. When I turn the shadows on for the blocks however, instead of giving me nice shadows ...
3
votes
1answer
142 views

Horizontal spaces to the left and right of theorems

How do I get horizontal spaces to the left and right of theorems? My initial idea was to do the following bad idea: \documentclass{article} \usepackage{lipsum}% http://ctan.org/pkg/lipsum ...
3
votes
1answer
408 views

Change theorem numbering from Roman to Arabic

I am trying to number my theorems according to section number. I use the following in the preamble, which works: \newtheorem{theorem}{Theorem}[section] However, since my section is numbered as ...
8
votes
1answer
330 views

Add vertical space before and after framed-theorem environments

I want my theorem-like environments to be framed, as it's an effective way of making them stand out from the main text. According to Gonzalo Medina's answer to the question box around theorem ...
6
votes
2answers
844 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: ...
2
votes
1answer
252 views

How to port this ntheorem solution to amsthm + thmtools?

Is it possible to reproduce this pleasant theorem environment using amsthm and thmtools?
2
votes
1answer
121 views

\newpage inside of \newtheorem

Ηow to enter \newpage in the environment so that each exercise is contained in its own page. \newtheorem{exercise}{ \color{magenta} \Large \bfseries }[chapter] Something seemingly simple but ...
3
votes
1answer
299 views

Proof titles with ntheorem

I am using the ntheorem package. I have a theorem in a document where the proof appears somewhat later. When I start the proof, I'd like to indicate what exactly I am proving. Currently the code I ...
4
votes
1answer
200 views

Problem with font in theorem environment

I use LuaLaTeX, fontspec and XITS maths font. Additionally, I had a problem with theorem environment and long headers so I based my solution on this. My problem is that I now get a different font for ...
2
votes
0answers
652 views

Using a congratulatory (end of proof) box properly in LyX [closed]

I know how to enter the end of proof boxes in LyX: \square, \blacksquare. However, I don't like where it ends up in the PDF. Here's an example I want it to mock the example below (cropped from ...
0
votes
0answers
40 views

ntheorem vs. amsthm [duplicate]

As far as i know, these are alternative packages for playing with theorem-like environments. What do you choose and why? What should be the de facto standard? Regarding the same topic, are you ...
1
vote
1answer
175 views

Numbering theorems as subsubsections

I am working on a large, multi-chapter document using the memoir class. I have sections, subsections, and subsubsections within each chapter, and within the subsubsections are theorems, lemmas, ...
3
votes
1answer
74 views

cleveref: \lcnamecref fails to work with theorem names that are not pre-defined

I'm using cleveref with the capitalise option, and I'd like to use the \lcnamecref command to give the name of one of my theorems in the text. But if this is not one of the theorem types pre-defined ...
2
votes
1answer
106 views

Combining spacebelow with shaded parameter in thmtools package. Bug?

In the following example the spacebelow parameter is ignored. If you comment out the shaded parameter, the space is considered. Is it possible to use both parameters spacebelow / shaded? ...
8
votes
2answers
181 views

How remove indention in theorem environment?

How is it possible to remove the indention at the beginning of the theorem text? \documentclass{article} \usepackage{amsthm} \usepackage{thmtools} \declaretheorem[thmbox=L]{boxtheorem L} ...
2
votes
1answer
306 views

How to change margin when using shadethm package?

I'm using the shadethm package in order to have gray background for theorems. However, the outcome is not satisfactory because the margin is too narrow: Can anyone show me how to change the margin ...
1
vote
1answer
489 views

the selected document class requires external files that are not available - LyX portable

I'm using LyX portable on windows, and I get this message the selected document class article(hebrew) requires external files that are not avialable. ... the following prerequisites are ...
7
votes
1answer
963 views

Is there a \renewtheorem equivalent of \renewcommand, using amsthm and not ntheorem?

Suppose I have a theorem that is defined a certain way, as follows. \newtheorem*{mytheorem}{Foo} And I want to redefine it another way further down in my document, as below. ...
4
votes
1answer
141 views

How can I define a new environment which limits the scope of \newtheorem commands?

I am attempting to make an environment out of the command given in one of the answers to this question: Customizing theorem name. \documentclass{article} \usepackage{amsmath} \usepackage{amsthm} ...
4
votes
1answer
168 views

How Do I Indent My Proofs in the Following Manner?

I'm interested in indenting my proofs so that they look like this. Please note that the alignment of the word "proof" with the word "theorem" is significant. However, Google does not appear to yield ...
1
vote
1answer
63 views

How to mark a theorem not under its section?

Take an example, if a theorem written in section 1, it will be marked Theorem 1.x . In spite of those, can it be marked Theorem 2.x without moved into section 2? It sounds a bit strange, but it is a ...
1
vote
1answer
322 views

Font sizes in new theorem style?

I would like to produce a new theorem style such that the text in the body is 10pt, instead of 11pt (size of the document). I tried adding 10pt for the body font, but does not compile: ...
2
votes
1answer
176 views

Is there a theorem style with slanted headfont?

I would like to create a theorem style with slanted text in heads. What's the way? I tried with the thmtools package by \declaretheoremstyle[headfont=\textsl]{slantedhead} ...
8
votes
2answers
455 views

References to named theorems

I would like to know how to give theorem type environments names and then how to later reference them using those names. I was able to use this thread to create named theorems. However, this seems ...