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

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
71 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
68 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
79 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} % ...
7
votes
1answer
137 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
27 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
64 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
68 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
106 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: ...
3
votes
1answer
84 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
98 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
42 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} ...
4
votes
3answers
121 views

How align the qedsymbol after of a big formula in display mode?

Description of the problem My problem is this. For the proof of a math theorem i use the proof environment of the package amsthm. It adds a \qedsymbol in the last line of the proof, but if the proof ...
3
votes
0answers
64 views

Why is “Lemma 9.6” the default and not “9.6 Lemma”? [closed]

As a reader, I never really understood why is it so common for textbooks to have the numbering à la Lemma 9.6. To me it seems to imply that we also have Lemma 9.5 and Lemma 9.7 but sure enough, 9.5 is ...
1
vote
2answers
100 views

A problem with `amsthm` and positive `\parskip`

I want my paragraphs to be separated by some whitespace and not indented. However, there is way too big a space between end of a theorem and begin of a proof (an MWE follows). What are my options to ...
2
votes
1answer
73 views

Need some hints to start with the package amsthm

I want to highlight my proposition and i don't need the enumeration for now. The source file is the following: \usepackage{amsmath, amssymb, amsthm} \begin{document} \begin{theorem} ... bla bla ...
1
vote
0answers
13 views

amsthm and citations using natbib [duplicate]

The standard way of combining a citation with the amsthm package is to use : \begin{thm}[\citep{...}]. However, suppose I want to name a particular theorem I am referencing. If we were outside the ...
0
votes
2answers
1k views

split equation in multiple lines

I am a new Latex user,I have loaded these two math equation in my Latex documents and i want to split an equation i have into multiple line \usepackage{amssymb} \usepackage{amsthm} I am reading ...
8
votes
2answers
454 views

amsthm with shared counters messes up autoref references

When I define amsthm theorem environments with shared counters, autoref messes up the names of the references. For example, in the output below, we should have "Definition 2" instead of "Theorem 2". ...
4
votes
0answers
21 views

reference link in pdf file is not working correctly (problem with enumerate?) [duplicate]

In the following example a bug appears which I cannot explain. in the pdf-output, the link to Theorem 1 does not work correctly, clicking it jumps to the beginning of the document BLABLA. The printed ...
5
votes
1answer
84 views

amsthm not working correctly with unicode-math [duplicate]

I'm trying to use unicode-math with amsthm. I'm using the following code: \documentclass{article} \usepackage{amsthm} \usepackage[math-style=TeX]{unicode-math} \newtheorem{question}{Question} ...
0
votes
0answers
57 views

Problem with amsthm [duplicate]

Consider the following MWE: \documentclass[]{report} \usepackage{amsthm} \makeatletter \def\th@definition{ \thm@notefont{} \bfseries} \makeatother ...
2
votes
1answer
140 views

Rewriting a template from amsthm to thmtools

I've been using the Legrand Orange Book template on a project of mine with a friend and coworker. This template uses amsthm and mdframed to format a bunch of environments and I'm rewriting them to use ...
3
votes
1answer
60 views

Unwanted page break before align

I am having some issues with the positioning of a page break with align. My code is roughly the following. \documentclass{article} \usepackage{amsmath, amsthm} \begin{document} %Lots of text to ...
6
votes
3answers
144 views

How can I number theorems in introduction without section counter and later with it?

I would like to have my theorems numbered in the following way. Theorem 1. Blah-blah Theorem 2. More blah-blah Section 1. Theorem 1.1. Special blah Theorem 1.2. More special ...
4
votes
1answer
306 views

No indentation after theorem environment with amsthm

I use the amsthm package and dont want lines which start right after the theorem environment to be indented. I consulted the manual of the package and it said to define a new theorem style. I expected ...
8
votes
1answer
358 views

How do I remove parentheses from theorem optional argument?

