Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

1
vote
0answers
24 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
33 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} \...
0
votes
0answers
15 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
33 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
18 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
37 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
20 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
33 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 ...
0
votes
0answers
22 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
71 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
53 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
13 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/...
5
votes
1answer
83 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
20 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
59 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
49 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
155 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
46 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
17 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
33 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
67 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 ...
4
votes
1answer
43 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
58 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
145 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 \...
0
votes
0answers
15 views

Are combine and newtheorem already working together?

I have the same problem as in this previous post: combine and newtheorem. Roughly, I cannot use the command \newtheorem when I am working within the combine class (see the previous post for a detailed ...
1
vote
1answer
53 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
20 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
21 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
26 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 ...
0
votes
0answers
33 views

Font in theorem-like environment: why is it different?

I noticed that the \itshape fonts are not the same in this picture: What is the "name" of the \itshape font in the theorem-like environment, in this case? How could I force the "normal" \itshape font ...
0
votes
0answers
22 views

Repeating Definitions

I'm using the following to create a new definition. \documentclass{article} \usepackage{amsthm} \theoremstyle{definition} \newtheorem{definition}{Definition}[section] \begin{document} \begin{...
1
vote
1answer
14 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} ...
2
votes
1answer
102 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 {}...
1
vote
1answer
38 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
50 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
60 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
270 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
71 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
138 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
47 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} \...
2
votes
1answer
44 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
64 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
45 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
100 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
16 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
20 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
18 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
54 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
27 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
58 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}{...