{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.
3
votes
1answer
283 views
Extra space before labeled theorem body with thmbox or thmtools+thmbox
Package thmbox seems to add an extra space at the beginning of the body of the labeled theorems. See example below. Package thmtools with the thmbox option does the same. Latex original, package ...
1
vote
1answer
492 views
Unnumbered theorem-like environments using thmtools
This produces an error (\* already defined):
\documentclass{report}
\usepackage{thmtools}
\declaretheorem[numbered=no]{theorem}
\begin{document}
Nothing.
\end{document}
Adding package amsthm ...
1
vote
1answer
173 views
Theorem-like environments in Latexit?
I want to use Theorem-like environments in Latexit.
How can I do this?
2
votes
1answer
225 views
Nested custom theorems using amsthm
I am having trouble nesting custom theorem environments in such a way that the inner environment does not inherit the characteristics (e.g. HEADFONT, etc.) of the outer environment.
Possibly the ...
2
votes
2answers
311 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 ...
3
votes
1answer
1k views
Shortcuts for Lemma, Claim, Theorem etc
I'm using Lyx 2.0.2
I would like to define keyboard shortcuts for creating mathematical sections such as Theorem,
Lemma etc.
I'm pretty sure those do not exist ...
7
votes
1answer
576 views
How to number subtheorems hierarchically?
Problem in a nutshell: I'd like to number theorems that are embedded within other theorems' proofs with numbers that indicate the parent-child relationship between the two theorems.
Problem in ...
2
votes
2answers
999 views
Beamer poster theorem style without boxes
I'm making a poster using beamer and when I use \begin{theorem} and \begin{proof} it makes the theorems and proofs in a box just like a block title would be.
I understand this is the default setting ...
3
votes
1answer
123 views
How do I determine the name of the counter associated with a theorem-like environment
(A question related to this one and leading up to this one.)
Suppose I'm using ntheorem. I would like to have a command which determines the name (not the value) of the counter associated with a ...
3
votes
2answers
185 views
How to use an environment whose name comes from a reference?
Suppose somewhere in my long Ph.D. thesis I use a theorem-like environment (maybe it's a theorem, maybe it's a lemma, etc.), and label it. At another place I want to have an environment which is the ...
7
votes
1answer
546 views
\textbf inside a lemma
I have defined lemma and use it as follows:
\newtheorem{theorem}{Theorem}[section]
\newtheorem{lemma}[theorem]{Lemma}
...
\begin{lemma}
abc_\textbf{indice}
\end{lemma}
It turns out that the indice ...
3
votes
1answer
584 views
Easy-to-use reference-able environment for restating theorem-like environments?
This question is a development of the same issue as this one; following my own answer and later comment there, I decided it deserves a spin-off.
I would like to define an environment for restating ...
2
votes
1answer
327 views
mdframed theorems within beamerarticle script
I need to use framed theorem environments the way they are made in Make an Example and shaded box like in the book.
The realization with \usepackage[framemethod=TikZ]{mdframed} is working fine.
But ...
4
votes
1answer
168 views
How to typeset definitions with several paragraphs in the KOMA classes
The KOMA classes do not use vertical inter-paragraph spacing with some good arguments (see page 50 of the scrguide).
I defined an environment for definitions with the amsthm package using their ...
5
votes
1answer
126 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 ...
6
votes
1answer
225 views
Typeset Theorems in Upright Fonts for Beamer
I want to typeset my theorems within my presentation in upright fonts. The only way I know is by doing this:
\begin{theorem}
\textup{Upright Theorem}
\end{theorem}
When I use article document ...
7
votes
2answers
3k views
How to rename theorem (or lemma) in Beamer to another language?
I'm Malay user. I want to rename the theorem tag in Beamer. Does anyone know how to do it? When the document class is article or book, I can simply modify the preamble as follows:
...
10
votes
3answers
5k views
Non italic text in theorems, definitions, examples
What package should I use, or what setting can I make to the font in theorems so that the text wouldn't be italic. I use amsmath, and from default, everything I write in theorem environments becomes ...
1
vote
1answer
193 views
RTL theorems with ntheorem and xetex have separator in wrong place
(This is a split-off from another RTL ntheorem issue.)
When you have a theorem in RTL language text (e.g. Hebrew), using XeTeX+polyglossia(+bidi)+ntheorem, the theorem separator comes out before, ...
1
vote
1answer
196 views
\theoremindent adds space to left side when used with RTL languages
Trying to use ntheorem's \theoremindent seems to indent the left side rather than the right side when used with polyglossia and right-to-left languages:
\documentclass{article}
\usepackage{ntheorem}
...
3
votes
2answers
2k views
Theorem environment - line break after label [duplicate]
Possible Duplicate:
ntheorem environment with indentation
Skipping line after “Proof” in proof environment
\begin{theorem}[label]
The theorem text.
\end{theorem}
I want to ...
5
votes
2answers
282 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 ...
3
votes
3answers
1k views
\normalfont in new theorem-like environment
How can I get universal in my new environment normalfont instead of italic (default)?
I thought it was something simple like
\newtheorem{exercise}{ \normalfont}[chapter] `
but doesn't work. I could ...
3
votes
2answers
1k views
Spacing before and after with \newtheoremstyle
I want to define my own theorem style for examples. I want them to be numbered the same way as theorems (so Example 2.4 follows Theorem 2.3); I want them to be formatted exactly the same as theorems ...
4
votes
1answer
219 views
Subsections for theorems
\documentclass[14pt]{article}
\usepackage{amsmath,amsfonts,amssymb,amsthm}
\newtheorem{thm}{Theorem}[section]
\newtheorem{defn}[thm]{Definition}
\newtheorem{cor}[thm]{Corollary}
...
9
votes
1answer
2k views
How can one cite theorems of references?
I would like to cite the item (iii) of proposition 3 of a reference. How can I do it? Which ways do you suggest?
This is a question not only about LaTeX, but also about style.
One option I have seen ...
7
votes
2answers
1k views
Skipping line after “Proof” in proof environment
Like the OP in Is it possible to skip the first line in a theorem environment?, I would like to be able to skip a line after the word "Proof" so that the first line of the proof is actually part of ...
10
votes
1answer
1k views
Including end mark in definitions and examples (using amsthm)
I am using the amsthm package, and I have this in the preamble:
\theoremstyle{definition}
\newtheorem{definition}{Definition}[chapter]
\newtheorem{example}[definition]{Example}
\theoremstyle{plain}
...
4
votes
1answer
609 views
Newtheoremstyle: start counting at 0
I defined a \newtheoremstyle and I want it to start counting at 0 instead of 1. How do I do that?
9
votes
2answers
316 views
How to add theorem number by the \qed mark at the end of proof environment
I use amsthm. All theorem-like environments use a common counter.
As I have some very long proofs I want to add the theorem number to which the proof refers at the end of proof just next to the ...
9
votes
3answers
3k views
box around theorem statement
Is there an easy way to put a box around a theorem in LaTeX? For example to state an important theorem.
I tried using page 20 of the ntheorem documentation ...
4
votes
1answer
225 views
ntheorem style change for heading
Im using the packages ntheorem and framed to create boxes like 1. Does anyone know how to change the heading to the following order:
name. counter: parameter
For example: Erg. 2: Erwerbshierarchie ...
4
votes
1answer
513 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}
...
8
votes
1answer
763 views
Fancy Theorem Environment and Colors
I'm trying to make a boxed theorem environment with colors.
I thought I had done it, but I was mistaken--lists were the wrong colors.
In the picture above, I would like the "list" to be the same ...
11
votes
1answer
221 views
Is there an “endproof” package?
You may be familiar with the endfloat package, which moves all figures and tables to the end of your document.
Is there a similar package for achieving that kind of results with proof environments ...
8
votes
1answer
312 views
Margins for proof environment
The code below is (almost) the proof environment of amsthm:
\newenvironment{proof}[1][\proofname]%
{%
\par\pushQED{\qed}\normalfont\topsep6\p@\@plus6\p@\relax%
...
4
votes
2answers
344 views
ntheorem environment with indentation
Considering this post theorem environment with hanging indentation and Stefan's answer,
I'd be interested in the same approach with ntheorem. I've been through the .sty file but I have hard time ...
6
votes
1answer
266 views
Bug in the mdframed package (workaround?)
I've discovered what appears to be a bug in the mdframed package. My goal was to use a package which allows me to create shaded theorem environments which span multiple pages (thmtools does not allow ...
5
votes
1answer
597 views
Shaded theorems (thmtools) spanning pages
When the thmtools package is used to create theorem environments with a shaded background, it does not allow separate theorems to span more than one page. This is a rather severe problem if the ...
7
votes
5answers
5k views
\qed for theorems without proofs
It is common to place a \qed-Box at the end of a theorem statement (or lemma, corollary, ...) if we give no proof for that statement.
How can I do this in LaTeX? If I place a qed-box at the end of ...
5
votes
2answers
810 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 ...
21
votes
1answer
958 views
How to place all proofs automatically in appendix?
Can I place all proofs to theorems in appendix automatically? Usually proofs are written in the LaTeX codes immediately after the theorems. Without physically moving proofs to appendix, how can I ...
11
votes
1answer
459 views
How to cross-reference theorems with “Theorem”?
I use
\begin{lemma} \label{aaa} ... \end{lemma}
\begin{theorem} \label{bbb} ... \end{theorem}
and many other similar kinds in the same document.
When I cross-reference those lemmas and theorems ...
4
votes
1answer
883 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
...
11
votes
3answers
752 views
tombstones and beer mugs
I'm trying to find an alternative to the standard tombstone qed symbol for more informal papers.
I initially thought of an empty square with Pub written inside, but what would actually be better would ...
10
votes
6answers
2k views
How to remove the “.” in the proof environment?
Using amsthm, is there a possibility to remove the dot when typing
\begin{proof}...\end{proof}? This would be typeset as "Proof." If you change your proofname \begin{proof}[Proof:]...\end{proof} you ...
4
votes
2answers
302 views
Numbering theorems within the innermost sectioning environment present at that point in the document?
Here is what I am trying to achieve:
Chapter 1.
...
Theorem 1.1.
...
Section 1.1.
...
Theorem 1.1.1.
...
Subsection 1.1.1.
...
Theorem 1.1.1.1.
Is this even possible? If so, how?
...
1
vote
1answer
253 views
Equation-reference with cleveref
I am using cleveref, which seems to be working fine, except for my equation references, which are referenced as ??.
My equation is:
\begin{equation}\label{ex2eqn}
Y_{t} = \epsilon_t + 1.8Y_{t-1} + ...
1
vote
1answer
248 views
Enumerated examples
I'm trying to create an example environment, so I've done the very simple
\newtheorem{example}{Example}[section]
which I can then use as
\begin{example}
Example 1
\end{example}
What I would ...
2
votes
1answer
261 views
Theorems in a book
I would like to write a theorem in the format of a book. So I write
\documentclass[12pt]{book}
but after that I write
\begin{theom}
and it does not compile. Can someone please help me write a ...