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

4
votes
1answer
30 views

How can I make a command execute exactly once in an AMS environment?

I'm wanting to create a command similar to AMS's proof environment that automatically calls a command (like AMS's \qedhere) when it gets to the end, but allows you to call the command earlier if you ...
1
vote
2answers
27 views

Place theorem number *before* theorem label in page header?

In the accepted answer to Put current theorem-like item's name/number in header, it is shown how to put in the page's header the label of the (last-on-page) theorem, lemma, etc. For example, if ...
3
votes
1answer
35 views

How can I make a command execute exactly once in an argument?

I'm wanting to create a command similar to AMS's proof environment that automatically calls a command (like AMS's \qedhere) when it gets to the end, but allows you to call the command earlier if you ...
3
votes
0answers
23 views

How to change the (horizontal) distance between “Proof” and the first enumeration symbol?

The following code \documentclass{scrbook} \usepackage{amsthm} \newtheorem{theo}{Theorem} \begin{document} \begin{theo} Rhabarber Rhabarber Rhabarber Rhabarber \begin{enumerate} \...
3
votes
2answers
49 views

Theorem environment : interaction with enumerate/itemize

My question is related to this one : Is it possible to skip the first line in a theorem environment? Actually, I am looking for a way to implement the solution given there in a somewhat systematic ...
0
votes
0answers
23 views

Changing the position of the sign at the end of proofs

In my thesis I'm using the following math related packages: \usepackage{amsmath} \usepackage{amssymb} \usepackage{amsthm} \usepackage{mathtools} I would like to change the position of the little ...
4
votes
2answers
215 views

Remove space between “Theorem” and theorem number

I'm trying to create a dynamic numbering system for a survey, with questions that I can also reference. I would like to see Q1. What is your age? but playing around with \newtheorem all I can get ...
4
votes
1answer
47 views

\emph not working well in amsthm's “plain” style using XeLaTeX or LuaLaTeX

Consider the following MWE: \documentclass{article} \usepackage{fontspec} \usepackage{polyglossia} \usepackage{mathtools, amsthm} \usepackage{unicode-math} \setdefaultlanguage{english} \...
0
votes
0answers
19 views

Custom theorem title style

I have been trying everything to get my theorems to look like this: The best I could do was defining \usepackage{amsthm} \theoremstyle{definition} \newtheorem{hypo}{Hypomnema} in the preamble ...
3
votes
1answer
59 views

why does proof use trivlist?

Consider the following definition of the proof environment: \renewenvironment{proof} % so we can use wrap fig in proofs {\noindent\emph{Proof.}} % close enough? {\qed\vskip\topsep} % close ...
2
votes
1answer
24 views

Modify \qed to have an empty box offset to the top left

in the MWE below, how do you go about getting the \qed box to show up like: Here is the code: \documentclass{book} \usepackage{lipsum} \usepackage{amsmath,amsfonts,amssymb,amsthm} \begin{document}...
0
votes
0answers
19 views

No couter 'p' defined when using amsthm in combination with cleveref [duplicate]

When I define theorem environments using amsthm, then LaTex exists with the error ! LaTeX Error: No counter 'p' defined.. This is a full example that does not work properly. \documentclass{article} ...
1
vote
0answers
20 views

\qedhere in line with the bottom of a \bigg) in a formula that ends a proof/example

This is a a follow-up question to this answer. Here there is a minor modification of the MWE provided by the user (where I put \bigg instead of \bigl/\bigr): \documentclass{article} \usepackage{...
0
votes
0answers
20 views

Well-behaved \qedsymbol like for example environment [duplicate]

I would like to have a symbol like \blacksquare at the end of the environment \newtheorem{example}{Example}. However, this symbol should be well-behaved in presence of formulae (i.e. no white space ...
2
votes
0answers
40 views

How to add right bar in proof

when i use mdframed the right bar is proof double line: \documentclass{book} \usepackage{xpatch,amsthm,xcolor} \usepackage{color} \usepackage[framemethod=tikz]{mdframed} \usepackage{polyglossia} ...
13
votes
1answer
259 views

texlive 2016 hyperref/cleverref incompatibility

I almost always use ShareLaTeX for my LaTeX needs, but I recently began work on a relatively large document, and so I figured I would give a local TeX distribution a try to see if I could speed up the ...
1
vote
1answer
28 views

Make proof reference automatically bind to theorem proven or label proofs in ascending order

I was wondering if there's a way to make every proof automatically reference the latest theorem used in my text, or, alternatively, have proofs be labeled with ascending numbers. Allow me to ...
2
votes
1answer
42 views

Strange space between proof and the next definition

I am experiencing strange vertical spacing between a proof environment and the next definition environment of the amsthm package. For example, \documentclass{article} \usepackage{amsmath} \...
1
vote
1answer
29 views

Problems with `\declaretheoremstyle` `\headformat`

I'm trying to change the headformat option in declaretheoremstyle, but I'm getting errors, even when copying the code in thmtools that allows \headformat=margin. Here's my preamble: \documentclass{...
3
votes
1answer
20 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
45 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
62 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
19 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
58 views

Itemizing theorem body

Using package amsthm, the desired theorem style achieved, \documentclass{book} \usepackage{amsthm} \newtheoremstyle{mystyle}{}{}{}{}{\bf}{}{\newline}{} \theoremstyle{mystyle} \newtheorem*{mythm}{...
0
votes
0answers
16 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
97 views

Problem with AMS packages [closed]

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
42 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
56 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} \usepackage{...
3
votes
2answers
63 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} \usepackage{amsthm}...
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
60 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
56 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
42 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
26 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
37 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
42 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
45 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} \begin{theorem}[...
0
votes
0answers
74 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
20 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
45 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
117 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
60 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} \usepackage[...
4
votes
1answer
85 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
22 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} \...
5
votes
5answers
263 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
79 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
65 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 "\begin{...
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 ...