{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
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
93 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 ...
9
votes
3answers
356 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
40 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
60 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
110 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
114 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
243 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 ...
6
votes
3answers
204 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
112 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
100 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
71 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} ...
5
votes
1answer
94 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 ...
10
votes
1answer
161 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
0answers
143 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 ...
7
votes
1answer
319 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 ...
5
votes
1answer
211 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
181 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
128 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
109 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
187 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
113 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 ...
1
vote
1answer
380 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
86 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
365 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
288 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
264 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}
...
0
votes
0answers
27 views
List on theorem: unaligned [duplicate]
Possible Duplicate:
Enumerate alignment problem in theorem environment
I have a problem with theorems. If the theorem contains only a list (itemize or enumerate) the first element of the ...
3
votes
1answer
219 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
124 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
119 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 ...
10
votes
3answers
443 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 ...
10
votes
2answers
166 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
103 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
333 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
603 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
35 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}
...
5
votes
1answer
82 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 ...
11
votes
2answers
751 views
Difference between \begin{theorem}…\end{theorem} and {\theorem …}
I see that both attempts to display a theorem in the following code generates similar output.
\documentclass{article}
\usepackage{amsthm}
\newtheorem{theorem}{Theorem}
\begin{document}
...
7
votes
1answer
1k views
Usage of \hskip \labelsep while creating an environment with trivlist
I am trying to learn how to create a theorem like environment from http://www.maths.tcd.ie/~dwilkins/LaTeXPrimer/Theorems.html
To keep the code below simple, I am not really defining a new ...
3
votes
1answer
97 views
Numbering a reworded theorem
When using LaTeX for numbered theorems (or other numbered environments for that matter), if you have a theorem, and then you want to give a reformulation of the theorem, is there anyway to get LaTeX ...
1
vote
1answer
84 views
Bookmark level unknown for first usage of newtheorem
The MWE below produces the following message in the log:
Package hyperref Info: bookmark level for unknown thm defaults to 0 on input line 12
How can I prevent this?
\documentclass{article}
...
3
votes
1answer
179 views
proof environment in beamer
I would need to move the symbol for the end of proof - a square a little bit up but ONLY on one slide, where the proof is quite long and the square has not seen very much.
7
votes
1answer
275 views
How to change the end-proof symbol in Beamer?
I would like to change the symbol for the end of proofs (the square) used in Beamer. It is quite thin, not very visible in some colorthemes. How can I have a thicker border and still in the structure ...
4
votes
1answer
291 views
Remove vertical space around theorems
I'm very new to LaTeX (a couple of days ago I didn't know how to use \newtheorem) and was hoping someone could help me with the following problem.
If I'm using \usepackage{amsthm}, how do I obtain ...
1
vote
1answer
117 views
A flexible enumeration for my maths dissertation
So I'm currently writing my maths dissertation.
Say I am in "section 5" of the dissertation and am ordering lemmas, propositions, theorems and corollaries by 5.1, 5.2, 5.3,... etc. Is there a way to ...
4
votes
1answer
213 views
How can I create a customized environment?
I would like to write some theorems down like this:
\begin{theorem}
\begin{preconditions}
$A := \begin{pmatrix} 1 & 2 \\ 3 & 4 \end{pmatrix}$\\
$B := \begin{pmatrix} 2 ...
2
votes
1answer
120 views
How to avoid that the \newenvironment text is placed on one single page
I am using the \newenvironment command for the first time and well it's causing troubles.
I am using it for creating a new theorem environment
\documentclass{article}
\usepackage{amsmath, amssymb}
...
5
votes
3answers
719 views
A theoremstyle with complete indentation using amsthm
I want to define a theoremstyle using amsthm, such that the complete environments content produced by \newtheorem with this style are indented.
The following standalone example uses an adapted ...

