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

5
votes
2answers
37 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
90 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
52 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
90 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
98 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
35 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
42 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
42 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
40 views

Best attitude regarding \newtheorem?

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
69 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
38 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, ...
0
votes
0answers
26 views

enviroment proof, theorem undefined kind of error in spite of using amsthm, amsmath

I am using the elsevier journal article format. The problem is I am using the amsthm, amsmath packages but still getting environment proof, theorem undefined kind of error. what to do ? For the usual ...
2
votes
1answer
36 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
36 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
49 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
26 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 ...
2
votes
1answer
46 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
44 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
104 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
107 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 ...
5
votes
2answers
46 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
115 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
81 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
140 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
88 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
39 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 ...
4
votes
1answer
69 views

\newtheorem{def} throws an error

the following is a piece of the code I am working on. It says that there is an error with \newtheorem{def} but I really don't understand why. Thank you very much for your help! ...
0
votes
0answers
234 views

LaTeX Error: File 'amsthm.sty' not found. Using LyX, and despite all MikTeX ams packages having been installed and updated

I've been using LyX to produce several documents since its last update (2.1.2), and I've always used what is referred to as "AMS Theorems" module in the modules settings, particularly in order to use ...
0
votes
2answers
68 views

QED at end of Theorem (definition-style) Environment

Apologize if this is a duplicate. \documentclass[12pt]{extbook} \usepackage{amsmath, amssymb, amsthm} \usepackage{etoolbox} \theoremstyle{definition} \newtheorem{example}{Example}[section] ...
6
votes
2answers
188 views

Transitioning to mathtools - environment proof undefined

I am new to LaTeX and I was using the amsthm package in order to write proofs by using the proof environment: \documentclass{book} \usepackage{amsthm} \newtheorem{theorem}{Theorem} \begin{document} ...
6
votes
3answers
343 views

How to make the asterisk a part of a counter?

I am writing a usual article in amsart style using amsthm package to number the theorems. I need to enumerate certain conditions, while two of them have to bear the same number differing only with an ...
3
votes
1answer
44 views

Theorem linebreak in an itemize environment

I'm using the itemize environment to take notes and sometimes I want to add definitions and theorems in the flow. However, amsthm adds a linebreak between the item bullet and the theorem statement, ...
3
votes
2answers
66 views

Changing the theorem's title style

I need to change the style of the theorem title ( bold and no ponctuation after the title) : \documentclass[french,a4paper,12pt]{report} \usepackage{babel} \usepackage{graphicx} ...
3
votes
1answer
49 views

Formatting an equation environment to fit within the margins

\mathcal{P}^s_{\delta}(F) = sup \Bigg\{ \sum_{i}|B_i|^s : \{B_i\} \text{is a collection of disjoint balls of radii at most $\delta$ with centres in F} \Bigg\} This piece of text wont stay in the ...
2
votes
1answer
53 views

New theorem problem AMSTHM

I have the Example environment as a new theorem environment but I need to break the example across the article. Ideally I would like to implement the following: Example 1. blah blah blah ... ... ...
2
votes
0answers
43 views

Framed theorem environment spread across pages

I wanted to put a vertical line in front of examples to make them easier to distinguish from the regular text. For this I used mdframed, and it mostly seems to work. However, if an example happens to ...
0
votes
0answers
38 views

thmtools: command to print theorem name

I'm using amsthm and thmtools for my theorem environments. Is there any way to print the name of a theorem? For example, given the following code: \documentclass[paper=a4]{scrreprt} ...
2
votes
2answers
103 views

Enumerate: make labels and items aligned left within a theorem

Just what the title says: I want to make an enumerate list in which both the labels and items are aligned to the left. I can currently only get one or the other. Minimal working example: ...
1
vote
0answers
25 views

Create list of examples [duplicate]

I used the amsthm-package to define definitions, theorems and lemmas. Besides, I defined examples as follows: \newtheoremstyle{examplestyle} {2pt} {2pt} {} {} {\bfseries} {:} {3pt} {} ...
2
votes
2answers
68 views

Center labels in enumerate within a theorem

Here is a minimal working example, based on this answer: \documentclass{report} \usepackage{amsthm} \usepackage{enumitem} \SetLabelAlign{Center}{\hfil#1\hfil} ...
3
votes
1answer
58 views

Problem with theorem's numbering when using Arabi package

When I use a theorem style environment with Arabi package, the numbering become corrupted just after the numbers with two digits start. Here an example. The number of the last one should be 10 but it ...
1
vote
1answer
70 views

Theorem numbering: use dash instead of period

In the following code, my theorem head looks like this: 1.1 Theorem I want it to look like this: 1-1 Theorem MWE: \documentclass{report} \usepackage{amsthm} \newtheoremstyle{theorem} {1em} % ...
5
votes
1answer
82 views

End mark for unnumbered and continued examples

Consider the following MWE \documentclass{article} \usepackage{amsthm} \usepackage{hyperref} \theoremstyle{plain} \newtheorem{theorem}{Theorem}[section] \theoremstyle{definition} ...
2
votes
0answers
23 views

Space after Proof Environment to next Section [closed]

I am using a modified definition of a proof environment: \makeatletter \renewenvironment{proof}[1][\proofname]{\par \pushQED{\qed}% \normalfont \topsep1\p@\@plus3\p@\relax \trivlist ...
0
votes
1answer
46 views

Hyperlinks in theorem names

With the following code: \documentclass[a4paper]{report} \usepackage{lipsum,amsthm,thmtools,hyperref} \declaretheoremstyle[ spaceabove=\topsep, spacebelow=\topsep, headfont=\normalfont\bfseries, ...
4
votes
1answer
59 views

Why is \item allowed in proof environments?

The other day I was typing up a proof containing a list and I accidentally wrote \item inside the proof environment (from the amsthm package) but outside of any list environment. To my surprise, LaTeX ...
2
votes
2answers
97 views

Theorem style like (1.1 Theorem) and custom theorems like (1.2 Intermadiate Value Theorem)

I'm searching for a theorem style like that the one that is used in this book: Elementary Analysis by Ross I've got already most things working, except that I want to get a custom theorem like this: ...
0
votes
0answers
47 views

Copying the style of amsthm using \newcommand \renewcommand

I'm trying to exactly duplicate the layout of amsthm without using this package. I want this, because pandoc doesn't support amsthm (yet), and pandoc is used in the online LaTeX editor ...
1
vote
2answers
61 views

Amsthm numbering depending on section depth [duplicate]

I'm using amsthm and thmtools to define custom theorem environments, definition environments, etc. All such environments share the same counter. Is it possible to vary the numbering format depending ...
1
vote
1answer
33 views

Changing Section Heading Style Ruins Theorem Counter [duplicate]

This is my code: \documentclass{article} \usepackage{amsthm} \theoremstyle{definition} \renewcommand{\thesection}{Section \arabic{section}} \newtheorem{theorem}{Theorem}[section] \begin{document} ...