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
1answer
123 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
46 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
234 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
56 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 ...
4
votes
1answer
123 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*}{...
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{\...
1
vote
1answer
195 views

Conflict between some packages

Here are the packages I am using, but it keeps reporting an error: LaTeX Error: Command \theoremstyle already defined. Or name \end... illegal, see p.192 of the manual. Example: \documentclass[...
2
votes
1answer
171 views

How to include \noindent to a proof environment

I'm using amsthm to get the proof environment and xpatch to modify it a bit: \usepackage{amsthm} \usepackage{xpatch} % we need to substitute . with a generic command \xpatchcmd{\proof}{.}{\...
1
vote
1answer
377 views

How to define new environment, using proof-environment

I'm using the package amsthm and I like to define my own proof environment, where the title proof is replaced by Beweis. So far, I tried \newenvironment{bew}{\begin{proof}[\textsc{\textbf{Beweis:}}]}...
1
vote
2answers
100 views

Prevent new paragraph after theorem environment

Using the theorem style as in the example below, a new paragraph is produced after the Remark. Can I prevent this? (and using the amsthm package at the same time)? \documentclass[english]{scrartcl} ...
1
vote
1answer
29 views

How to renumber a property in a chapter, using lowercase letters instead of Numbers

I want to insert several new propositions in my second section,and name it 'Prop s','Prop t'...,I hope that anyone can help me :) Here is my code. \documentclass{article} \usepackage{amsthm} \...
3
votes
1answer
53 views

How can I have a \newtheorem… environment refer to its thmnote?

I'm currently using \newtheoremstyle to produce the following output: Question: How can I easily modify my MWE (see below) so that the a's in my QED boxes say "Name of Thing", "A Different Thing", ...
0
votes
2answers
207 views

Is there a way to draw the little black square at the end of proof without using the environment \begin{proof}?

Is there a way to draw the little black square at the end of proof without using the environment \begin{proof}... \end{proof}? I know that one way is like says in this question but I'd like to know ...
3
votes
1answer
59 views

Displaymode-like theorem environment

I am having trouble recreating this theorem environment. I want to create an environment that is essentially on its own line, much like a block quote. The only code I have so far just makes the this ...
4
votes
1answer
92 views

Automatic \newpage before every theorem

Using amsthm package, is there an elegant way to automatically get a \newpage before every theorem? Edit: MWE featuring Christian Hupfer's suggestion \documentclass{article} \usepackage{amsthm} \...
3
votes
1answer
174 views

Automatic theorem list

In the accepted answer to Code between \begin{environment} and \end{environment} stored in an array it's shown how to create an automatic list of theorems using expl3 syntax. However the \...
1
vote
1answer
176 views

Remove section number in references to theorems

How can I remove section number and subsections in references to theorems of the same, but not from various, subsection. For example, that would after such a code \documentclass{report} \usepackage{...
0
votes
1answer
26 views

Remarks are not italicized while using amsthm package

I am using the following code but the Remarks are not italicized while using amsthm package \documentclass[letterpaper, 10 pt, conference]{ieeeconf} % Comment this line out if you need a4paper %\...
1
vote
1answer
26 views

Change only the colour of the (bracketed part) of the title of a theorem

How may I change only the colour of the title of a theorem, i.e. the part that appears in brackets after say, "Theorem", "Definition" etc. when using the amsthm package? I have tried passing \color{...
0
votes
0answers
28 views

Extra space in Theorems', Lemmas', etc. title [duplicate]

I am using the following command to include a title (e.g. a citation) as the title of my lemma, \begin{lemma}[\cite{Mieghem11}] This is my lemma ... \end{lemma} but I'm getting an extra space ...
1
vote
1answer
20 views

Section Numbering without Title (`\newtheorem` inquiry)

How can I make use of \section (for numbering purposes) without the big section title. \documentclass{article} \newtheorem{theorem}{Theorem}[section] \begin{document} \section{} \begin{theorem} ...
3
votes
1answer
299 views

Chktex complains about “no italic correction found”, how to fix this?

I use the following code for custom theorems, as I like slanted text in thereoms better than italicized, using amsthm. \newtheoremstyle{thm-sl} {}{} {\slshape} % slanted text instead of italicized {}...
2
votes
1answer
105 views

Figures allowed in amsthm environments but not tcolorbox theorem environments

I can see that figures work without any error within theorem environments defined with the amsthm package, but it does not work in tcolorbox theorem environments. Rather, it throws the error "! LaTeX ...
0
votes
1answer
69 views

Change theorem color using theorem notes in the amsthm package

When defining a new theorem style in the amsthm package, you can specify what's called (according to http://web.mat.bham.ac.uk/R.W.Kaye/latex/thm.pdf) a custom head specification. In there, you can ...
2
votes
1answer
72 views

table of contents like theorem list

In my need of writing a list of theorems I wrote the following code: \documentclass[b5paper, twoside, 12pt]{memoir} % packages \usepackage{amsmath, amsthm, fancyhdr, geometry, hyperref, palatino, ...
3
votes
2answers
321 views

Drop cap theorem style

I would like a theoremstyle-like definition which induces the first letter of the theorem-head to be drop-capped. I do not intend to use counters, at all, with this style. I fully intend to use other ...
4
votes
2answers
136 views

Theorem numbering in starred sections

Let me start with an MWE which illustrates my question. \documentclass{book} \usepackage{amsthm} \newtheorem{theorem}{Theorem}[section] \begin{document} \chapter{Some title} \section{Another title}...
4
votes
2answers
186 views

Centering ornaments from `pgfornaments` around a theorem environment?

Here is my minimal code: \documentclass[12pt,letterpaper]{article} \usepackage{lmodern} \usepackage[T1]{fontenc} \usepackage{amsmath} \usepackage{amsthm} \usepackage{pgfornament} \newtheorem{thm}{...
2
votes
0answers
83 views

Adding parentheses to number of theorem [closed]

I am trying to add parentheses to number of definition. I found such link, but it doesn't work for me: it gives me error "Missing number treated as zero" \documentclass[a4paper,12pt]{article} \...
3
votes
1answer
92 views

Indented theorem and proof environemnts

I would like to be able to recreate the following theorem style, where the main body of a theorem/proof/definition etc. is indented by a variable amount. I would also like to end a theorem proof with ...
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{...
0
votes
1answer
59 views

What's wrong with Requirepackage[leqno]{amsthm}?

I try to write my own documentclass, but something goes wrong when I add an option [leqno] for the package amsthm \NeedsTeXFormat{LaTeX2e} \ProvidesClass{mybook}[2018/05/28 Free LaTeX text book ...
3
votes
1answer
365 views

How can I change the space between lines in theorem?

I am using the amsthm package. I need to change the space between the lines of the paragraph in the body of the all theorems only in the theorem environment and not in the other parts of my report.. ...
1
vote
0answers
18 views

Conflict between amsthm, cref, and hyperref [duplicate]

I cannot determine why this does not compile unless I remove amsthm which I normally include, though I don't exactly know why. \documentclass{article} \usepackage{amsthm} \usepackage{mathtools, ...
2
votes
1answer
24 views

Is there a way to reference theorems which are inside intertext commands?

I am trying to reference a theorem that is inside an intertext: \documentclass{article} \usepackage{amsmath,amsthm} \newtheorem{theorem}{Theorem} \begin{document} \begin{align*} \intertext{\begin{...
2
votes
1answer
25 views

Proof environment with long header causes many problems. How to avoid them?

Suppose we have defined a lemma environment with the amstheorem package. And suppose the proof environment is available via the ams packages. Please consider this example. \begin{lemma} \label{lem:...
3
votes
2answers
104 views

\qedhere warning in description in proof

When I design my iff-proof as follows, I get this warning: The \qedhere command may not work correctly here Is there any way to fix this warning, since the result looks fine, or accomplish this ...
2
votes
2answers
33 views

Additional Vertical Spacing When Using \begin{quote} \begin{thm}

I wish to place one of my theorems inside a quote, in the following way. \begin{quote} \begin{thm}[My Theorem] statement... \end{thm} \end{quote} However, this causes erroneous white space to ...
1
vote
1answer
88 views

Definitions and theorem numbering

I am new to theorems and definitions of the amsthm package and what I am trying to achieve might be really simple. I have the following theorems: \theoremstyle{definition} \newtheorem{matriceDef}{...
2
votes
2answers
32 views

Remove horizontal space between proof and start of the proof

I am trying to prove some theorem by using proof environment, but somehow the result is different when I use article as my document class and aip-cp document class. The result when I use article as ...
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
152 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: ...
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]{...
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 ...
2
votes
2answers
89 views

Removing the word “theorem” or defn from a listoftheorems

How can I remove the word theorem/defintion from a list of theorems: \usepackage{amsthm} \usepackage{thmtools} \declaretheorem[numberwithin=section]{defn} ... \listoftheorems \begin{defn}[My ...
4
votes
2answers
277 views

Indent the new line in a theorem environment

I have been looking after a solution to this for a while and have found none. I'm trying to create a Theorem environment, through amsthm, such that there will be a linebreak (just like the break ...
2
votes
1answer
37 views

How to put the amsthm title right of text

How can I put the title of a theorem environment right of the text. Example: \begin{definition}[Titel] Some Text \end{definition} The result should look like this. Where the tile is Strukturbaum ...
2
votes
1answer
154 views

How to make cleveref compress different-level theorems?

Whenever you have differently deep sections in your document and wish to number your theorems (as well as notes, lemmas, propositions, ...) according to the currently deepest level, you tend to write ...
5
votes
2answers
148 views

Odd custom theorem behavior when trying to set default value of optional argument

MWE: \documentclass{book} \usepackage{amsthm} \usepackage{enumitem} \usepackage{xparse} \usepackage{hyperref} \usepackage{lipsum} \newtheoremstyle{fctaylor}% name {\topsep}% Space above {\...

1
2
3 4 5
11