{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

0
votes
1answer
16 views

Place theorem number *before* theorem label in page header?

In the accepted answer to Put current theorem-like item's name/number in header, it is shown how to put in the page's header the label of the (last-on-page) theorem, lemma, etc. For example, if ...
3
votes
1answer
27 views

Latex errors with \begin{theorem}

I am trying to create a new theorem in a tex document, but I keep getting an error. Here is the code I am currently using \documentclass[11pt]{article} \usepackage{amsmath} \usepackage{amsfonts} \...
1
vote
1answer
58 views

Mdframed for theorems: how to make fonts similar to amsthm and change title format?

I am making a custom book style for my thesis, and I came up with a style for the theorem environments that I like, as you can see in the image below. However I have two problems: I would like the ...
0
votes
1answer
82 views

Theorem numbering as subsections and automatic solutions

I have a problem environment where the counter is coupled to the subsection counter. However this doesn't work with automatic solutions. I tried to couple the solutions counter to the subsections as ...
3
votes
1answer
31 views

Theorem and chapter with Dot at the end

I'd like to have dot at end of the number of chapter and at the end of the number of theorem. I tried to use something like that: \documentclass{report} \usepackage{amsthm} \newtheorem{definition}{...
3
votes
2answers
47 views

Theorem environment : interaction with enumerate/itemize

My question is related to this one : Is it possible to skip the first line in a theorem environment? Actually, I am looking for a way to implement the solution given there in a somewhat systematic ...
15
votes
5answers
17k views

Defining my own proof environment?

How would I define a proof environment that is basically used with \begin{proof} some proof here \end{proof} and it would be equivalent to: \paragraph{Proof:} some proof here \hfill \box ?
4
votes
1answer
48 views

beamer with numbered theorems not working with cleveref

A want to use cleveref in a beamer presentation. The document defines multiple theorem environments sharing the same counter as follows: \documentclass{beamer} \usepackage{cleveref} \newtheorem{thm}...
2
votes
1answer
60 views

\newtheoremstyle above space does nothing in beamer

I would like to change the space above and below a \newtheorem in beamer. I tried to use \newtheoremstyle, but nothing happens. Here is an example showing above space set to 3000pt which has no effect ...
4
votes
2answers
213 views

Remove space between “Theorem” and theorem number

I'm trying to create a dynamic numbering system for a survey, with questions that I can also reference. I would like to see Q1. What is your age? but playing around with \newtheorem all I can get ...
1
vote
0answers
45 views

Using enumerate within theorem environment [duplicate]

I defined myself a \newtheoremstyle a \newtheorem + \newenvironment as in the following %Theoremstyle with \newline \newtheoremstyle{break} {\topsep}{\topsep}% {\normalfont}{}% {\bfseries}{}% {\...
2
votes
0answers
46 views

How to make examples without italic font? [duplicate]

I'm doing a project and in my LaTeX file the examples are in italic. I want to know if there is something I can do to avoid it and put the examples in normal font. I did put the examples as "...
2
votes
1answer
27 views

hyperref and theorems counted by subsection- “pdftex warning (ext4) destination with same identifier”

I have got some problems with hyperref and theorems labeled by subsections: To get the theorems labeled correctly I manually reset the thm counter also at the beginning of new sections. But then I ...
1
vote
1answer
59 views

How can I remove rectangular brackets around definition optional title?

I am fairly new to latex, so i am using a "base" i got, to write my thesis in. At the beginning of the tex file, the following lines are placed, to define theorems and definitons: \newtheorem{theorem}...
2
votes
2answers
56 views

Use \newtheoremstyle to define a custom example environment

I am trying to define a custom example environment for my thesis, but with my limited knowledge of LaTeX I am not able to figure this out from the amsthm documentation. Here is a minimum working ...
2
votes
1answer
53 views

For two column article (ACM template), why does the newtheorem environment (definition) not span into one column?

I am trying to put a definition using the newtheorem environment for an ACM template. After it execution, it is not placed in the single column, rather it span towards the next column. I have attach ...
2
votes
1answer
44 views

Theorem counter does not increment

So this is my code \documentclass{book} \usepackage[utf8]{inputenc} \usepackage{natbib} \usepackage{graphicx} \usepackage{enumerate} \usepackage{parskip} \usepackage{emptypage} \usepackage{multirow} ...
5
votes
2answers
34 views

Is it possible to exclude all theorems of a type from compilation with a single command?

I have a theorem type called application. It is used to list applications of concepts being discussed in a book. I want to exclude them from a compilation in order to generate a preliminary book that ...
2
votes
1answer
64 views

Using “theorem”-like numbering for non-theorem entries

This is perhaps a 2-parter in that 1) I'd like to have certain equations numbered using the theorem counter (and its associated "style") rather than that built into \begin{equation}. Per MWE, equation ...
1
vote
1answer
143 views

Why doesn't my \newtheorem definition of the “definition” environment work?

This is not my command but I copied from some other Latex help website. But when I write \begin{definition} YOLO \end{definition} I get the error message \usepackage{bm} \usepackage{xcolor} \...
2
votes
1answer
30 views

Counter always equal to other counter (at all times)

I know that \newcounter{newctr}[oldctr] will reset newctr to 0 whenever oldctr is incremented. How can I have newctr to have exactly the same value as oldctr at all times? In other words, how can I ...
4
votes
1answer
55 views

How do I show the theorem body in thmtools \listoftheorems

I would like to add a list of theorems to my document so I have included thmtools. This gives a list of theorems but in the following format. 1.1 Theorem . . . . . . . . . . . . . . . . . . . . . ...
3
votes
1answer
5k views

Proposition command doesn't work

Please refer to the below code: \documentclass[a4paper,11pt]{report} \usepackage{a4wide} \usepackage{amsmath} \usepackage{amssymb} \usepackage{graphicx} \usepackage{url} \usepackage{fixltx2e} \...
0
votes
0answers
16 views

Custom theorem title style

I have been trying everything to get my theorems to look like this: The best I could do was defining \usepackage{amsthm} \theoremstyle{definition} \newtheorem{hypo}{Hypomnema} in the preamble ...
1
vote
1answer
38 views

How to get the theorem name in the same font as `theorem'

When writing a theorem with some name I use the command, \begin{theorem}[Paramjit] Hello there I am Paramjit \end{theorem} And this is what I get. How to change the font of the name of the ...
2
votes
2answers
79 views

Get Definition and Theorem numberings to “follow”

I currently have the following set up: \documentclass[12pt]{article} \usepackage[english]{babel} \usepackage{amsthm} \usepackage{amsmath,amssymb,amsfonts} \theoremstyle{definition} \newtheorem{...
1
vote
0answers
23 views

Theorems in italic, but not examples [duplicate]

Is there are way to make theorems, lemmas and definitions in italics, but not examples? E.g., Theorem: This is a theorem. Example: Here is an example. So far, I am using the plain theoremstyle, i.e....
0
votes
2answers
281 views

citation square brackets upright in theorems

How to set up the citation square brackets and numbers in upright in theorems while keeping other stuffs slanted? (This style is suggest by my professor.) The usual appearance is the following ...
0
votes
0answers
18 views

Theorem does not work after MikTeX update; no counter defined [duplicate]

The following stopped working after I updated MikTeX today: \documentclass{article} \usepackage{amsthm} \usepackage{hyperref} \usepackage{cleveref} \newtheorem{definition_}[equation]{...
3
votes
2answers
71 views

theorem and subtheorem hierarchical numbering

I want the numbering of claims, subclaims, subsubclaims, etc to be hierarchically numbered. Is there a way to do this without having to make those extra "subclaim" environments? For example: \...
4
votes
1answer
84 views

How to Make Claims and Proofs start on the same page if possible?

I have a document where sometimes proofs start on a separate page than where their associated claims were stated. Is it possible to force is so that (unless the statement of the claim is more than ...
2
votes
1answer
21 views

How to provide a citation call-out in a definition?

i have used following \documentclass{report} \newtheorem{df}{Definition}[chapter] \begin{document} \begin{df} \cite{wilson} The join of two function... \end{df} \end{document} and the output is ...
3
votes
2answers
60 views

tcolorbox: theorem numbering in the margin is too close to text

I'm using tcolorbox to draw boxes around my theorems. This package also has the option of puting the theorem numbers in the margin as you can see in my MWE below; see page 342 of the manual for more ...
4
votes
1answer
42 views

Using regular theorem environments along with tcolorbox theorems

I am using tcolorbox to draw coloured boxes for my theorems, however for things like a remark, or an example, I would like to have the usual amsthm kind of environment, without any colored boxes. If ...
2
votes
1answer
31 views

changing color when lemma or theorem is cross-referenced

So, using hyperref I know how to change the color of "1" to blue when I say "using Theorem 1". But I want the entire "Theorem 1" to be blue. Similarly when I recall a lemma/theorem/proposition/...
5
votes
1answer
53 views

Theorem environment doesn't behave the way it was supposed to

I'm using the following template to make a poster. What I want is to enunciate a theorem with the theorem environment provided by the amsthm package. The problem is, there's some kind of "structure" ...
1
vote
1answer
28 views

Make proof reference automatically bind to theorem proven or label proofs in ascending order

I was wondering if there's a way to make every proof automatically reference the latest theorem used in my text, or, alternatively, have proofs be labeled with ascending numbers. Allow me to ...
2
votes
1answer
33 views

Number theorems with subsections: “Theorem 1.2.3.4”

I would like my numbering of theorems to be like "Theorem 1.2.3.4" where 1 is the chapter, 2 is the section, 3 is the subsection, and 4 refers to the fourth theorem in this subsection. A solution is ...
3
votes
1answer
27 views

Using/Forcing upright text within theorem environment

I would like to write an equation within a theorem that involves an integrand and the upright symbol $ \textrm{d} $ which I have abbreviated in my preamble with \newcommand{\dmath}{\textrm{d}} (...
3
votes
0answers
37 views

Hidden Theorem Style

i'm using the theorem environment to write edition notes or commentaries in an article. \declaretheorem[ style=myexamplestyle, name={\ding{46} Note }, unnumbered ]{note} Is there a way ...
1
vote
2answers
26 views

Problem with cross-referencing using hypertarget

I have some problems related to the application of an answer that I received to a previous question of mine, that can be found here. Below there is a MWE, where I used \clearpageextensively, because ...
1
vote
1answer
27 views

Theorem Numbering problem - Lettered subsections

I am trying to write theorems that will number based on section and subsection. I know this is the default when you enter, for example: \newtheorem{defn}{Definition}[subsection] but when I do ...
1
vote
1answer
30 views

Label of theorems

Is there an equivalent of \figurename for theorems and lemmas? For instance, given that I've defined \newtheorem{theorem}{Theorem} \newtheorem{lemma}{Lemma} \newtheorem{example}{Example} and in ...
2
votes
2answers
62 views

Adding a title to theorem environment

I am trying to use the theorem environment in my work as Sample Problem. This is my MWE: \documentclass{book} \usepackage{amsthm} \newtheoremstyle{mythmstyle} {}{}{}{} {\bf} {} {\...
1
vote
2answers
58 views

Itemizing theorem body

Using package amsthm, the desired theorem style achieved, \documentclass{book} \usepackage{amsthm} \newtheoremstyle{mystyle}{}{}{}{}{\bf}{}{\newline}{} \theoremstyle{mystyle} \newtheorem*{mythm}{...
1
vote
1answer
18 views

Changing content of \listoftheorems and hyperlinking to text

Here's my MWE: \documentclass{report} \usepackage{amsthm} \usepackage{libertine} % allows bf sc fonts http://tex.stackexchange.com/a/98581/104449 \usepackage{thmtools} \declaretheoremstyle[ ...
2
votes
1answer
38 views

Alternative theorem numbering separator

I'm using amsthm and I want to have this numbering format for my theorems: Chapter-Section-Theorem The main difference with the default version is the use of "-" instead of "." . Can I do this by ...
1
vote
1answer
306 views

Vertical Spacing inside theorem environment

I am using theorem environment to separate different exercises assigned as homework. So my plan is to write exe's description, move a few lines below and then give my solution. I am using \vspace{3cm} ...
2
votes
1answer
22 views

Missing spacing above theorem name

The following MWE \documentclass[10pt,a4paper]{amsbook} \usepackage{amsthm} \usepackage{parskip} \usepackage[utf8]{inputenc} \usepackage[english]{babel} \newtheoremstyle{pcap} % name {\topsep} ...
2
votes
1answer
32 views

Continuous numbering of theorems in report

I have a report class document with sections and chapters: \documentclass[a4paper,12pt]{report} And I need to add theorems \newtheorem{theorem}{Theorem} under chapters \begin{theorem} Let $f$ be a ...