{theorems} are environments which are commonly numbered. They are extensively used in math texts. Examples of such environments are theorems, corollaries, lemmas, propositions, remarks and definitions. Popular packages are {amsthm}, {ntheorem}, and {thmtools}. Covers discussion on proofs too.

learn more… | top users | synonyms

2
votes
2answers
25 views

Changing the theorem's title style

I need to change the style of the theorem title ( bold and no ponctuation after the title) : \documentclass[french,a4paper,12pt]{report} \usepackage{babel} \usepackage{graphicx} ...
2
votes
0answers
22 views

Framed theorem environment spread across pages

I wanted to put a vertical line in front of examples to make them easier to distinguish from the regular text. For this I used mdframed, and it mostly seems to work. However, if an example happens to ...
4
votes
1answer
26 views

Why is the space underneath my theorems not showing up?

I styled my amsthm theorems with mdframed. I tried to add some space before and underneath my theorems with skipabove and skipbelow as stated here on page 6. \documentclass{article} ...
4
votes
1answer
35 views

How to nicely split proofs into different parts?

I often break long proofs into smaller pieces, in order to make it easier to read and understand. I'm doing that by adding a fbox with "Part X: ...". However, this doesn't work out very well all the ...
3
votes
0answers
24 views

How to prevent my theorems from breaking off at a pagebreak?

I styled the theorems in my document a bit, using the mdframed package. I'm glad with the result, but the frame sometimes breaks off incorrectly. I've created a sample to show you what's going wrong. ...
2
votes
2answers
46 views

Enumerate: make labels and items aligned left within a theorem

Just what the title says: I want to make an enumerate list in which both the labels and items are aligned to the left. I can currently only get one or the other. Minimal working example: ...
2
votes
2answers
47 views

Center labels in enumerate within a theorem

