A package that facilitates the kind of theorem setup typically needed in American Mathematical Society publications. The package offers the theorem setup of the AMS document classes (amsart, amsbook, etc.) encapsulated in LaTeX package form so that it can be used with other document classes.

learn more… | top users | synonyms

10
votes
3answers
2k 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 ...
2
votes
1answer
1k 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} ...
10
votes
1answer
703 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 ...
5
votes
1answer
286 views

Combined use of [fleqn] and \qedhere

It seems there is an issue within the ams packages, which results in an incompatibility between the fleqn option, and the \qedhere command. If those are used together, the qed symbol is flushed to ...
9
votes
2answers
155 views

Continuance of environment

I am using an continuous example in my text, but I don't know how to do define the corresponding nice environment. I am using the amsmath and ntheorem package and defined my own example-environment: ...
4
votes
1answer
1k 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 ...
7
votes
3answers
2k 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 ...
5
votes
2answers
253 views

Can't get babel and amsthm to play nice once Hebrew is loaded

I am working in LaTeX, and I am trying to get babel and amsthm to play nice together. I produced a minimal example (which gives a different error than the full project, but getting this to work could ...
3
votes
1answer
385 views

Theorem style with name as argument

Is there some way to get a theorem type which will make a theorem with the name passed as a parameter? In other words, is there a way to define "named" such that \begin{named}[NAME] text \end{named} ...
3
votes
2answers
243 views

How to change the numbering style of theorems based on the section number using amsthm?

I am using amsthm for theorems, propositions, and so on. But I altered the section numbering style so that it's '§1 First Section', hence my theorems are numbered (since I base them on sections) ...
5
votes
2answers
232 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) ...
7
votes
1answer
675 views

Custom proof environment

How to define another proof environment, say, for the "Proof of lemma"? Also, how to make it without the qed box? (I need one with qed box, and another one without qed box.) I'm using amsbook ...
10
votes
1answer
2k views

How to change the word “Proof” in the proof environment?

I want to change the word "Proof" into "Solution". Of course the following works. \begin{proof}[Solution] \end{proof} But it's quite cumbersome to add this additional [Solution] every time. Is ...
2
votes
1answer
785 views

amsthm's \qedhere in a proof ending in a displayed cases array

Is there a sensible way to get the QED box produced by \qedhere aligned with the last line of the cases environment in a situation as in the examples below? \documentclass{article} ...
3
votes
2answers
605 views

AMS theorems in table of contents

I am using the amsthm package. I defined some enviroments like \theoremstyle{plain} \newtheorem{theo}[subsection]{Theorem} \newtheorem{satz}[subsection]{Satz} the numbering works as expectect, ...
3
votes
2answers
931 views

Space before proof

I am trying to make LaTeX put no additional space between theorem and proof. Here is my code: \newtheorem*{pr3}{Theorem} \begin{pr3} foo \end{pr3} ...
6
votes
1answer
538 views

amsthm: Theorems, Lemmas numbered backwards

What I want \newtheorem{thm}{Theorem} \begin{thm} A \end{thm} \begin{thm} B \end{thm} \begin{thm} C \end{thm} Ends up generating Theorem 1 A. Theorem 2 B. Theorem 3 C. What I want instead: ...
10
votes
1answer
1k views

Change only the ending with renewenvironment

I have a theorem environment I've made called "ex" (using the theoremstyle "definition"), which I use for examples in a book document class. I like that I can number the examples, but I want a proof ...
4
votes
1answer
477 views

Horizontal spacing issue in \listoftheorems using amsthm + thmtools

I am using the command \listoftheorems with packages amsthm and thmtools. The problem is that the theorem's head and its optional title overlap. How can I make this space bigger to avoid overlapping? ...
6
votes
3answers
969 views

How to remove brackets from the optional title in amsthm?

This is a follow-up question of this question. when using \begin{theorem}[Open mapping]...\end{theorem}, I received Is it possible to change the format into "Theorem: Open Mapping."(boldface)? ...
4
votes
1answer
1k views

Changing `proof` endmark when using `ntheorem` with `thmmarks` and `amsthm` options

Q: Is there an easy way to change the default proof environment endmark (it's normally a funny open square and I'd like to change it to \blacksquare) when using the ntheorem package with the amsthm ...
8
votes
2answers
1k views

QED symbol on the same page as proof

I'm using the proof environment from the amsthm package. In some cases, the last line of a proof falls at the end of a page, but the QED symbol (the little white box) ends up on the following page. ...
9
votes
2answers
5k views

amsthm: \newtheoremstyle, headspace, \mbox{}, and lists

Q: How do I define a newtheoremstyle which will start the theorem text on a newline after the header even when the theorem text starts with a list, e.g., enumerate? If there's no way of doing this, ...
6
votes
2answers
933 views

Creating list of for \newtheoremstyle

I want to create an list of theorems much like the list of figures, but couldn't find a packacke or tutorial to solve my problem. I tried this http://texblog.org/2008/07/13/define-your-own-list-of/ ...
6
votes
1answer
678 views

How can I eliminate the vertical extra space before and after the proof-environment?

