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.

Filter by
Sorted by
Tagged with
0
votes
2answers
66 views

Need help cleaning my code

\documentclass{article} \usepackage{amssymb,amsthm} \begin{document} \begin{proof} Given $\epsilon<0$,$\left|\frac{1}{\sqrt[3]{n}}-0\right|<\epsilon \Leftrightarrow\frac{1}{\sqrt[3]{n}}<\...
0
votes
1answer
29 views

undesired extra space above `\proof`

In Theorems 1 and 2, there is extra space between the equation and the proof. In Theorem 3, there isn't. What is causing this in the case of Theorem 2 and how can I get the \proof command not to ...
2
votes
0answers
17 views

Strange missing \item with tikzposter and amsthm [duplicate]

Seems that there is a weird interaction with amsthm and tikzposter \documentclass{tikzposter} \usepackage{amsthm} \theoremstyle{definition} \newtheorem*{defi}{Definition} \begin{document} \begin{...
2
votes
1answer
28 views

Proof heading moved when combining mdframed, amsmath and amsthm

I have a document in which I declare a thm environment using amsthm, and then I decorate these theorem using \surroundwithmdframed from mdframed package. In addition, I have the amsmath for other ...
1
vote
1answer
46 views

Italics in definition and proof environment not working simultaneously

I am writing my thesis and am using the amsmath package for the theorem/lemma/definition/proof environments. I am having trouble figuring out how to simultaneously have the "definition" environment in ...
0
votes
0answers
15 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} \...
2
votes
1answer
23 views

How can I automatically append a symbol to an asmthm environment?

I recently got attached to the idea of finishing definitions, remarks, and observations with something “dual” to qed as appended to \proof environments – I currently define \newcommand{\fin}{\hfill\...
2
votes
3answers
55 views

Additional space around `proof` using `parskip`

I'm using the package parskip with the amsthm environments, and I noticed that additional spacing are added above and below the proof environment: Any idea how to fix this? A similar question was ...
0
votes
1answer
71 views

Unwanted gray line using mdframed

I'm using mdframed to surround my theorem environment with a double line on the left side (trying to reproduce Hatcher's "Algebraic Topology"). It works nearly perfectly, except for two little ...
1
vote
1answer
56 views

having issue with the proof environment

I am using theorem, lemma,corollary, and proof environments with the following way. \newtheorem{theorem}{Theorem} \newtheorem{corollary}{Corollary}[theorem] \newtheorem{lemma}[theorem]{Lemma} \...
0
votes
0answers
37 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
1answer
77 views

Footnote outside theorem environment

I tried to add a footnote in a tcolorbox based theorem environment, which is showing right inside the theorem box. How to position footnote at the bottom of the page? \documentclass[a4paper]{article} ...
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 ...
3
votes
2answers
46 views

newtheorem definition and numbering

I want to create two environments, problem and subproblem. I will use the problem environment to define main problems, and subproblem to define variations to the main problem. I'd like to have the ...
2
votes
1answer
38 views

How to get around cref reference format undefined when using * variant of newtheorem

I would like to know a way to use newtheorem* and use cref on the labelled theorem. cleveref doesn't seem to work nicely with this * variant. Example resulting in "cref reference format for label ...
0
votes
0answers
53 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 ...
4
votes
2answers
84 views

Why are inline math symbols shifted left when used inside italic text?

If you are familiar with amsthm, you probably know that the default font for theorems is italic. If you put inline math into a theorem (or more generally, inside italic text), it gets somehow shifted ...
0
votes
0answers
24 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.
2
votes
3answers
60 views

Math expressions in italic text have more space on the right side than the left side

