Tagged Questions

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

0
votes
2answers
38 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] ...
5
votes
1answer
65 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
322 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
34 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
45 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
46 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
46 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
34 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
19 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
57 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
23 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
52 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
37 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
54 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
48 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
14 views

Space after Proof Environment to next Section

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
31 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
54 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
82 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
35 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
41 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
25 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
74 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
49 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
59 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
284 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 ...
6
votes
2answers
201 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
70 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
42 views

Problem with amsthm

Consider the following MWE: \documentclass[]{report} \usepackage{amsthm} \makeatletter \def\th@definition{ \thm@notefont{} \bfseries} \makeatother ...
2
votes
1answer
98 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
47 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
113 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
136 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 ...
5
votes
1answer
188 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
61 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
146 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
265 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
157 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
63 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
71 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
58 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
175 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
94 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
85 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 ...
0
votes
0answers
103 views

Spacing around thm environments when parskip is changed

I am a beginner with LaTeX and have this probably tyro problem - when I use asmthmpackage environments in combination with \parskip, the (vertical) spacing above and below theorems, definitions, etc ...
2
votes
1answer
131 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
99 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 ...