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

3
votes
1answer
12 views

changing numbering depth in certain subsection

I have a document with several sections, most of which contain subsections. In all but one of the sections, I want the theorem numbering to go by section depth. In one particular section, I want the ...
3
votes
1answer
40 views

How to obtain claim numbered within proof without changing the default look

I have a problem that I could not solve, even after looking around for a while on the site. Quite simply, I do like how the following MWE looks like in terms of spacing, but I would like to have the ...
2
votes
2answers
56 views

Adding a title to theorem environment

I am trying to use the theorem environment in my work as Sample Problem. This is my MWE: \documentclass{book} \usepackage{amsthm} \newtheoremstyle{mythmstyle} {}{}{}{} {\bf} {} ...
1
vote
1answer
14 views

Changing content of \listoftheorems and hyperlinking to text

Here's my MWE: \documentclass{report} \usepackage{amsthm} \usepackage{libertine} % allows bf sc fonts http://tex.stackexchange.com/a/98581/104449 \usepackage{thmtools} \declaretheoremstyle[ ...
1
vote
2answers
45 views

Itemizing theorem body

Using package amsthm, the desired theorem style achieved, \documentclass{book} \usepackage{amsthm} \newtheoremstyle{mystyle}{}{}{}{}{\bf}{}{\newline}{} \theoremstyle{mystyle} ...
0
votes
0answers
13 views

Spacing between Chapters and Appendix in \listoftheorems

I'm using the document class 'scrbook' and generate a list of theorems with the command \listoftheorems from the package 'thmtools'. Unfortunately, the vertical space between the last chapter and the ...
2
votes
0answers
85 views

Problem with AMS packages [on hold]

I have a problem that occurs every time I use one of the AMS packages (regardless of the document class or template I use), for instance amsmath or amsthm. In the next line after the \usepackage ...
1
vote
0answers
34 views

How do I format my theorem environment to fit the itemize?

I study by making summaries of books, and, in order to prevent constructing a narrative, I use the itemize environment to break up chapters, sections and subsections into the essential information. ...
3
votes
2answers
28 views

Padding in theorem environment with thmtools

I'm using thmtools to make shaded theorems, but there is no padding around the theorem body and that makes it ugly. MWE: \documentclass{article} \usepackage{amsmath} \usepackage{amssymb} ...
3
votes
2answers
45 views

Proof environment produces “Proof Proof: …” only when thmbox is used

I'm using thmtools. When I use the thmbox keyword in a theorem environment definition, all the proofs start with "Proof Proof: ". MWE: \documentclass{article} \usepackage{amsmath} ...
0
votes
1answer
17 views

Per-environment heading in thmtools theorems

I have a custom style for definitions, but I'd like to customize the heading every time: \usepackage{amsmath} \usepackage{amsthm} \usepackage{thmtools} \declaretheoremstyle[ spaceabove=\topsep, ...
2
votes
2answers
41 views

Use \newtheoremstyle to define a custom example environment

I am trying to define a custom example environment for my thesis, but with my limited knowledge of LaTeX I am not able to figure this out from the amsthm documentation. Here is a minimum working ...
3
votes
1answer
41 views

Theorems continued over multiple pages using amsthm

I use amsthm to define my own lemma, theorem, and other environments. Some are too long to display on one page, which means that they are broken onto multiple pages. When such an environment is ...
4
votes
1answer
33 views

How to typeset axiomatic logic proofs in list form?

I'm trying to typeset some axiomatic logic proofs in list form. I have tried to define a new environment such that I could combine the proof environment of the amsthm package with a table, resulting ...
1
vote
1answer
23 views

Nested Proofs and wrong vertical spacing

