{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

4
votes
1answer
194 views

How do I select font for an environment?

I use \usepackage{fouriernc}. Now, I want to select the font chancery for theorem environment. How can I choose the font for an environment, for example, theorem environment? \documentclass{book} ...
8
votes
2answers
266 views

wrong page with pageref if using thmtools

I don't know if the following issue is related to any other question already asked. My issue and minimal looks very simple. \documentclass{book} \usepackage{hyperref} \usepackage{amsthm} ...
4
votes
1answer
367 views

Is there any way to remove the “Theorem” in theorem block titles?

I'm writing a beamer presentation and using the theorem environment in the standard manner: \begin{theorem}[Subject] this is text \end{theorem} Which creates the textbox with the proper look but my ...
3
votes
1answer
197 views

\listoftheorems not appearing on pdfbookmark

I'm using thmtools \listoftheorems to generate a list of the theorems that I use in my thesis. So far so good, I've been able to put the list in my table of contents. However, there is no entry for ...
1
vote
1answer
170 views

LyX forbids horizontal centering of tables inside a theorem environment!

How can I center a table in a, say, theorem environment in LyX ? When I have a centered table in the standart LR-mode writing mode everythings ok. But when I select the whole table and try to turn it ...
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 ...
9
votes
2answers
2k views

Remove the qed symbol of only a proof environment, not everyone else

I have seen several posts on how to remove the qed symbol in a proof, but that affects all proof environments. I would like to know how to remove the qed symbol in a particular proof because I have a ...
3
votes
1answer
172 views

Citations never italicized

I have some citations which appear inside a theorem like \begin{thm}[The Strong Perfect Graph Theorem]\cite[Theorem 8.3]{Cha-Les-Zha11} A graph $G$ is perfect if and only if neither $G$ nor ...
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} ...
3
votes
1answer
422 views

Control space between paragraph and example environment - amsthm package

Which parameter sets the spacing before and after of the example environment from amsthm library? MWE: \documentclass{article} \usepackage{lipsum} \usepackage{amsthm} ...
10
votes
1answer
2k views

Start theorem counter from specific number

I have defined a new theorem and I would like it to start from a specific number(let's say 3). At first I thought of using \addtocounter{\theexe}{3}(where exe is the new theorem) but I get an error ...
3
votes
1answer
79 views

Check if macro argument has specific prefix

I'm writing a math paper, and I've got macros which take labels of theorems, corollaries, etc. as arguments. I'm wondering, is there a way to check if the label starts with a particular prefix? That ...
5
votes
2answers
179 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} ...
4
votes
1answer
949 views

Conflict between ntheorem and amsthm