Minimal reproducible example: \documentclass{article} \usepackage{amsmath} \newtheorem{lemma}{Lemma} \begin{document} \begin{lemma} Suppose that \(a\) and \(b\) are integers. \end{lemma} \end{...
0
votes
1answer
22 views

Use the formatted numbers of theorems

In the code below, I would like to store the number of theorems as there are formatted by amsmath. How can I do that ? My code stores 1, 2, 3, 1 instead of 1.1, 1.1, 1.1, 2.1. In other cases the ...
1
vote
1answer
24 views

Adapting a document to tglat2e style and its conflicts with amsthm and caption

I am trying to adapt my document to the tglat2e-style of this journal. Please take a look at this MWE: \documentclass{tglat2e} \let\proof\relax \let\endproof\relax %This trick is due to David ...
0
votes
1answer
42 views

Sub-numbering for Theorems, but the sub-theorems as separate blocks

I would like to have letters as sub-numbering for some theorems, similarly to this question, but I would like to have the two sub-theorems ''separately'', to be able to include anything between them. ...
0
votes
0answers
25 views

What Greek Letter is this? [image] [duplicate]

I don't see it on here: https://www.overleaf.com/learn/latex/List_of_Greek_letters_and_math_symbols Edit: Body must be at least 30 characters
3
votes
2answers
280 views

Empty proof as standalone

I've made an empty proof as a joke (the worst kind of visual proof). It works fine when I use the article document class, \documentclass{article} \usepackage{amsthm} \begin{document} \begin{proof} \...
2
votes
1answer
102 views

How to obtain non Italic theorem text

Please believe me this is not an Off Topic in TEX. Wait and see that I SEARCH the web and go deeply into questions for this but nothing found: Can we equip ‎AtBeginEnvironment with two option ...
1
vote
1answer
33 views

Theorem Environment, Text in math mode breaks out of margin

Could someone explain to me why some of the text in math mode breaks out of the margins? Edit: Sorry for the bad question formatting. Why is it that when I paste things it runs on like a single ...
0
votes
1answer
43 views

Wrapping text in Enumerate environment

Is there anyways to have the text totally wrap underneath each item? \documentclass[a4paper,12pt]{extarticle} \usepackage[utf8]{inputenc} \usepackage{amsthm} \usepackage{amsmath} \usepackage{...
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 ...
4
votes
3answers
284 views

line break after the word “proof” in proof environment

I would like a proof environment that satisfies the following constraints: The proof must start on a new line after the word “Proof”. The word “Proof” and the first line have to be on the same page. ...
0
votes
2answers
60 views

Using ntheorem with amsbook

I'm working with an amsbook document, and I want to use the ntheorem package. This is unsurprisingly causing a complaint with the amsthm package implicitly loaded for the amsbook documentclass. There'...
2
votes
1answer
59 views

\NAME equivalent for ntheorem?

I am trying to color only the NUMBER part of my theorems and corollaries. After some fiddling I was able to produce the following image which I am almost happy with In the code below I have the line ...
0
votes
0answers
47 views

Unwanted Space when citing in theorem header [duplicate]

Could someone please provide me a clue, why the following minimal working example produces the output Theorem 1 ( [1]). Lorem ipsum. instead of Theorem 1 ([1]). Lorem ipsum. (notice the ...
5
votes
1answer
145 views

Stars left to theorem (for exercises)

I would like to be able to do something like this \begin{exo}[Name][\Star\Star] Content \end{exo} which would print something like **Exercise 7 (Name). Content I want exo's counter to share the ...
0
votes
0answers
46 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 ...
3
votes
1answer
63 views

How to include origin in problem statement

I am trying to compile a list of math olympiad problems. Normally I would simply use amsthm, define my own environment "problem", set some of its parameters and be done. However, I am struggling with ...
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} \...
0
votes
1answer
55 views

Hiding brackets after a definition

I use amsthm package to define the environment as \documentclass[a4paper,11pt,twoside,openright,notitlepage]{book} \pdfobjcompresslevel 0 \usepackage[a-1b]{pdfx} \usepackage[utf8]{inputenc} \...
1
vote
0answers
60 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] \...
2
votes
1answer
81 views

Custom theorem style: Why do I get “Underfull \hbox ” warning?

Why does the following code produce Underfull \hbox (badness 10000) in paragraph at lines ... warning? \documentclass{article} \usepackage{amsmath} \usepackage{amsthm} \newtheoremstyle{solutionstyle}...
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 ...
2
votes
1answer
53 views

In proof environment , “proof” doesn't show at the beginning of a proof in pdf

I use a proof environment in a solution environment which inside a description environment. But after compiling my tex file, in the pdf file the proof doesn't show at the beginning of a proof. "...
0
votes
1answer
103 views

Hanging indent in an amsthm theoremstyle [duplicate]

I'm aiming to have a theoremstyle which has hanging indentation, where all lines after the first line are indented by some amount of space. I've searched for previous answers to similar questions, but ...
3
votes
1answer
45 views

Theorem, big Paralist and Amsart

I'd like to enunciate a theorem with a large list of graphs (tikzcd) side by side. You can see that Tex skips a large space in the theorem and still does not show the whole list. I think the problem ...
3
votes
1answer
215 views

Create a claim environment for nested claims inside theorem proofs using thmtools

Consider the following declarations: \usepackage{amsmath, amsthm, amssymb, thmtools} \declaretheorem[numberwithin = section]{theorem} \declaretheorem[sibling = theorem, style = definition]{...
4
votes
1answer
92 views

apxproof and formatting titles

I'm currently working with the apxproof package and I'm having some minor trouble with it... Consider the following MWE: \documentclass{article} \usepackage{amsthm} \usepackage{apxproof} \...
2
votes
1answer
54 views

Bug in proof environment? [duplicate]

I am trying to give students an empty space for a proof. So it should start the with the word Proof then empty space, then the little square at the bottom of the empty space. When I specify the ...
0
votes
0answers
18 views

Theorem environment switch

In the accepted answer to this question, the poster mentions implementing a custom environment (rather overwriting the theorem environment) that allows them to switch between a theorem/proposition/...
4
votes
1answer
120 views

Print all theorems

\documentclass[french]{book} \usepackage[french]{babel} \usepackage{amsmath} \usepackage{amssymb} \usepackage{amsthm} \begin{document} { \newtheorem{theorem}{Théorème} \newtheorem*{theorem*}{...

1 2 3 4 5 11