Questions tagged [amsthm]

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.

The amsthm package provides an enhanced version of LaTeX's \newtheorem command for defining theorem-like environments. The enhanced \newtheorem recognizes a \theoremstyle specification (as in Mittelbach's theorem package) and has a * form for defining unnumbered environments. The amsthm package also defines a proof environment that automatically adds a QED symbol at the end. AMS document classes incorporate the amsthm package, so everything described here applies to them as well.

If the amsthm package is used with a non-AMS document class and with the amsmath package, amsthm must be loaded after amsmath.

714 questions
9
votes
1 answer

A question on the proof environment of amsthm

I would like to alternate between two proof environments under the amsthm package, e.g. distinguished between \begin{proof1} ... \end{proof1} and \begin{proof2} ... \end{proof2}. In these I want to use different end signs like QED or $\blacksquare$.…
9
votes
3 answers

enumerated list in proof - margin, qed symbol

I have two questions. 1. Can I delete the red-colored space? 2. If I use enumerate in proof, QED symbol appears the next line of the end, as above. If I do not want to type manually \qedhere, should I use…
Gobi
  • 203
9
votes
3 answers

I want the QED symbol to be 1 line lower at the end of proof

Just as my title says, I would prefer to have my qed symbol to be 1 line lower than the last line of my proof. By default its on the same line and aligned to the right. How can I achieve this? EDIT: See below code for an…
9
votes
1 answer

Alternative theorem styles with amsthm package?

I am writing a document with many lemmas, theorems, and proofs. I don't like the default styling available, mainly because it places almost no visual separation between theorems and text (or proofs and text). I would like the following: A definiton…
gdiazc
  • 345
6
votes
3 answers

Changing the color of word "Proof"

I'm using \begin{proof}... \end{proof} of amsthm package for demonstrations environment. How I can change only the color of word "Proof"? Thank you. R.S.
R.S.
  • 61
6
votes
1 answer

How to start a list right after the heading in a redefined proof environment?

I've redefined the proof environment to make the heading boldface by adapting the code from the amsthm documentation (p. 11). I've literally just deleted \itshape and typed \bfseries instead, nothing else was changed. (Note: It doesn't even matter…
Jeroen
  • 4,491
5
votes
2 answers

sub-examples in amsthm

I'm using the newtheorem macro in amsthm for example environments. Is there a way for a sub-example? I don't need anything fancy like indenting, just a new counter level would do. So that within say Example 4, a few sub-examples would be numbered as…
kara890
  • 53
5
votes
1 answer

Stars left to theorem (for exercises)

I would like to be able to do something like this \begin{exo}[Name][\Star\Star] Content \end{exo} which would print something like **Exercise 7 (Name). Content I want exo's counter to share the counter with other theorems and be able to reference…
x4rkz
  • 162
5
votes
3 answers

How to make proof environment without amsthm?

I want to submit a paper to this Journal and they want the author to use the etds.cls. The class uses a package called 'theorem' and they have scripted there own theorem command …
Adam
  • 1,268
4
votes
1 answer

Delete word "Proof" and punctuation in latex proof environment

I want to eliminate the word "Proof" that appears right after \begin{proof} ... \end{proof} The basic ideas: \renewcommand{\proofname}{} and \begin{proof}[] \end{proof} Do not work because there is an unwanted punctuation sign.
4
votes
1 answer

apxproof and formatting titles

I'm currently working with the apxproof package and I'm having some minor trouble with it... Consider the following…
Sito
  • 681
4
votes
1 answer

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 the docmute package, which allows each subfile…
Jamie Vicary
  • 11,098
4
votes
3 answers

Starting theorem version numbering at 1.0 instead of 1.1

How I make the numbering in the following file start at 1.0 instead of 1.1? setcounter{dfnv}{-1} doesn't do anything. …
3
votes
2 answers

How to remove the space after the amsthm caption and the dot?

I've create an unnumbered amsthm environment problem, and a numbered amsthm environment example. Then I want to make the numbered example environment be unnumbered, so I typed \let\theexample=\relax (Why? Because I'm using a template that was…
Axia
  • 514
3
votes
1 answer

Theorems without begin{} and end{}

My question is more a curiosity than a problem. I notice that the following text builds a valid document. I thought the only correct way to use this theorem environment would be to write the body between '\begin{definition}' and…
Willem
  • 168
1
2 3 4