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

7
votes
1answer
112 views

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 ...
2
votes
1answer
57 views

A question on how to change the qed-symbol of amsthm

I am using the amsthm package and get a blank square like $\Square$ at the end of proofs. How can I redefine to get the black Halmos tombstone $\Blacksquare$ instead? I want the symbol to be right ...
4
votes
2answers
40 views

How to set \qedhere properly within “alignat*” environment?

The last part of my proof is formatted in an alignat* environment. How do I make \qedhere appear correctly? The naive approach (as you would do with align*): \documentclass{article} ...
2
votes
1answer
22 views

Combining enumerate and align works in theorem environment, but not outside the theorem environment

I was using MWE 1 (which worked fine), but now I want to get rid of the theorem environment (MWE 2). However, that does not work and I get the following error. Any idea how I can make MWE 2 work? ...
1
vote
0answers
24 views

Option thref of package ntheorem causes equation numbering problem with amsmath's split environment

See the MWE first: \documentclass{article} \usepackage{amsmath} \usepackage[amsmath, thref]{ntheorem} \begin{document} \begin{equation} \begin{split} a & b\\ c & d \end{split} ...
2
votes
1answer
22 views

natbib citep[]{} error if used in theorem options [duplicate]

I am using natbib and amsthm. If I use \citep[Thm. 4.5]{key} in the options of my theorem environment I get the error: Argument of \NAT@@citetp has an extra }. \begin{thm}[\citep[Thm] Why can't I ...
3
votes
1answer
39 views

Redefining proof environment

How can I change the \begin{proof} environment so that the word Proof which is displayed in my document isn't italic? I tried changing \proofname, but that only changes the displayed text, not the ...
3
votes
1answer
30 views

Vertical space between “Proof” and start of proof

How can you add vertical space between the word "Proof" and the actual start of the proof? This question shows how to start the proof on a new line, but I can't add space properly.
1
vote
1answer
34 views

Number theorems with chapter number

I use declaretheoremstyle to define a theorem environment, and print a list of theorems in the end of my document: \documentclass[12pt]{book} \usepackage[english]{babel} ...
3
votes
1answer
34 views

Remove repeated “Theorem (” in the list of theorems

I use declaretheoremstyle to define a theorem environment, and print a list of theorems in the end of my document: \documentclass{article} \usepackage[english]{babel} ...
1
vote
0answers
8 views

Namespace for theorems [duplicate]

I want to make a theorem \newtheorem*{def}{Definition}. This doesn't compile because \def is already defined. How do I make amsthm use a different namespace for theorems? It doesn't make sense for a ...
2
votes
2answers
62 views

How to manipulate theorem body text indentation (using amsthm package)?

I would like to create the following formatting for summing up hypotheses (I am using the report documentclass): Body text. Body text. Body text. Body text. Body text. Body text. Body text. Body ...
5
votes
2answers
50 views

Share counter between amsthm and algorithm

I am using amsthm \usepackage{amsthm} \newtheorem{thm}{Theorem}[chapter] \newtheorem{lem}[thm]{Lemma} \newtheorem{prop}[thm]{Proposition} and algorithm \usepackage{algorithm, algpseudocode} ...
4
votes
2answers
60 views

Import \chapter into amsart

I would like to create a document with the appearance of amsart, but with added \chapter command (styled as in amsbook, or differently). How can I do that? I tried to make LaTeX load both amsbook and ...
1
vote
2answers
56 views

How to adjust the QED symbol to appear just after the last word in a proof

Whenever I finish a proof I tend to put the little square just after the last word, but by using the /begin{proof} /end{proof} environment it appears always at the end of the line. It seems like its ...
1
vote
0answers
26 views

Theorems with hanging indentation, also working with itemize [duplicate]

I've been trying numerous ways to have a hanging indentation in my theorems. I'm using amsthm to define my own theorem styles. What I want is the theorem to indent after line 1 like this: Text ...
0
votes
0answers
34 views

Can one define which structures are appearing in the pdf's toolbar using hyperref?

I am working on a maths document and I use (amongst others) \usepackage[bookmarks]{hyperref}<br> \usepackage{amsthm} I have basically two questions: 1) When I use texmaker, its internal pdf ...
2
votes
1answer
70 views

Problem with numbering theorem by section

I am having a problem with the numbering of the theorems (by section) in a paper. My problem is that I want to number my theorems and propositions such that they appear as something like: Theorem ...
2
votes
1answer
60 views

Indent the word “Proof” in environment proof of amsthm

I'm working with the amsthm package, especially using the proof environment. I would like just the word "Proof" to be indented (and to keep the QED symbol). Can we do that?
3
votes
1answer
53 views

Allowing pagebreaks for shaded theorems using thmtools

I just searched for a way of allowing pagebreaks when using shaded theorem-environments from thmtools. I found my question was, somewhat, answered here (the second solution) with a comment from the ...
0
votes
0answers
19 views

Get undefined proof variable with amsthm defined

I can't get over this problem. I have \documentclass[12pt,twoside]{mitthesis} \usepackage{lgrind} \usepackage{cmap} \usepackage[T1]{fontenc} \pagestyle{plain} \usepackage{amsmath,amssymb} ...
4
votes
1answer
59 views

Keep theorem content on the same page

Currently my preamble looks like \documentclass{article} \usepackage{amsthm} \usepackage{amsmath} \usepackage{amssymb} \usepackage{enumitem} \theoremstyle{definition} \newtheorem*{theo}{Theorem} ...
0
votes
0answers
27 views

Why is trivlist used in center, theorem and other environments?

I've noticed that the trivlist environment is used in the AMS Theorem package and in the definition of the center environment. For example: \def\center{\trivlist \centering\item\relax} ...
4
votes
1answer
123 views

Mysterious Vertical Space After Theorem/Proof Environments

I have defined my own theorem style to have 0pt above and 0pt below. For simplicity I have also set all other relevant spacings to 0pt. However, when I use a theorem or proof environment I get some ...
0
votes
0answers
89 views

How to use autoref or cleveref when the theorem environments are in the class file?

The journal LMCS provides a style, lmcs.cls, that contains definition of theorems environments : %%% Theorem environments % the following environments switch to a slanted font: \theoremstyle{plain} ...
5
votes
2answers
48 views

Adding optional arguments to environment

I'm trying to understand and modify this code: \newtheorem*{nonamethm}{\nonamethmname} \newcommand{\nonamethmname}{} \newenvironment{genthm}[1] {\renewcommand{\nonamethmname}{#1}\nonamethm} ...
2
votes
1answer
107 views

How to Nest Proofs in a Useful Way

I am using amsthm and amsbook and nesting claims and proofs. I would like to have two things: 1) Proofs that are in a deeper layer should be indented. 2) There should be a semi-box (only left and ...
5
votes
1answer
75 views

After “Theorem”, “Definition” the actual content should start at the same indent

Since "Thm 1.2", "Def 1.33", etc. all have about the same width, I'd like to try a layout with a fixed indentation. The actual content after the label and number should begin at the same indendation ...
6
votes
1answer
147 views

How to put Theorem Numbers in Boxes?

I'm using amsthm and amsbook. I was wondering how to put theorem numbers in rectangular boxes, both when they first appear as well as when citing them. Here is a picture of what it looks like now: ...
8
votes
1answer
172 views

Remove Indentation of Theorems

I am working with amstheorem and amsbook, and I'm trying to remove the indentation before the numbers of theorems so that they are aligned exactly to the left. Is there any way to do this? In ...
2
votes
1answer
56 views

Remove all proof environments

I have a document containing some proofs and want to create a version only containing the theorems (and corollaries and lemmas and examples and …), but no proofs at all. Is there an easy, automatic ...
2
votes
1answer
57 views

\swapnumbers drops chapter

I'm trying to use \swapnumbers to get the numbering of theorems etc first in amsbook, as detailed here: \swapnumbers in lyx However, when I add \swapnumbers, it seems like the numbering scheme ...
2
votes
1answer
80 views

\swapnumbers in lyx

I'm using LyX 2.2dev on Mac together with Theorems (AMS), Theorems (AMS-Extended), Number Equations by Section and Theorems (Numbered by Sections) modules. I put \swapnumbers in my LaTeX preamble, but ...
1
vote
0answers
48 views

Best attitude regarding \newtheorem? [closed]

In amsthdoc, the documentation of amsthm, it is written: It is natural to handle [lemmas, propositions, axioms, corollaries, conjectures, definitions, remarks, and so forth] as LATEX environments, ...
3
votes
2answers
126 views

Using \tag with amsthm environments?

I would like to custom tag theorems, similar to the way \tag lets me custom tag equations in a math environment. How should I go about doing so? The amsthm package documentation is silent on doing ...
2
votes
1answer
91 views

Conflict between mdframed and amsthm packages with the use of czech babel

I would like to have theorems in boxes. I am working with amsthm and mdframded packages (I use the syntax utilized in Legrand Orange template). It works well with different babels (english, spanish, ...
2
votes
1answer
62 views

thmtools: Custom Header

I'm using amsthm and thmtools to customize theorem-like environments. I want a theorem enviroment that has a header that looks like the following: . I tried to use something like headformat = ...
2
votes
2answers
76 views

Change a amsthm theorem ending [duplicate]

I am writing a text where the editor suggested to close all the definitions with a diamond. So I was wondering, is there a easy way to automatically add a command to all the \end{definition} ? I ...
0
votes
1answer
66 views

Make `enumerate` start from a new line [duplicate]

I'd like to put enumerate on a new line, but cannot use \newline because there is no line to end! Here is the code: \newtheorem*{quoz}{Teoremi del quoziente} \begin{quoz} % \newline here does not ...
0
votes
1answer
33 views

LaTeX amsthm package - starting the 'section' number at 16

I'm taking notes from a textbook via LaTeX (as a study guide / way to learn) and I'm starting on chapter 16. I want the theorems to say "Theorem 16.1, Theorem 16.2..." etc. I am using the basic ...
3
votes
1answer
68 views

How to change theorem numbering when macro file is involved

In my macro file, I have certain theorem environments defined, for example. \newtheorem{theorem}{Theorem} \newtheorem{lemma}[theorem]{Lemma} \newtheorem{corollary}[theorem]{Corollary} ...
2
votes
1answer
117 views

numbering different theorem names with thmtools

I am using the thmtools package to produce a list of theorems at the end of my document. I am also using several different theorem headings (proposition, lemma, definition, etc...), which are not ...
3
votes
3answers
205 views

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 ...
3
votes
2answers
162 views

Equation on same line as proof

If a proof consists of only a single, less-than-a-line-long equation, there is no reason to put the \emph{Proof.} and the equation not on the same line. How can I tell LaTex this? Here is a minimal ...
6
votes
2answers
59 views

Is there an \autoref for “proof”?

I am using the proof environment and would like to use \autoref to hyperlink to the proof from the proposition, because the proof is in a later section. I cannot seem to find the right prefix for a ...
5
votes
1answer
148 views

KOMA script and amsthm: Space lost before and after theorems

I am having a problem similar to this and this, but without using parskip, and only after a recent package update. The MWE \documentclass{scrartcl} \usepackage{amsmath,amsthm} \theoremstyle{plain} ...
6
votes
1answer
133 views

How to enumerate theorems using letters with amsthm without losing the section numbering?

It seems \renewcommand{\theexample}{\Alph{example}} makes the section numbering disappear. Is there a way to avoid this? \documentclass{article} \usepackage{amsthm} \theoremstyle{definition} ...
5
votes
2answers
178 views

How to put two (or multiple) QED symbols on one line

Suppose the proof of a theorem contains a claim and its proof, and the proof of the claim completes the proof of the theorem. That is, no further text is required in the proof of the theorem after ...
2
votes
2answers
122 views

An error I get trying to number tables consecutively with theorems

egreg kindly answered my (previously-asked) question about giving numbers the same numbering as theorems here: Numbering tables sequentially. Unfortunately, this very good solution seems to be ...
3
votes
2answers
49 views

Defining a new list with enumitem that uses ref from surrounding environment

Consider the following MWE \documentclass{article} \usepackage{amsmath,amsthm} \usepackage{enumitem} \theoremstyle{plain} \newtheorem{theorem}{Theorem} \begin{document} \begin{theorem}[Great ...