Here is a minimal working example, based on this answer: \documentclass{report} \usepackage{amsthm} \usepackage{enumitem} \SetLabelAlign{Center}{\hfil#1\hfil} ...
2
votes
1answer
102 views

Background colors with mdframed: is this behavior normal?

Introduction With the help of this answer, I tried to define a semi-transparent background for a theorem-like environment. Here is my solution: \documentclass{article} ...
1
vote
1answer
50 views

Theorem numbering: use dash instead of period

In the following code, my theorem head looks like this: 1.1 Theorem I want it to look like this: 1-1 Theorem MWE: \documentclass{report} \usepackage{amsthm} \newtheoremstyle{theorem} {1em} % ...
5
votes
1answer
41 views

End mark for unnumbered and continued examples

Consider the following MWE \documentclass{article} \usepackage{amsthm} \usepackage{hyperref} \theoremstyle{plain} \newtheorem{theorem}{Theorem}[section] \theoremstyle{definition} ...
2
votes
2answers
45 views

Getting Examples to look like Theorems/Lemmas/Corollaries

How do you get a latex document to present example in the same bold type face as you can for theorems/lemma/corollaries?
2
votes
2answers
77 views

Theorem style like (1.1 Theorem) and custom theorems like (1.2 Intermadiate Value Theorem)

I'm searching for a theorem style like that the one that is used in this book: Elementary Analysis by Ross I've got already most things working, except that I want to get a custom theorem like this: ...
2
votes
1answer
35 views

pagebreak and amsmath theorem environment issue

In the example below, you'll notice that when a \pagebreak is used right after the theorem, an unwanted vertical blank space is added after the theorem environment while it should not. ...
1
vote
0answers
31 views

No break line after theorem name in beamer

I have applied the answer of question Theorem content right after theorem name in beamer to my question. I put \normalfont after \inserttheorempunctuation but the result is unexpected. Could you ...
2
votes
1answer
28 views

How can I apply a custom-defined theorem environment to nested theorems *only*?

In a previous thread, I asked about the possibility of defining a custom theorem environment whose QED symbol would be a boxed version of the theorem's name/number/label. There, I was graciously ...
1
vote
2answers
24 views

How to reset counter for un-numbered subsections?

\documentclass{amsart} \newtheorem{theorem}{Theorem}[section] \begin{document} \subsection*{1} \begin{theorem} blah is blah \end{theorem} \begin{theorem} bloo is bloo \end{theorem} ...
15
votes
4answers
535 views

How do I use the boxed theorem name as a QED symbol

I'm wondering if there's a relatively simple way to achieve a result similar to the following: In particular, I'd like to be able to assign names and/or numbers to theorems/lemmas/propositions and ...
0
votes
0answers
29 views

I want “Theorem A.1.” instead of “Theorem Appendix A.1.” in the appendix

I have \newtheorem{theorem}{Theorem}[section] in the preamble. When stating a theorem in the appendix (after \appendix), I get Theorem Appendix A.1. The theorem .... How does one suppress ...
6
votes
2answers
94 views

How do I make all the theorem-alike environments have an ending symbol?

I have a question about making an ending symbol. It is a LaTex-default that every proof environment has an ending symbol. I want to make every theorem-alike environment such as the example ...
1
vote
1answer
30 views

How to use \theorem?

I don't know why this doesn't work: I'm a beginner in LaTeX and I'm trying a lot to understand this. The code: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[english]{babel} ...
6
votes
2answers
80 views

Beamer newtheorem translation

Consider the following MWE: \documentclass{beamer} \usepackage{lmodern} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage[spanish]{babel} \uselanguage{Spanish} \languagepath{Spanish} ...
4
votes
1answer
42 views

Including a Theorem in a section heading

Within my thesis I am attempting to number the studies listed throughout. I have used a custom theorem style for this: \newtheorem{study}{Study} First Issue I then want to use this within my ...
2
votes
1answer
23 views

complaints of glue length “mu”; amsart; list of definitions

So I have the following MWE: \documentclass{amsart} \usepackage{etoolbox} % Modifications to amsart ToC-related macros... \makeatletter \let\old@tocline\@tocline \let\section@tocline\@tocline % ...
3
votes
1answer
25 views

Line thickness `thmbox`?

I'm using the MWE below to create a color box for my theorems. The box consists of two parts: the horizontal line on top and the rest. I want to be able to adjust the thickness of these two parts ...
3
votes
1answer
71 views

how to use several style for boxed theorem and remark with mdframed?

I have modified this code Issue with mdframed package in order to satisfy my taste: \documentclass[a4paper,10pt]{memoir} \usepackage{xcolor} \usepackage[framemethod=tikz]{mdframed} ...
5
votes
1answer
66 views

Number in newtheoremstyle is not italic

I defined and used a new theormestyle using amsmath package: \newtheoremstyle{standard} {\topsep} % ABOVESPACE {\topsep} % BELOWSPACE {\normalfont} % BODYFONT % \itshape {0pt} ...
3
votes
2answers
101 views

Subsection label appearing within text

I have a document in "book" format (strictly speaking, in an environment defined by the book publisher I am using, the details of which are way beyond my comprehension), and I very much want to have ...
5
votes
0answers
67 views

How to see dependencies between theorems [duplicate]

I have a paper that uses \label for naming theorems, propositions and etc. We say that a theorem, proposition and etc X depends on the theorem, proposition and etc Y if Y is mentioned in the closest ...
1
vote
1answer
57 views

QED sign does not always occur with package ntheorem

I want to construct some theorem-type of environment by using package ntheorem. I have edited the following source codes: \documentclass[A4paper]{article} \usepackage{amsmath} \usepackage{amsfonts} ...
0
votes
1answer
69 views

Chapter No. in Theorem style

I'm using \documentclass{book}. I'm also using the code below to create a theorem style, however, it only puts the title on top. I want to modify the code so that I get => Theorem ch. no. theorem no. ...
2
votes
1answer
40 views

What's the difference between \newtheorem{remark}*{Remark} and \newtheorem{remark}{Remark}?

Does anyone know the differences between \newtheorem{remark}*{Remark} and \newtheorem{remark}{Remark}?
3
votes
3answers
143 views

How to change the way theorems are numbered

I am trying to write a small note in which there are no sections, and the theorems go from 1,2,3. In the following code, for example: \documentclass[12pt]{article} ...
4
votes
2answers
58 views

Changing style of “Proof of…”

In reference to the answer in How to place all proofs automatically in appendix? I would like to change the style of "Proof of..." (proofs put in the end) to bold faces for instance, but I don't want ...
3
votes
2answers
53 views

Appendix section numbering that mimicks theorem numbers?

I have a document with several theorems ("\begin{restatable} \label{thmA}..."). After each theorem I have the statement "see proof in section \ref{sec:thmA:proof}". So my appendix is now a long ...
0
votes
0answers
49 views

Theorem Style in text

This is a typographical question as opposed to a tex question. I want to standardise my theorem style when typing in normal text. Some of my theorems have names: Mordell-Weil Theorem, BSD Conjecture ...
3
votes
2answers
164 views

Theorem style with surrounding lines

I'm using \documentclass{book}. I would like to create theorem styles as shown in the picture below but WITHOUT \tcolorbox. For some reason \tcolorbox doesn't work for me. Any ideas? Thanks in ...
0
votes
0answers
49 views

How can I make a numbering as for theorems and lemmas for postulate?

We write \begin{theorem} the theorem \end{theorem} for theorems, lemmas, corollaries and so on. For reasons of content I want to do the same for postulates. How?
2
votes
1answer
33 views

Putting table in a theorem environment sends it to the very end of the document

I'd like to illustrate my \begin{example} \lipsum[2] \end{example} with a table yet adding the table to the environment sends it to the very end of the document: \documentclass{article} ...
0
votes
1answer
26 views

cleveref, ntheorem and lj-igpl

The cleveref package doesn't work properly with the lj-igpl package. There are many discussions about cleveref, however, none of them solves my problem. I am using the ntheorem package as well, but ...
5
votes
1answer
55 views

Newtheoremstyle head aligned with top of tabularx

Here's an example : \documentclass[12pt]{report} \usepackage{amsmath, amssymb, amsthm} \usepackage{tikz} \usetikzlibrary{shadows} ...
5
votes
1answer
89 views

Remove a dot from a style!

I'm using the code below to create a theorem style. The style, however, leave a dot after the title in the title box. I want to remove that. Any ideas? \documentclass{article} ...
2
votes
3answers
77 views

Using a theorem-based environment inside a list

When I include a theorem-based environment right after the start of a list item, a linebreak is inserted that looks a little funny. \documentclass{article} \usepackage{amsthm} ...
3
votes
1answer
50 views

Indentation of list in a theorem environment

Typically, the body in a theorem environment begins on the same line as the heading. If the text begins with a list, the first line looks a little funny due to the indentation before the label. I'm ...
2
votes
2answers
85 views

Referencing Definition by Name and Optional Argument

I have the following MWE: \documentclass{article} \usepackage{amsthm} \usepackage{hyperref} \newtheorem*{definition}{Definition} \begin{document} \section{Section Definitions} ...
1
vote
1answer
13 views

Latex stops referencing theorem environment

I'm resuming a project after some weeks. Now, when I reference some theorem, the result are that bored question marks (??). For theorems that already exists, refence to that works well, but ...
6
votes
2answers
104 views

Writing “Proof of . . .” cleanly in svjour3

Perhaps I am spoiled by amsthm, but I rather like being able to freely rename the proof environment, especially when there are intervening statements. For example: Example 1: nice behavior ...
4
votes
1answer
61 views

Theorem Numbering in beamer

I have separate tex files for my different lecture slides. I am trying to number my theorems by the lecture number. I am using the following: \setbeamertemplate{theorems}[numbered] But it starts ...
1
vote
0answers
62 views

Custom theorem numbering … and extend to lemma etc [closed]

In Custom theorem numbering @egreg provided a way to custome theorem numbering: \documentclass{article} %\usepackage{amsthm} %% uncomment to see the difference \newtheorem{innercustomthm}{Theorem} ...
3
votes
1answer
53 views

Assigning Theorem number from ref

I would like to know if there is an easy way to the following. I have a statement in later part of an article, say Theorem G with \label{Thm:G}. In the introduction I would like to state this ...
6
votes
2answers
125 views

amsthm with shared counters messes up autoref references

When I define amsthm theorem environments with shared counters, autoref messes up the names of the references. For example, in the output below, we should have "Definition 2" instead of "Theorem 2". ...