Questions tagged [amsthm]

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.

36 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3
votes
0answers
65 views

Correcting formatting for framed theorems

I have been using the following code to create overhang for my theorems (and other theorem-like environments) for a while now. \documentclass{article} \usepackage{amsthm} \usepackage{mdframed} \...
3
votes
0answers
495 views

Placement of amsthm's proof and theorem environments

Since when I started LaTeXing I've always wrote the proof environment inside the theorem, but I see many templates or answers in which first the theorem is ended and then the proof is begun. Namely, ...
2
votes
1answer
99 views

Unnecessary dots in theorems and figure numbers

I know, that it is possible to add dot after the chapter / section / subsection number. But if I use \renewcommand{\thechapter}{\arabic{chapter}.} \renewcommand{\thesection}{\thechapter\arabic{...
2
votes
0answers
96 views

Formatting an implication cycle proof

Some theorems/lemmata/propositions start with "If [...] then the following are equivalent:". After this, an enumeration (i), (ii), (iii) follows. The proof is usually done in an "implication cycle":...
2
votes
0answers
153 views

How to change the style of a theorem at LyX?

As a continue to this question - Why the amstools doesn't work here? - I think to ask it from a different view: I'm using this at Lyx and I want to change the style of the theorems like here: ...
2
votes
0answers
336 views

Importing and Exporting LyX files with AMS environments

I'm having some trouble converting LyX files that use AMS environments back and forth between the .lyx format and the .tex format. To see what I mean, here is a minimal example. Starting with the ...
2
votes
0answers
195 views

mdframed: continuous background for adjacent blocks

Is it possible for multiple mdframed blocks to have a contiguous background and border if they are next to each other? Here's an example: These blocks are one after the other in code. They appear ...
2
votes
1answer
181 views

Dynamic counter for corollaries of Theorems and Propositions at the same time

In the question Dynamic counters for corollaries Christian Hupfer has give a beautiful answer using his package xcntperchap in which corollaries of a Theorem receive numbers 1, 2, 3,... for each ...
1
vote
0answers
49 views

tex4ht: incompatibility of cleveref and amsthm?

I found that tex4ht doesn't work with cleveref and amsthm. I just modified the HWE from an old post: \documentclass{article} \usepackage{hyperref} \usepackage{amsthm} \usepackage{cleveref} \...
1
vote
0answers
66 views

How to define an environment for a boxed and named theorem?

The environment below gives a boxed theorem with normal font (non italic text). \documentclass[11pt]{article} \usepackage[tikz]{mdframed} \usepackage{amsthm} \newtheorem{thm}{Theorem}[section] \...
1
vote
0answers
19 views

Problems with an automatic theorem list

I took the code from this thread and modified it a little to fit my personal needs. Everything works fine until I add a second theorem environment, which in the MWE I'm posting is the lemma ...
1
vote
0answers
57 views

cleveref switches the reference order

Suddenly, in a unique example that I can't seem to reproduce in a MWE, cleveref switches the order of my references. Here's my configuration of cleveref and the theorems: \usepackage[backref=page]{...
1
vote
0answers
32 views

Newtheorem, disable textit inside math mode

I have following command from amsthm in my document: \newtheorem{mytheorem}{Theorem}[chapter] With the following usage: \begin{mytheorem} The following holds: $A = B + C$ \end{mytheorem} Inside "...
1
vote
0answers
278 views

definitions, lemmas, problems in bold

I use the amsthm package, but somehow all definitions, lemmas, problems are in normal text.. I want them in bold as usual. How can I control that? What I ment is that the text "Lemma 1:" is not in ...
1
vote
0answers
144 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} ...
1
vote
0answers
163 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. ...
1
vote
0answers
356 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 ...
1
vote
0answers
78 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, ...
0
votes
0answers
20 views

Distance between text and footnote mark

Sometimes I add footnotes to my proofs e.g. to specify where I took it from, such as in the following: \documentclass{article} \usepackage{amsthm} \begin{document} \begin{proof}[Proof\footnotemark] ...
0
votes
0answers
34 views

Label and hyperref for newenvironment

I have created a \newenvironment that defines an assumption that allows the user to input their own index (e.g., Assumption A1). I later reference the assumption using \ref{labelname}. The intention ...
0
votes
0answers
17 views

Line break in \newtheoremstyle with itemize

I am using \newtheoremstyle to define a theorem style that has a line break after the header. Following the template here, I have the following MWE: \documentclass{article} \usepackage{amsthm} \...
0
votes
0answers
47 views

Multiple columns in theorem

I use amsthm and thmtools and I want to specify 2 columns in my theorem. I have 2 questions: When I specify it, I obtain a very bad result (there is an issue to break correctly the text) Is there any ...
0
votes
0answers
29 views

Generating warning message about referring to labels later in document

I'm in the process of drafting a long paper comprising many sections that I'm writing in parallel. As a sanity check, I'd like to make sure that whenever I cite, say Lemma A, then I've already stated ...
0
votes
1answer
27 views

Avoid extra linebreak at the end of modified “proof” environment

This question is related to How to change the word "Proof" in the proof environment?. I would like that the proofs in my document begin with "Proof. ---", instead of the standard "Proof." by ...
0
votes
0answers
63 views

Too much free space after a “tcolorbox”

Hi to everybody. I have a problem with my thesis. I used the library "theorems" of tcolorbox. But when i use the ambient proof (i.e. \begin{proof}) there is too much space between the end of the box ...
0
votes
0answers
26 views

Most Elegant Way to Share Theorem/Lemma/Exercise Numbering Across Multiple Articles

I am currently editing a series of notes for a course. Each part of notes is a separate Latex article. But I want the theorem, lemma, and exercise numbering to be consistent between articles. For ...
0
votes
0answers
30 views

A special theorem style

How can I get the following theorem style? DEFINITION 1: THE NAME OF THE CONCEPT TO BE DEFINED Body of the definition Thanks in advance.
0
votes
1answer
37 views

Countinuations of examples

In the accepted answer of the following question: Continuing an earlier theorem-like environment with amsthm & thmtools, two methods are described for continuation of examples. I would like to ...
0
votes
0answers
53 views

Why isn't \def working?

I just learned about the "amsthm" package and I am trying to learn how to use it. As I understand it this package already has some predefined environments such as "def", but I can make new ...
0
votes
1answer
40 views

Lemma numbering not changed in appendix when using a solution

I am trying to implement the lemma numbering solution in this question. I am currently compiling the document from a parent file such that: \usepackage{chngcntr} \usepackage{apptools} \AtAppendix{\...
0
votes
0answers
100 views

Why the amstools doesn't work here?

Look at this file, when I compile it at LyX it says that: And here is the file: % Preview source code %% LyX 2.3.0 created this file. For more info, see http://www.lyx.org/. %% Do not edit unless ...
0
votes
0answers
492 views

Package ntheorem Error

After compiling this script: \documentclass[a4paper,10pt]{book} \usepackage[frenchb]{babel} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{geometry} \usepackage{amssymb,amsmath,...
0
votes
0answers
141 views

Let TeX Studio recognize \declaretheorem

For some reason, my new TeX-Studio (TeXstudio 2.11.2, running on Ubuntu 16.04) does not recognize theorem environments defined by \declaretheorem. MWE: \documentclass{article} \usepackage{amsthm,...
0
votes
0answers
51 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 ...
0
votes
0answers
171 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 and ...
0
votes
0answers
153 views

Option thref of package ntheorem causes equation numbering problem with amsmath's split environment

See the MWE first: \documentclass{article} \usepackage{amsmath} \usepackage[amsmath, thref]{ntheorem} \begin{document} \begin{equation} \begin{split} a & b\\ c & d \end{split} \end{equation}...