I am using etoolbox and ntheorem packages to have a custom numbering of theorems and equations. Everything works but these side errors occur: \qedhere command is unknown (EDIT: following some ...
3
votes
2answers
126 views

Box in a theorem environment

I am solving some exercises for my master program. I am including question and answer in a theorem environment. I would also like to have the question inside a gray box. The thing is that the gray box ...
6
votes
1answer
135 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 ...
9
votes
3answers
1k views

Proof environment - line break after the “Proof.”

I want to make the proof environment in amsthm package to auto add a line break right after the "Proof." I tried the following code, which also removed the QED sign, but it doesn't work: No linebreak ...
0
votes
0answers
42 views

Math mode in theoremstyle head spec [duplicate]

Possible Duplicate: \overline outside of math mode I have three major elements in my LaTeX document; the first one is a new command \theoremhead[1]{\underline{\overline{#1}}} The second ...
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, ...
8
votes
1answer
167 views

How can I make a custom theorem for a definition?

Looking at the wikibooks article on theorems has me wondering... I'd like to do something, if possible, similar to the default "proof" theorem style, whereby I can add a custom name to each theorem as ...
4
votes
1answer
209 views

beamer: Different numbering for Theorems, Examples, Definition, and Lemma

I want to have different numbering for Theorems, Examples, Definition, and Lemma. I use the following code in preamble \setbeamertemplate{theorem}[ams style] \setbeamertemplate{theorems}[numbered] ...
1
vote
1answer
511 views

How can I number theorems by section in LyX?

The theorem count doesn't update when I move to another section. I.e. I'm currently in section 6, and LyX has already in theorem 30, when theorem 1 is in section 1. How can I make LyX start counting ...
7
votes
3answers
450 views

Hyperref and theoremref conflict?

I initially thought that this problem was with Unicode characters, but reducing the file led to the MWE below which has none, so it seems that theoremref and hyperref don't like each other. Consider: ...
4
votes
1answer
186 views

Double vertical bars alongside statements of theorems

Prof. Hatcher describes a way to produce them in TeX here: http://www.math.cornell.edu/~hatcher/AT/typography.html I would like to know if any of you guys knows of a way to generate them in LaTeX. ...
4
votes
1answer
183 views

How to change the font shape in the body of theorem environments?

\documentclass{article} \usepackage{amsmath,amssymb} \newtheorem{defn}{Definition} \newtheorem{pro}{Problem} \newtheorem{thm}{Theorem} \begin{document} \begin{defn} This is the first definition ...
1
vote
1answer
138 views

Vertical Spacing inside theorem enviroment

I am using theorem enviroment to seperate different exercises assigned as homework. So my plan is to write exe's description, move a few lines below and then give my solution. I am using \vspace{3cm} ...
6
votes
1answer
204 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 ...
11
votes
1answer
283 views

beamer: \nameref calls the name of the section instead of the name of the theorem environment

In my LaTeX documents, I am playing with a lot of axioms which I write under a theorem environment, while using the following math packages: \usepackage{amsmath} \usepackage{amsfonts} ...
2
votes
2answers
287 views

misplaced qed symbol after displaymath inside item of inline list

My problem involes a qed symbol which appears too early. My observations are that it happens after a displaymath inside an item of an unboxed inline list. All of this seems to be necessary to produce ...
8
votes
1answer
989 views

How to add different Q.E.D. symbols to different theorems?

I have a series of theorem styles, two of them look like this: \theoremstyle{definition} \newtheorem{define}{Definition} \theoremstyle{plain} \newtheorem{theorem}{Theorem} I want to add a ...
6
votes
1answer
446 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
449 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. ...
8
votes
1answer
166 views

How do I adjust the placement of descriptions I've made alongside enumerated statements within a boxed theorem environment?

Basically, what I'd like is to have an elegant command that would enable descriptions (commutativity, associativity, etc.) made alongside enumerated statements to be aligned to the far right side of ...
1
vote
1answer
156 views

How to put white space under header in theorem environment

Ok, I am pretty new with latex so maybe this is a basic question. I am writing in theorem environment and I want to produce only white space under my theorem header, with the text continuing right ...
1
vote
1answer
564 views

How to remove line breaks before and after theorems?

By default, in the amsthm package, when you begin a theorem, LaTeX begins on a new line, and when you end the theorem, it also jumps to a new line. How can you prevent this behavior? For example, I ...
6
votes
1answer
160 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 ...
2
votes
1answer
983 views

redefine theorem environment with beamer

beamer seems to define theorem-environments such as definition, but i want to be able to define them myself. In particular I want to use thmtools. \documentclass{beamer} \usetheme{Singapore} ...
2
votes
1answer
113 views

Theorem Spacing in Lists

I was wondering how I can change the spacing in my lists when I start my list off with a theorem environment. An example of this is that I have my list using the enumitem package with my code: ...
10
votes
1answer
645 views

Move QED symbol to the left, i.e. at the end of the sentence

I want to make the qed symbol at the end of a proof appear at the end of the last sentence, not at the far right of the same line. Would like to do this the simplest way possible. All I can find ...
3
votes
1answer
1k views

How to number propositions by part in beamer?

My presentation has three parts about three different papers. I would like to number the theorems and propositions within each part (paper).
5
votes
3answers
655 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} ...
3
votes
1answer
316 views

Should theorems, propositions, conjectures, etc. share a common counter?

Should theorems, proposition, conjectures, etc. share a common counter? For example, is the following good, for a theorem and a proposition to share the same number? Theorem 1. ... Proposition 1. ...
4
votes
1answer
391 views

wrapfigure in theorem-like environment

The following code does not create a wrapfigure within the thm environment. Is that because the latter is a list? \documentclass{book} \usepackage{amsthm} \usepackage{wrapfig} \theoremstyle{plain} ...
3
votes
1answer
182 views

A numbered list with arbitrary order of items

Inside a theorem environment I have a numbered list of theorem statements. Afterward it goes a proof. In the proof I prove every of the above specified numbered statements. But the order in the ...
12
votes
3answers
2k views

Enumerate alignment problem in theorem environment

I'm using amsart. When I create an enumeration inside a theorem environment, the numbering is not aligned properly: Theorem 14. (1) (2) (3) (4) How do I shift the (2),(3),... to be aligned with ...
12
votes
2answers
314 views

How to create *local* labels/refs in LaTeX?

Concise question: Is there any way to limit the scope in which a \label is visible to a \ref? Motivation: My current goal is to create a rather large document, containing many exercises and their ...
2
votes
1answer
176 views

ntheorem thref not working in section titles

When I try to refer to a theorem in a section title with thref, I get the error message at the end of this question. Is there a way to fix this? Latex Error: ./seppathq.tex:57 Argument of ...
13
votes
2answers
435 views

Breaking a theorem between pages

I currently have this custom myexample theorem environment that is working absolutely great. \newtheoremstyle{myexamplestyle}{}{}{}{}{\bfseries}{.}{ }{} ...
8
votes
1answer
2k views

Redefine block template for Beamer theorem-like environment

I would like to redefine the block templates for Beamer's theorem-like environments. For example, the example environment creates an exampleblock. I would like to make the definition environment do ...
0
votes
0answers
37 views

Theorem numbering error [duplicate]

Possible Duplicate: Resetting theorem counters: \sections and (missing) \subsections I have the following in the preamble: \documentclass{article} \usepackage[T1]{fontenc} ...