consider the following code: \documentclass{scrartcl} \usepackage[ngerman]{babel} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{graphicx} \usepackage{amsmath} \usepackage{amsthm} ...
2
votes
2answers
793 views

Theorem formatting: strange interaction with itemize

This question is related to this one. I want to have theorem headers alone on a line like this: Theorem 1. some text... In the amsthm documentation, they suggest doing this: ...
5
votes
2answers
1k views

`ntheorem` and `thmtools` seem incompatible

I am preparing the setup of the theorem environments for my thesis. I want to do this right before I have say 200 of those environments in my document, since changing them will likely break things at ...
2
votes
3answers
648 views

Vertically Aligning Multiple Symbols in Each Row

In the following MWE, I want the \implies symbols to be aligned, and both \leq symbols on each row to be aligned (adding space between everything as necessary). How can I add & symbols in the ...
11
votes
2answers
248 views

Counting the total number of theorems

I have: \usepackage{amsthm} \newtheorem{problem}{Problem} .... \begin{problem}...\end{problem}... ... \begin{problem}...\end{problem}... In the first page of the document, how can I know the number ...
8
votes
1answer
518 views

Alternative Enumeration Environment

I have a theorem which lists a bunch of properties, and then I prove them one-by-one. Because the proofs are long, it looks awkward when every line is automatically indented by the enumerate ...
3
votes
1answer
378 views

Mimicking the `proof` environment

I want to mimic the proof environment from the amsthm package. I want something that has the same layout (margins, etc.) as the proof environment, but with the following changes: 1) Instead of ...
3
votes
1answer
307 views

Reindexing Theorem Numbers

The amsthm package comes with an several theorem-like environments. Is there a way to adjust the indexing on a sequence of theorems to skip a number? That is, I would like to have it do something like ...
7
votes
1answer
596 views

hide proof environment for restructuring

I am writing my thesis, and i am in restructuring phase - sorting theorems where they should belong thematically. And it would be helpful to have all the proofs hidden so i am not laden with the ...
8
votes
2answers
477 views

How to replace the “.” with “:” in the proof environment?

I have seen a similar post here How to remove the "." in the proof environment?. But I don't know how I can modify the answer to replace . with : by using etoolbox.
20
votes
4answers
3k views

How to make the optional title of a theorem bold with amsthm?

I use the code mentioned in Title of the theorem: \begin{theorem}[The title] Some statement \end{theorem} However with amsthm the optional title -- above: "The title" -- is neither bold nor italic, ...
3
votes
1answer
514 views

Numbering for a theorem and enumerated list within that theorem

I have the following amsthm environment defined \newtheorem{cslist}{Comparative Static Hypothesis} In instances of cslist, I would like to have an enumerated list like this. ...
2
votes
1answer
321 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 ...
5
votes
3answers
1k views

Defining rules for line breaks in \newcommand

Thanks to the help of this answer, I've defined a command for creating a blank line: \newcommand{\blank}[1]{\rule{#1}{0.4pt}} However, because this is a user-defined command, LaTeX doesn't seem to ...
2
votes
1answer
226 views

Using docmute to import separate document as part of proof?

I have a theorem with a long proof. The proof is so long that it's formed from several separate LaTeX files, each of which I need to be able to work on independently. The way I usually do this is with ...
1
vote
1answer
414 views

is it possible to fake the amsart class format?

I often use the amsart documentclass. I like it because it is very compact (it also seems to be an industry standard in my area). What I don't like about it is that I'm not able to use kpfonts or ...
12
votes
1answer
3k 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} ...
11
votes
1answer
289 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 ...
6
votes
1answer
903 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 ...
11
votes
6answers
3k 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 ...
3
votes
4answers
2k views

ntheorem with the [amsthm] option ignores styling of a theorem environment

I'm using ntheorem with the amsthm option, to define a theorem-like environment for stating notes. I should be getting an environment beginning with the word 'Note' in italic font, followed by the ...
6
votes
3answers
389 views

What’s the most straightforward way to typeset theorems etc. when the numbering is entirely manual?

I’m using LaTeX to typeset some homework, and since we’re assigned problems scattered throughout our textbook I have to enter the problem number for each problem I typeset. I’d like these problems to ...
4
votes
1answer
1k views

amsthm: how to reduce the vertical spacing between theorem and proof?

I'm using the amsthm package to layout theorems and their proofs. How can I reduce the vertical spacing between the last line of the theorem statement and the first line of the proof? BTW, I tried ...
8
votes
2answers
2k views

Wrong spacing before theorem environment (amsthm)

I am using the amsthm package to have environment. I also use \usepackage[onehalfspacing]{setspace} to have 1.5 line spacing. However, when I use the the theorem environment, the spacing before is ...
7
votes
2answers
3k views

How do I get rid of particular pdftex warning message?

Here is a minimal example that showcases my problem: \documentclass{article} \usepackage{amsthm} \usepackage{hyperref} \usepackage{cleveref} \newtheorem{thm}{Theorem} \newtheorem{lem}[thm]{Lemma} ...
5
votes
1answer
2k views

How can I change the spacing before theorems with amsthm?

I have a spacing problem. Whenever I include a theorem environment, \begin{theorem}\end{theorem}, the theorem appears very close to the previous line. The spacing is much less than the normal spacing ...