This is a MWE: \documentclass[12pt]{article} \usepackage{amsfonts, amsthm, amsmath, amssymb} \theoremstyle{definition} \newtheorem{Theorem}{Theorem}[section] \newtheorem*{Pythagorean ...
2
votes
1answer
85 views

qed symbol not correctly aligned when ending a proof with a diagram

I know there is a myriad of questions about the alignment of the tombstone symbol, but I couldn't see any one that addresses this little issue. Say you end your proof with a diagram such as the ...
4
votes
1answer
397 views

Strange errors and error changes

Typesetting: \documentclass[a4paper]{report} \usepackage{thmtools,amsthm,hyperref} \newtheorem{defi}{Definizione} \begin{document} \renewcommand\listtheoremname{Definizioni, Teoremi, Proposizioni, ...
5
votes
3answers
289 views

QED - as three letters - to the right of a display equation

What is the best way for me to get "QED"--as the three letters, not the square generated by \qed--flush with the right side of a page on the same line as a display equation? Note - I am intentionally ...
8
votes
2answers
183 views

Intelligently Numbering “remarks” only when multiple are made

Problem. I am using the amsthm package, and have remarks after theorems. If there is only one remark between two theorems, the remark should not be numbered. If there are multiple remarks between ...
5
votes
1answer
67 views

Using math mode in a label

How can one use something like $\mathbb{R}^k$ in a label? I.e. \label{three equivalent properties of $\mathbb{R}^k$}. Currently when I try this I get an error. Here's a MWE: \documentclass[a4 ...
0
votes
1answer
138 views

How can I make amsthm and cleveref to work with htlatex?

I have the following test.tex document: \documentclass{article} \usepackage{hyperref} \usepackage{amsthm} \usepackage{cleveref} \newtheorem{thm}{Theorem}[section] \newtheorem{rmk}[thm]{Remark} ...
0
votes
2answers
82 views

How do I use aliascnt with cleveref?

I'm trying to compile the HoTT book with htlatex, and was trying to reproduce an issue that occurs with htlatex but not pdflatex. However, I couldn't even manage to get a small working example using ...
1
vote
1answer
288 views

Inconsistent spacing with parskip option of KOMA script and amsthm

This problem is similar to Question 25346, however the proposed solution does not solve my problem. \documentclass[parskip=full]{scrreprt} \usepackage{amsmath, amsthm} \theoremstyle{definition} ...
2
votes
1answer
114 views

How to separate definitions from the following text?

Using the definition theorem style from amsthm does not enable the reader to separate between text that belongs to the definition and the text following it. Example: \documentclass{scrbook} ...
3
votes
1answer
128 views

'Runaway argument? ' error when using the wx-ijcis class

I get the following error message when compiling for a journal article: Runaway argument? \relax \ifmmode \@badmath \else \bgroup \let \eqnnum \relax \let \refstepeqcnt \ETC. ! Paragraph ended ...
2
votes
1answer
270 views

Changing Theorem(AMS) in Lyx

I use the theorem(AMS) module in Lyx. If i use the Lemma, Definition etc. enviroment then Lemma for example is written in bold letters. If i use the remark enviroment its in italic. I would like to ...
5
votes
3answers
158 views

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 ...
5
votes
1answer
109 views

How to enable line breaking in the standard proof environment with amsmath?

I want to redefine the proof so it accepts linebreaks in the name \renewenvironment{proof}[1][\proofname]{\par \pushQED{\qed}% \normalfont \topsep6\p@\@plus6\p@\relax \trivlist ...
7
votes
3answers
281 views

Reference to List Items in Theorem Environment with Label Type “Theorem”

I'm trying to set up references to list items in theorem environments. Using the thmtools and the cref-package I am able to reference theorem environments, such that the theorem type, e.g. theorem, ...
9
votes
3answers
418 views

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? ...
7
votes
1answer
140 views

Referencing unnumbered theorems

I would like to reference named (but unnumbered theorems) with a hyperlink. I have a solution which I consider at least a semi-hack: \documentclass{amsart} \usepackage[colorlinks=true]{hyperref} ...
6
votes
1answer
390 views

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

Blocks at the End of a Solution Structure [duplicate]

so a couple of months ago I created my own package. Everything in it works great, and so far it does everything I need it to do, the way I need it to. But I want to change one thing. When I made the ...
2
votes
0answers
23 views

Error using hyperref, cleveref and \newtheorem: no counter defined [duplicate]

Here's my problem: I'm writing some mathematics lecture notes. I needed some different theorem types, such as propositions, lemmas, plus observations, examples and definitions whose numbering depends ...
10
votes
1answer
186 views

Numbering theorems in the left margin

My question is similar to this and this. I would like to have the theorem number in the left margin (0.6em spacing to the main text) and the Name 'Theorem' should be justified to the main text. The ...
3
votes
1answer
686 views

Changing the color of theorem headings

I have a theorem environment, and I would like: The text color of Problems and their contents to be a custom color (defined as `db' below) The text color of Solutions to be a custom color (defined ...
6
votes
1answer
146 views

Using thmtools: numbering with asterisk

I would like to repeat a theorem number with an added asterisk. That is, the original theorem is: Theorem 1. Lorem ipsum... And I would like the analogue theorem to be: Theorem 1*. Lorem ipsum...
7
votes
2answers
95 views

Reference-able custom section numbering

I am writing some lecture notes from a class that I have on Monday, Wednesday, and Friday. What I would like to do is organize them by sections defined by the week and the day, e.g. 1M, 1W, 1F, 2M, ...