{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

5
votes
1answer
122 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
146 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
469 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
2k 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
2answers
2k views

How to get correct autoref for theorems

I have some own theorem environments. And my theorems are numbered like the chapter. Now I would like to use autoref with that. But it does not work like it is described here ...
5
votes
1answer
1k views

Best Practices for Using Enumerations Within Theorem Environments

Suppose one has a theorem/proof such as: \begin{theorem} The following are equivalent: \begin{enumerate} \item Statement 1 \item Statement 2 \item Statement 3 \end{enumerate} ...
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
209 views

Parts numbering in Proofs

I am using proof environment from amsthm to type proofs. Some proofs are long, so it would be nice to split them into numbered parts. I have defined new theorem environment called proofpart for that ...
5
votes
1answer
2k 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
224 views

subsection vs Theorem

This a typographical/style question. Inside a subsection (after just one paragraph) I have some theorems (amsmath environment). The word Theorem looks stronger (bold, starting with a capital letter) ...
5
votes
1answer
464 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
332 views

Plain enumeration of theorems definitions etc

In my TeX document Theorems, Definitions, Lemmas are enumerated in the following way: Definition 1.1 Lemma 1.1 Theorem 1.1 Definition 1.2 Lemma 1.2 Theorem 1.2 But I would like to have ...
5
votes
2answers
786 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
1answer
57 views

How to enable line breaking in the standard proof environment with amsmath?

I want to redefine the proof so it accepts linebreaks in the name \renewenvironment{proof}[1][\proofname]{\par \pushQED{\qed}% \normalfont \topsep6\p@\@plus6\p@\relax \trivlist ...
5
votes
2answers
103 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 ...
5
votes
1answer
1k 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, ...
5
votes
2answers
323 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
254 views

Indent text after line 1

How can I accomplish something like this: Basically, I want my text to be "indented" after the first line. It would be great if somebody knew an answer. Ideally I would like to do this, because I ...
5
votes
1answer
185 views

Non-italicized text in a \newfixedcaption

This is a very specific follow-up question to this answer given to this question. I want to insert a picture, and use overpic to label it, in between two paragraphs of text in a thm environment ...
5
votes
2answers
496 views

Theorem environment - centered line

\begin{theorem} Let apples be fruits and let tomatos be a veg. Then the following is true: \centerline{apples are veg} \end{theorem} I just read that one shouldn't use centerline because it's TeX ...
5
votes
1answer
2k views

How to change the way theorems are displayed with LyX?

The theorems are currently all displayed in bold, but I would like to display them in small-caps. My question is much like this one. However, I am using LyX with an AMS style document class, and was ...
5
votes
1answer
715 views

How to avoid double dot in Theorem Head Spec in case of theorem with no name?

I'm using the \newtheoremstyle{name} command to generate a specific theorem head spec in the form of: {\thmname{#1}\thmnumber{ #2}.\thmnote{ #3}} where #1 is Theorem, #2 is 'the theorem number', ...
5
votes
1answer
80 views

How to change theorem numbering style in one chapter only?

I want to change numbering theormn and lemma in one chapter in thesis without change other chapters. Namely numbering (theormn and lemma) in one chapter is different from another chapter. How to ...
5
votes
1answer
124 views

Can we remove the ( ) bracket from Theorem 1.2.1 ( [7])

Can we remove the ( ) bracket from the environment like Theorem 1.2.1 ( [7]).
5
votes
1answer
72 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 ...
5
votes
1answer
250 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 ...
5
votes
1answer
137 views

Using amsthm to number examples - how do I account for altered examples (i.e. 1', 1'', etc.)

I have sought long and hard for a solution to this and experimented with a combination of http://tex.stackexchange.com/a/43351 and http://tex.stackexchange.com/a/443, but could not get it to work. I ...
5
votes
1answer
157 views

thmtools - issue with head number style

I'm using thmtools to define a custom example environment. I'm styling the head as italic, but the number is not being styled correctly: it appears in normal mode instead of italic (the dot after the ...
5
votes
2answers
177 views

List of short problem names?

I typeset a book with problems and solutions. I need to get a list of short problem names. I expected there will be a way similar to pitcures: \caption[Figure name for List of Figures]{Caption name} ...
5
votes
1answer
81 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 ...
5
votes
1answer
80 views

How to put reflectbox in newtheorem correctly?

Firstly: sorry for my English, I hope, that you'll understand me. Secondly: I have to use \reflectbox in my newtheorem environment. Problem is, that when I put for example \reflectbox{D}, letter D is ...
5
votes
1answer
91 views

Using page counter in \newtheorem

I would like to use the page counter as a the first part of the label for definitions. I tried \newtheorem{definition}{Definition}[page] but that wouldn't work if the definition is at the top of a ...
5
votes
1answer
83 views

Modified Section Labeling with Theorem Environment

I am writing up solutions to qualifying exams at my school, and want to label the sections according to the corresponding solutions. The issue, is that each year there are two quals--one in January, ...
5
votes
1answer
95 views

Preferred way of creating problem and solution environments

I know we can create problem-solution pairs using the exercise package but I am looking for something that is much simpler and similar to theorem and proof environments. I have solved this problem in ...
5
votes
1answer
488 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] ...
5
votes
1answer
777 views

ntheorem and theoremname

I'm using ntheorem (mostly for thmmarks), and I'd like to change the font used for the theorem name. Specifically, I'd like \begin{theorem}[Name of theorem] to generate "Theorem 1 (Name of ...
5
votes
1answer
52 views

Custom theorem-style environment

I use LaTeX to typeset notes and case briefs for law school. So far I have settled for a theorem-style layout for each case using thmtools. Here is a minimal working example: ...
5
votes
1answer
359 views

Exporting Definitions

Below is part of the code for my notes. I would like to "easily" create a new document displaying only the definitions, theorems, and lemmas. I can copy and paste this and just delete what I do not ...
5
votes
1answer
471 views

Spacing (numwidth) control for listtheorems

I am using the \listtheorems command from ntheorem to generate a list of theorems for a document. However, because I number the theorems inside sections, the theorem number is a bit on the long side, ...
5
votes
1answer
314 views

thmtools: theorem VI.2.1* = dual of theorem VI.2.1

I'm writing out a collection of theorems and their proofs corresponding to several theorems that appear without proof (or with only minimal proof sketches) in a published book. I am using thmtools to ...
5
votes
1answer
183 views

Controlling numbering of theorems in Beamer

I have a theorem that is too long for one frame. As \allowframebreaks does not work within the \theorem environment, I am trying to find a workaround. I can simply end the theorem environment on one ...
5
votes
1answer
111 views

How to dynamically number theorems?

I am writing an introduction. I want to reference theorems and so on which come later. I want to do something like the following. \newtheorem*{thmcustom}[1]{Theorem #1} Then \begin{thmcustom}[3.2.1] ...
5
votes
3answers
2k views

Footnote doesn't appear when put into a “definition” environment

When I try to put a footnote into a definition environment (or theorem, etc.) it fails, whereas it works well in plain text... How can I fix it? (N.B. I use thmbox, I don't know if this have an ...
5
votes
2answers
113 views

thmbox splits theorems in two pages and the option “nocut” produces many empty spaces in pages.

this is a follow up to the problem described here. I have the same problem and the proposed solution does not completely solve the problem. I mean, it does solve the problem but also creates another ...
5
votes
0answers
46 views

Repeat a Theorem [duplicate]

For my thesis I have to repeat my theorems, not just the number but the exact wording of the Theorems. I found the question How to repeat the content of a quote (e.g. introduction+conclusion) without ...
4
votes
2answers
412 views

How to configure theorems depending on the document class?

I would like to have \newtheorem{teo}{Teorema}[chapter] if the book class is loaded but \newtheorem{teo}{Teorema}[section] if the article class is loaded. Can I do this with some sort of ...
4
votes
2answers
549 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 ...
4
votes
2answers
1k views

Avoid page break in theorem

I have a theorem which is half of it on another page, as I do for you automatically (without \newpage) get full theorem on the next page? \documentclass[a4paper]{book} \usepackage[utf8]{inputenc} ...
4
votes
2answers
801 views

How to make equations, figures and theorems use the same numbering scheme

It was asked a while ago how to make equation use the same counter as a theorem for example and one solution was to make the theorem counter use the equation instead by using ...