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
2
votes
1answer
50 views

Forbid qed symbol to go on next page

I'd like to forbid the \qed symbol to go on the next page in a proof, as the result is ugly: Any idea how I could solve the problem, ideally by only modifying the proof and/or subproof environments? (...
0
votes
3answers
42 views

Help understanding a list of commands to define a Hebrew environment

I want to define two new theorem-like environments in my LaTeX document, based on the amsthm package, to produce a Hebrew heading for an "example" environment with the word "דוגמה" ...
1
vote
1answer
30 views

How to change the contents of a theorem-like environment from italic to upright lettering?

\documentclass[12pt]{article} \usepackage{amsmath,amsfonts,mathtools,authblk,amssymb,amsthm} \newtheorem{theorem}{Theorem}[section] \newtheorem{corollary}[theorem]{Corollary} \newtheorem{lemma}[...
1
vote
1answer
23 views

tex4ht: strange rendering of inline math in subsection

MSE: \documentclass{amsart} \begin{document} \section{Test C} \subsection{Test Ca} \begin{proof} \end{proof} Let $x\in\mathbb R$ be a real number, then we have $x^2\ge0$. \end{document} The output ...
0
votes
0answers
31 views

Theorems in itemize/enumerate do not align with bullets

I am starting off enumerate bullets with some custom theorem environments using amsthm and thmtools. Here is the misaligned example along with the code. Notice how the "proof" environment ...
0
votes
1answer
48 views

Journal Springer nature 2021 latex template and proof environment

I am using the latex template of Springer Nature from here. Even though \usepackage{amsthm} is defined, \begin{proof ... \end{proof} is not recognized and gives this error: Missing $ inserted. \end{...
0
votes
2answers
68 views

How do I get the name right with alignment?

I have a code like \begin{aligned}{\emph{Culling}} \forall x(\Sigma(x)\leftrightarrow & \Pi \wedge\\ & \forall m,n((m, y)\})\end{aligned}, and amsmath & amsthm are among the packages....
4
votes
1answer
95 views

Reduce font size within all proofs

I'm working on some notes with plenty of proofs. I'd like to reduce the font size of the proofs, while holding constant the size of the rest of the text. Here is some code that achieves this by ...
2
votes
1answer
27 views

Theorem-like environment with optional title

I'm using the amsthm packages for theorems. I would like to define an environment paragraph which should resemble the look of a theorem environment (definition theoremstyle), but it shouldn't say 1.1 ...
1
vote
1answer
56 views

Collect duplicates of all environments of certain type

I'm writing a workbook for students with homework exercises and their solutions contained. For the ´´homework-exercise´´ and homework-exercise-solution I defined custom environments using amsthm. ...
0
votes
1answer
61 views

Newtcbtheorem with 3 entries (#1,#2,#3)

For example, if I have a newtcbtheorem in which I have a first entry#1=name of corollary and a second entry=label of corollary, could I add a third entry=Corollary of Theorem \ref{th:#3}? See this ...
1
vote
0answers
28 views

Citation inside amsthm definition causing compilation problems [duplicate]

Directory contents These are the contents of my directory: . ├── bibliography.bib ├── Makefile └── template.tex I outline the contents of each file below. bibliography.bib @misc{ ...
0
votes
1answer
51 views

Proof without numbering

I am trying to remove the number from proof, but I could not. When I used amsthm package I got several errors. How to remove numbering of proofs without using amsthm package? \documentclass[11pt]{...
0
votes
1answer
47 views

LaTeX breaks after I add /proof

If I add \begin{theorem}, everything goes fine. If I add proof for the theorem, LaTeX breaks. Without Proof. \begin{theorem} \label{Theo:1} Hello, this is a theorem. \end{theorem} With the Proof, it ...
2
votes
2answers
146 views

remove the dot after Theorem while using the cleveref package

I want to remove the dot after the numbering of theorems, definitions etc. within the amsthm package. (So I get Theorem 1.1 instead of Theorem 1.1.) (EDIT: I want to remove the dot from the theorems ...
0
votes
2answers
88 views

How can I limit how much LaTeX can stretch the vertical spacing between definitions, theorems, lemmas, corollaries, proofs, etc.?

I am working on a long document that includes numerous definitions, theorems, lemmas, corollaries, and proofs. These are defined in the preamble using the amsthm package as follows: \usepackage{...
0
votes
0answers
28 views

Modify AMS theoremstyles using tcolorbox

The amsthm package has predefined theoremstyles: plain,definition,remark. I would like to modify each style using tcolorbox. For instance, if a theorem environment is created using the \newtheorem ...
0
votes
0answers
37 views

Set background color and border in AMS \newtheoremstyle

I use the amsart class. I would like to define a theorem style using the \newtheoremstyle command so that theorems in this specific style have a background color -- say red -- as well as a coloured ...
0
votes
0answers
18 views

Disable italic in remark environment

When I use \theoremstyle{definition} then make a new environment name, when I apply the environment to use, the name itself(for example, notation, claim, ... the name shown at the top of environment) ...
1
vote
1answer
38 views

How to obtain a line break in an amsthm definition containing a citation?

Consider following MWE : \documentclass{article} \usepackage{amsmath} \newtheorem{fruit}{Definition of a kind of fruit} \begin{document} Let's define some fruits. But first some text to reach till ...
4
votes
1answer
77 views

How to avoid bracket for theorem environment (authoryear) argument?

Is there a way to avoid brackets for the argument of a theorem environment? I want to see Theorem 1 [1]. instead of Theorem 1 ([1]).. Here is an mwe. \documentclass{article} \usepackage{amsthm} \...
0
votes
0answers
34 views

How to get \qedhere work well in math mode for custom QED symbol?

I defined a new QED symbol for theorems, named \simpleqed, and added a \pushQED{\simpleqed} to the theorem style. However, \qedhere doesn't work well in math mode: Below is a MWE, how can I fix this ...
6
votes
1answer
78 views

\selectlanguage in the middle of text causes extra vertical space

Consider the following example: \documentclass{article} \usepackage[french]{babel} \usepackage{amsthm} \begin{document} Some text \begin{proof} \end{proof} \begin{proof} \end{proof} Some text \...
2
votes
1answer
61 views

Avoid parentheses when optional header material is not visible? (theorem environment for ams style)

I am looking for an extension to the solved question in Avoid parentheses around optional header material in theorem environment for ams style?. I would like to have optional header text for a theorem ...
1
vote
1answer
50 views

AMSTHM package in Chapters [closed]

While writing a report for thesis submission I have divided the chapters into separate .tex files but I have to use the amsthm package in the chapters. I included the package in the main .tex file, ...
1
vote
0answers
47 views

Using cleveref for referencing amsthm objects in beamer

I am a beginner with amsthm, and I'm using cleveref for referencing the theorem s/definitions/lemmas. BTW, all of this is happening in beamer. On using \Cref{label} for definitions, lemmas, and ...
1
vote
2answers
24 views

Amsthm with an independent couter prepended that only increases when the theorem is called in a new subsection

So I was using amsthm definied as following: \newtheorem{dfn}{Definition} \makeatletter \@addtoreset{dfn}{subsection} \makeatother Which means at every subsection if I call the dfn environment the ...
3
votes
3answers
190 views

Is it possible to poke text out the left boundary of a document?

So here I'm using AMS's newtheorem as \newtheorem{dfn}{Definition} \newtheorem{exDfn}[dfn]{Extended Definition} Which I would like to ask if it is possible to left shift the exDfn so that Definition ...
5
votes
4answers
351 views

How to write a Theorem in 2 different sections with the same numbering?

In a maths paper I am writing, I use what I've written below for my theorems. The trouble is, when I write a theorem in section 2, its numbering is something like 'Theorem 2.1.', but when I try to ...
0
votes
0answers
13 views

Referring to environment starting with list

When referring to an environment that starts with a list, the numbering is correct, but when clicking the link created by hyperref, one gets sent to the wrong page. This phenomenon does not happen ...
0
votes
0answers
20 views

Detached corollaries with `cleveref`

I asked a question here about detached corollaries and got very good answers. However, I should have specified that I am also using cleveref, and it is not clear to me how to adapt those answers in a ...
3
votes
2answers
56 views

Corollary far away from its theorem

I am using amsthm with thmtools. When a corollary immediately follows its theorem, the numbering automatically outputs as Theorem n Corollary n.1 Proposition n+1 But what if I insert other numbered ...
1
vote
1answer
54 views

theoremstyle is not applying I think [closed]

I would like to use different theorem styles for my definitions and remarks. but somehow the command \theoremstyle{definiton} does not change anything at all at the moment: here's the code would love ...
1
vote
1answer
57 views

How can I fix compile errors?

I have the following code: \documentclass[13pt]{scrartcl} \usepackage[english,main=russian]{babel} \usepackage{amssymb, amsthm, thmtools} \declaretheoremstyle[ title=Доказательство, bodyfont=\...
0
votes
1answer
30 views

How can I properly fix the vertical alignment of the tombstone (QED sign) in list-proofs? [duplicate]

I frequently encounter the following situation: I am proving a claim which consists of multiple sub-claims, which I've enumerated in a list using the enumerate environment provided by the eponymous ...
1
vote
1answer
76 views

llncs: Upright text in theorems and lemmas

By default the llncs class defines a host of theorem-like environments, without my loading amsthm. Some of them, such as Theorem, Lemma, Corollary, set their text in italics. I think this is not very ...
2
votes
1answer
141 views

How to avoid an hyperref bug (?) in theorems

Sometimes in AMS theorems we use lists. For some reason, when the list arrives just after the \label at the very beginning of the theorem, the hyperref link is corrupted. It suffices to put a single ...
0
votes
1answer
38 views

Combination of \qedhere and \tag on the left

If I put a \qedhere in combination with \tag{2} but on the left I get an error: Package amsmath Error: Multiple \tag. The error also say to copnsult the documenation, thing I did and put a \mbox ...
0
votes
0answers
30 views

Error with amsthm package: ! Missing { inserted.<to be read again>T \begin{theorem} T

My file is: \documentclass{article} \usepackage[utf8x]{inputenc} \usepackage[english, hebrew]{babel} \usepackage{amsmath} \usepackage{amssymb} \usepackage{amsfonts} \usepackage{amsthm} \newtheorem{...
0
votes
1answer
32 views

Incorrect spacing between theorems when a figure is between them

I have a document with two theorems one after the other. The first theorem has a diagram to explain something. My MWE is like this. % !TeX program = lualatex \documentclass{report} \usepackage{...
4
votes
1answer
102 views

Display of references in a math document

In a math article one usually writes for a theorem (or proposition or corollary) in latex: \begin{theorem} \label{theorem1} .... \end{theorem} Now I can reference to this theorem in the article ...
0
votes
1answer
45 views

amsthm: combination of title and label gives problem

After years I have had this problem I discovered today the direct cause, but I would like to understand why it happens and how I avoid the error. I still can't make a MEW and that is the reason why I ...
7
votes
1answer
269 views

Anti-italic in an Italic Environment

I am using a theorem environment with style plain. So far, everything looks great, except that the item indices are italic. The example code is \begin{proposition} Some properties of the cdf $F$ ...
1
vote
0answers
65 views

Controlling the penalty for page-break before proof?

I would like to control the exact penalty for page-breaking between a theorem and proof. For that reason, I cannot use the needspace package as suggested here. I am using both amsthm and cleveref, so ...
1
vote
3answers
141 views

Lualatex + amsthm + polyglossia + CharisSIL = error

The following \documentclass{article} \usepackage{amsthm,polyglossia} \setmainfont{CharisSIL} \newtheorem{defi}{Definition} \begin{document} \begin{defi} Harmless definition \end{defi} \end{...
0
votes
0answers
36 views

mdframed + amsthm + marginnote hides itemize bullet

When using a marginnote inside a amsthm theorem inside an mdframed environment, the first itemize has its bullet destroyed: \documentclass{scrbook} \usepackage{mdframed} \usepackage{amsthm} \...
0
votes
1answer
170 views

Missing \item error on theorem environment!

This code produces the error "! LaTeX Error: Something's wrong--perhaps a missing \item.See the LaTeX manual or LaTeX Companion for explanation.Type H for immediate help.... \end{lem}". I ...
0
votes
1answer
64 views

Proof environment help needed

I have a bit of an issue that I want to resolve. The issue here is that I want the next line in the proof environment to also be bolded and so on, that is consider the following MWE: \documentclass[...
1
vote
1answer
29 views

Pass parrameter of custom enviroment as parameter of theorem

I want to create basically a shortcut for \begin{sometheorem}[optional parameter] \leavevmode \vspace{-\baselineskip}\vspace{-\baselineskip}\vspace{3pt} %some space adjustments \begin{leftbar} ...
1
vote
1answer
69 views

Why is \leavevmode required in this example?

In the following mwe, If I comment out \leavevmode in the redefinition of the equation* environment, the proof title disappears \documentclass{article} \usepackage{amsmath} \usepackage{amsthm} % from ...

1
2 3 4 5
13