I have the following problem concerning nested theorems. Take the following: \begin{theorem} Bla \end{theorem} \begin{proof} Bla bla % \begin{lemma} Bla \end{lemma} % \begin{proof}[Proof of the ...
2
votes
1answer
29 views

How can I apply a custom-defined theorem environment to nested theorems WITHOUT using a proof environment?

I'd like to combine a couple of constructions I've found on this site to create a custom-defined cases environment so that each case will: be nested within a larger theorem environment; end with a ...
2
votes
1answer
28 views

autoref inside a section name, using amsthm and thmtools

The following example works well: \documentclass{article} \usepackage{amsthm} \usepackage{thmtools} \declaretheorem[parent=section]{theorem} \usepackage{hyperref} \begin{document} \section{Section} ...
4
votes
1answer
40 views

Gettting rid of ntheorem's limitation concerning footnotes in theorem's notes

As shown by the following MWE, footnotes in theorems' notes work well for amsthm's theorems: \documentclass{article} \usepackage{amsthm} \newtheorem{theorem}{Theorem} \begin{document} ...
0
votes
0answers
67 views

Numbering of sections, subsections, subsections, and all theorem-like environments in the dictionary order

I would like the numbering of sections, subsections, subsections, and all theorem-like environments to be in the strict dictionary order. Moreover, the number of a theorem-like environment contained ...
0
votes
0answers
18 views

Unnumbered theorem in siamart.cls

I am trying to get an unnumbered theorem environment in the SIAM article document class siamart.cls, and am met with errors. For example, simply trying: \newtheorem*{problem*}{Problem} gives the ...
2
votes
1answer
35 views

Theorem counter does not increment

So this is my code \documentclass{book} \usepackage[utf8]{inputenc} \usepackage{natbib} \usepackage{graphicx} \usepackage{enumerate} \usepackage{parskip} \usepackage{emptypage} \usepackage{multirow} ...
2
votes
2answers
61 views

With ntheorem, thmmarks and no amsthm, defining the proof environment right

I'm using ntheorem with the thmmarks option but without the amsthm option (for reasons I won't go into). I would like to define the proof environment à la amsthm. Specifically, I want: To be able to ...
2
votes
2answers
58 views

How do I prevent an enumerate item at the second level from being split between two pages?

looks bad. How can I prevent this? I tried midpenalty, but it didn't work. The code is presented below. \documentclass[oneside,12pt]{article} \usepackage{geometry} \usepackage{microtype} ...
4
votes
1answer
77 views

How to use cleveref names as theorem names with thmtools

I'm trying to setup a few theorem-like environments with thmtools, making it work with cleverer while trying to stay compatible with different languages. If I load cleveref after thmtools it seems ...
1
vote
1answer
20 views

The vertical margins below and above a theorem aren't the same if the theorem begins with an enumerate list

As you can see in the above picture, the "Solution" theorem's top and bottom margins are different. How can I make the same? I present the LaTeX code below. \documentclass[oneside,12pt]{article} ...
4
votes
5answers
223 views

Marking the end of a definition

I'm using the amsthm package to define a definition environment as follows: \theoremstyle{definition} \newtheorem{definition}{Definition} To my surprise, this provides barely any typographic ...
2
votes
0answers
20 views

Theorem and formula discrepancy

