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
4
votes
3answers
239 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
30 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
23 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
23 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
114 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
29 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
34 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
37 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
40 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
21 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
36 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
30 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
39 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
132 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
79 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
14 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
88 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
22 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
84 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
58 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
213 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
49 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
18 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
34 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
85 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
44 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
60 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
148 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
18 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
62 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
21 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
22 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
15 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
124 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
51 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
51 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
64 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
278 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
75 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
143 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
52 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
55 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
69 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
46 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 ...