{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.
8
votes
2answers
113 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 ...
5
votes
1answer
57 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 ...
4
votes
1answer
63 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 ...
6
votes
1answer
86 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 ...
2
votes
1answer
85 views
Creating a particular environment with a left-side rule
I don't have much experience in creating environments, and my understanding of them allows me to create environments which do something at the beginning and at the end (like for instance, in a "proof" ...
6
votes
1answer
67 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>
...
3
votes
1answer
117 views
Examples enumerated in the margins
I am writing a paper about phonetics that contains lots of examples, usually organised in tables. What I would like is to have these examples enumerated in the margins. Specifically, I need an ...
2
votes
2answers
75 views
enumitem: enumerate in a theorem environment
I use the enumitem package:
\usepackage[shortlabels]{enumitem}
And I put some numeration like this in a theorem environment with \theoremstyle{plain}:
\begin{prop}
We have
...
5
votes
1answer
67 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} ...
2
votes
1answer
72 views
Why aren't qtrees aligned horizontally if they are at the end of a theorem with qed symbol enabled?
\documentclass{article}
\usepackage{amsmath}
\usepackage{amsthm}
\usepackage{thmtools}
\usepackage{qtree}
\declaretheorem[name=Example,qed=\ensuremath{\triangleleft}]{example}
...
3
votes
1answer
71 views
The statement of a theorem appearing on a new line
I'm using the amsthm package. The statement of the theorem currently appears immediately after the words "Theorem X." I'd like the statement of the theorem to appear on a new line. Is this possible?
4
votes
2answers
106 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 ...
3
votes
1answer
92 views
How to put a \clubsuit at the end of an example
I was wondering if there was an easy set of code that allows the standard \begin{example} \end{example} environment in amsthm to have the extra feature that it right-aligns a \clubsuit at the end of ...
5
votes
1answer
135 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 ...
7
votes
2answers
106 views
How to specify RULES in main body
I want to write RULES in main body, how to write the correct TeX code that guarantees a little larger space before and after RULES like this.
2
votes
1answer
73 views
Automatically add theorems to index and label them
In another question (Remove math from command parameter to get only the letters) this command was elaborated to have an optional argument for sorting purposes within the index
\documentclass{article}
...
4
votes
1answer
80 views
Making a list of hypothesis and references to the hypothesis
I have some problems with making a list of hypothesis and references to my hypothesis.
\documentclass[12pt, a4paper, makeidx]{memoir}
\usepackage{ntheorem}
% *************** hyperlinks in PDF ...
4
votes
2answers
104 views
My custom theorem/proof environments aren't playing well together
As can be shown in the following MWE, when I have a theorem environment followed by a proof environment, the proof isn't going into the next line; it's rendering right on top of the text I have for ...
5
votes
2answers
311 views
Solid black box in the proof environment
I am using
\documentclass[12pt]{article}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{amsthm}
\begin{document}
\begin{proof}
A = B
\end{proof}
\end{document}
and an empty square box ...
6
votes
1answer
134 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]
...
4
votes
0answers
104 views
Customising theorem style
I wish to customise my theorem style to something like the one shown, but I couldn,t figure a universal definition of parameters. Some suggestions?
The code:
\documentclass{article}
...
0
votes
0answers
110 views
List of Hypotheses [closed]
I have some problems with getting a list of Hypotheses.
I have tried to implement the solution suggested in the post “Custom list of hypotheses in table of contents format”.
When I run the example ...
1
vote
1answer
123 views
Problem using enumerate environment in a proof newenvironment definition
I want to define a simple environment to enclose my proofs, actually I just wanted to put a little square right at the end. So, I made this new environment definition:
\newenvironment{Proof}{ ...
2
votes
0answers
121 views
Breaking a proof between frames [closed]
I have the same question in here
Proofs in Beamer
In the answer, the author used beamertemplate to examine breaking the frames. But how can i change it to my paragraph?
For example, i need to ...
1
vote
1answer
59 views
lineno not showing line numbers on proofs using the llncs class
Line numbers are not properly rendered on the last paragraph of a proof when using the lecture notes in computer science class llncs.
Here's a minimal working example.
\documentclass[oribibl]{llncs}
...
3
votes
1answer
84 views
Can't use theorems in lyx (mac)
I want to switch to lyx, but I'm having a hard time trying to use environments. I red that they are supposed to be as a class in the drop down list at the top left (If I'm nor wrong, together with ...
3
votes
1answer
174 views
Proof environment: problem with \popQED and \pushQED{\qed}
I was trying to replace . with : in the proof environment and after trying a lot of answered questions here, I got [I'm using amsmath]
\makeatletter
\renewenvironment{proof}[1][\proofname]{\par
...
5
votes
1answer
61 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 ...
2
votes
1answer
193 views
Numbering a “new theorem”
I have a (simple?) question. I use the ams theorem environment for most of my theorems, but I want to box my definitions and find here a nice way to do it, simpler for me than mdframed. My problem is ...
2
votes
1answer
83 views
Line break after header of theorem environment followed by multicols body causes header-body overlap
I use TeXLive 2011.
I use ntheorem and multicol.
In a theorem environment, I want the theorem header to be separated from the body by a line break such that the multicols-environment get's that and ...
5
votes
1answer
88 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 ...
1
vote
1answer
37 views
How to input an endmark in an environment different from the proof environment?
I want to put an endmark in the solution environment, I tried
\documentclass{article}
\usepackage{amsthm}
\usepackage{amssymb,amsmath}
\newtheorem{mytheorem}{Theorem}[section]
...
0
votes
0answers
59 views
extern lemma declaration
Is it possible to something like this:
\begin{theorm}
foo equal bar
\end{theorem}
\begin{proof}
\extern{lemma-fu}
With this, we will do … % A lot of text
\end{proof}
\begin{lemma}
...
3
votes
1answer
139 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}
...
7
votes
2answers
105 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}
...
3
votes
1answer
141 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 ...
4
votes
1answer
83 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
100 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
69 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
388 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
70 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
103 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
196 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}
...
6
votes
1answer
173 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
64 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
115 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
227 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
76 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 ...
0
votes
0answers
141 views
line spacing of Proof [closed]
I'm using the \linespread{1.8} for line spacing of my document in class offered by my university. Also, I'm using the \begin{proof} of the amsthm package. However, this \linespread{1.8} command is not ...
6
votes
1answer
92 views
Different numbering scheme per chapter
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 ...