I have the following theorem declaration using asmthm \newtheoremstyle{MyStyle}{\topsep}{\topsep}{\sffamily}{}{\bfseries \scshape}{ )}{ }{} \newtheorem{Theorem}{(}[section] Which, when called, ...
7
votes
1answer
76 views

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 ...
1
vote
0answers
13 views

Locally reduce space between equation and qed / placement of qed [duplicate]

If (using amsthm) I have a proof which ends on an equation, and after that some text goes on, I have something like: text / (bit of space) / equation / (bit of space which looks huge because there ...
4
votes
2answers
57 views

Loosing top/bottom theorem spacing when using adjustwidth

In attempting to match a convention used in my math book, I would like to have theorems, lemmas, definitions, et al., indented from both left/right margins. Wrapping the theorem with ...
0
votes
0answers
21 views

Word “Theorem” Emphasized but not Bold

I'm using Lyx 2.1.4 on Windows 10 with hebrew, and I use xetex with David CLM font. In word, the font works great; however, in Lyx, when I use the theorem environment the word "theorem" is only ...
1
vote
1answer
43 views

Custom QED Alignment with thmtools

I am trying to create a custom theorem format using the thmtools package. However, I am running into problems with the alignment of the QED symbol. When I end the theorem with normal text, it placed ...
2
votes
1answer
142 views

How to get QED symbol in `amsthm`?

I am trying to get QED symbol in amsthm. I use $\hfill \square$, but I get a slightly different square: The one on the right is the QED symbol of amsmath.
0
votes
1answer
43 views

Recall a theorem in a different section of a chapter

I am aware that this question has been asked before and I did refer to the previous answers given unfortunately I keep getting errors when I compile. Here's my minimum preamble ...
1
vote
2answers
56 views

How can we force one line proof environment to stick to its associated theorem environment?

In my LaTeX document, some of the proofs are one-liners: \documentclass[letterpaper]{article} \usepackage{amsmath} \usepackage{amsthm} \usepackage{lipsum} \theoremstyle{plain} ...
2
votes
1answer
46 views

Auto-generating labels for theorems

I'm using package amsthm to define a "Definition" environment as follows: \theoremstyle{definition} \newtheorem{definition}{Definition} In brackets, a name for the definition is supplied: ...
2
votes
1answer
51 views

Special Characters in amsmath (specifically in newtheorem)

I'm trying to define: \newtheorem{defi}{Definició} but an error keeps showing up: l.24 \clearpage [1] (./Chapters/2a_part.tex ! Argument of \UTFviii@four@octets has an extra }. ...
4
votes
2answers
61 views

Reset counter at beginning of proof

My goal is to get a new claim environment which automatically numbers. This is fine - I can make a counter, define a claim environment and claimproof environment which number automatically, and this ...
2
votes
1answer
47 views

How do I vertically align a theorem environment at the top?

The following code renders the picture below. \documentclass[oneside,12pt]{book} \usepackage[a4paper]{geometry} \usepackage{microtype} \usepackage[T1]{fontenc} \usepackage{enumitem} ...
4
votes
2answers
58 views

Zeroing theorem number after each section

I would like to call \setcounter{theorem}{0} after each \section no matter if \section{something} or \section*{something} is called. How can I do that?
2
votes
1answer
31 views

Removing the extra information at a definition? (thmtools&amsthm)

I noticed that the list of theorems doesn't make much sense for definitions because what I get basically is just 1.5 Def etc. which doesn't convey any information. Hence I added the extra information ...
2
votes
1answer
63 views

cleveref and amsthm — incorrect environment name

I have theorem environments that have the same theoremstyle which I define through amsthm. I want them all to share the same counter. This way, a lemma that follows theorem 1.2.6 will have the number ...
3
votes
1answer
104 views

XeLaTeX + polyglossia + Russian or Greek = page number in italics

Consider the following example: \documentclass{article} \usepackage{polyglossia} \setdefaultlanguage{russian} \setmainfont{CMU Serif} \begin{document} \itshape Text. \end{document} ...
2
votes
1answer
52 views

Flexibly start a new page for proof environment

I would like to redefine my proof environment so that if the content of the proof environment is only, say, 3 lines or fewer, then the entire proof environment will just start on a new page. Here is a ...
2
votes
1answer
48 views

floatflt vs amsthm

I'm trying to use floatflt (or one of the other packages that gives floating figures in the margin) with amsthm, and ran in to the issue that the AMS theorem-like environments are defined using ...
3
votes
1answer
80 views

Extra brackets appearing in styled theorem in beamer

Here is my code: \documentclass[slidescentered]{beamer} \usepackage{amsthm,thmtools,xparse} \makeatletter \newif\if@namespace\@namespacefalse \newcommand{\contrel}[2]{ \if@namespace Continua da ...
3
votes
1answer
36 views

Hide indented amsthm environment using comment package

I use amsthm to define a "Solution" environment. I want to be able to hide it. Following this comment I tried using the comment package: \documentclass{article} \usepackage{amsthm} ...
1
vote
1answer
139 views

How to typeset a proof via structural induction

Structural induction differs from "mathmatical" induction in the number of cases: While mathmatical induction requires exactly two cases, structural induction may require many more. A proof via ...
1
vote
1answer
120 views

Can I eliminate the dot after Theorem in amsthm?

Instead of 1 Theorem. I want to write 1 Theorem in front of the first theorem and analogously in front of succeeding theorems. How can I get rid of the dot? Here is a MWE: \documentclass{article} ...
2
votes
2answers
203 views

Can I change the dot to a colon after Proof in amsthm?

I want to write Proof: in front of a proof instead of Proof. How may I achieve this? Here is a MWE for the set up I have now: \documentclass{article} \usepackage{amsthm} \begin{document} ...