Tagged Questions

{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
1answer
35 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
28 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
57 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
94 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
86 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
56 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
90 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
14 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
126 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
73 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
67 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
54 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
207 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". ...
4
votes
1answer
69 views

Avoid parentheses around optional header material in theorem environment

I would like to get rid of the around the optinal header material in my theorem environment. Here is a MWE \documentclass{beamer} \begin{document} \setbeamertemplate{theorems}[numbered] ...
1
vote
0answers
68 views

Mark end of Theorem

In this answer Palatino text font is used together with the AMS Euler (eulervm) math font. The following statement is reasonable: Note also that because the "Euler" fonts have an upright rather ...
1
vote
0answers
121 views

Faint text after new theorem

This code using \newtheorem produces faint text afterwards. What's the remedy? \documentclass[xcolor=dvipsnames]{beamer} \usetheme[height=9mm]{Rochester} \setbeamertemplate{items}[ball] ...
1
vote
2answers
113 views

How to start new numeration of theorems with every chapter?

What I want? [that way of numbering] 1 How to do squats Theorem 1. Put your barbell on your shoulders. Theorem 2. Squat. 2 How to do bench press Theorem 1. Lean on a bench. Theorem 2. Push. ...
0
votes
0answers
44 views

Hyperlinking theorems in smfart

Edit: The class smfart is one of several classes created by the Société Mathématique de France for typesetting mathematics. Here is its CTAN page, where it lies under smflatex, and here is the ...
5
votes
2answers
61 views

Corollary counter in SVmono

When using the predefined Theorem and Corollary commands using the Springer template svmono, the theorem and corollary counters are different. How can I make the counters match? The desired effect ...
4
votes
2answers
137 views

Proclaim command with multiple paragraphs

In page 131 of "TeX for the Impatient", it says the followings for proclaim command: \proclaim ⟨argument⟩.␣⟨general text⟩\par This command ``proclaims'' a theorem, lemma, hypothesis, etc. It sets ...
0
votes
1answer
44 views

LaTeX is truncating my theorem reference numbers. How do I correct this?

I will have a Theorem, Lemma or Corollary and it will be numbered, say for example, 2.2.3 ... Unfortunately, every reference back to ANY Theorem, Lemma or Corollary simply state 2.2 ... It seems to be ...
1
vote
1answer
76 views

Theorem style - define indentation

I have a real issue with defining my theorem style. I need indentation after the theorem, but cannot achive it. I google for hours and didn't find a solution. Hope you can help me. By the way, I'm ...
3
votes
1answer
57 views

Subtheorems with alphabetic number

I would like to create a list of tasks using LaTeX. Therefore I created a theorem called task. For some tasks I would like to create additional subtheorems using alphabetic numbering. Currently my ...
5
votes
2answers
205 views

How to remove the word “Proof:” from the environment proof?

I am writing a paper and I will prove a theorem in an appendix because the proof is lengthy. When I use the following code, \documentclass[journal]{IEEEtran} \usepackage{amssymb, amsmath, amsthm, ...
3
votes
2answers
81 views

Equation incl. number on the same line as theorem environment

I have this: \begin{lemma} \begin{equation} L_b \circ L_a = L_{L_b(a)} \circ L_b. \end{equation} \end{lemma} and I would like the equation to be on the same line as the lemma, with a number ...
2
votes
1answer
80 views

Why is thmtools and mdframed not working with parskip

I have the following MWE: %!TEX TS-program = XeLaTeX %!TEX encoding = UTF-8 Unicode % DEFINITIONS =================================================== \documentclass[ 12pt, a4paper, ...
3
votes
1answer
132 views

Editing Format of List of Theorems in thmtools

I'm trying to change the formatting of the \listoftheorems command from the thmtools package. It currently prints "Theorem (Name of Theorem).... Page Number", and I would like it to print "Name of ...
6
votes
3answers
334 views

Multiple tikz path fading in multiple directions

I'd like to create a theorem decoration. Here's a quick take on one: \documentclass{article} \usepackage{tikz} \newcommand{\theoremname}{Theorem} \newcounter{theorem} ...
5
votes
2answers
91 views

Compile only the theorems

Is there a way (package or anything) to compile only the theorems in a tex-document. With theorems I mean the lemmas, propositions and theorems defined in the theorem-environment of the amsthm ...
2
votes
1answer
98 views

Rewriting a template from amsthm to thmtools

I've been using the Legrand Orange Book template on a project of mine with a friend and coworker. This template uses amsthm and mdframed to format a bunch of environments and I'm rewriting them to use ...
2
votes
1answer
74 views

How to change the theorem counter, theorem name in a specific case

I have used GMS class to write design a math book. In that book, the author has a special theorem, as following: \documentclass{gsm-l} \newtheorem{theorem}{Theorem} \newtheorem{lemma}[theorem]{Lemma} ...
2
votes
2answers
74 views

Name of the proof instead of just proof

Packages I'm using: \usepackage{amsmath} \usepackage{graphicx} \usepackage[colorinlistoftodos]{todonotes} \usepackage{amsthm} \usepackage{amssymb} \newtheorem{thm}{Theorem} ...
4
votes
1answer
88 views

mdframed: how to change the separator between the label and the title of a non-numbered thereom?

The problem There seems to be a bug in mdframed package. With the theoremseparator key, one should be able to change the text between the "label" and the title of a theorem ("Theorem" being the label ...
3
votes
1answer
123 views

Label in a ntheorem environment witout additional caption

I defined a new theorem with the ntheorem package. If i want to add a label to a certain theorem i get an error from the caption package. And referencing doesn't work. Package caption Warning: ...
6
votes
1answer
54 views

Spacing issue in new environment from a theorem

I'm trying to create a theorem environment that I can use to repeat a theorem that has been previously stated in a book but number it the same as the 1st instance. I found some sort of solution: ...
0
votes
1answer
67 views

How to insert the name of the Axiom next to Axiom

\begin{axiom} (blah) \end{axiom} gives "Axiom 1". How can I make this so that I have "Axiom 1 (blah)." instead? Tags are probably not correct. I just got started with Latex today.
4
votes
1answer
74 views

Extra space below customized theorems in beamer

I'm trying to customize beamer theorems, putting theorem name and theorem body in the same box. But my customization causes extra space below theorems. A MWE is as follows: \documentclass{beamer} ...
0
votes
2answers
71 views

citation square brakets upright in theorems

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

How can I number theorems in introduction without section counter and later with it?

I would like to have my theorems numbered in the following way. Theorem 1. Blah-blah Theorem 2. More blah-blah Section 1. Theorem 1.1. Special blah Theorem 1.2. More special ...
2
votes
1answer
86 views

Reference to assumptions

Assumption 1. (i) something1, (ii) something2. I would like to refer to separate parts as 1(i) and 1(ii). Is there any way of doing it? I guess that I can use enumerate and three labels, namely, ...
1
vote
1answer
60 views

Theorem environment with empty label and also no space and no dot.

I want to have a theorem-like environment, without the usual "Theorem x." labeling. I tried to define an empty label text, which results in a dot and space being used as the label text - there has ...
2
votes
2answers
82 views

mdframed: how to put the optional argument of a theorem-like environment between brackets?

The classical case With the classical \newtheorem command of amsthm, one gets the following result for optional arguments: from this code \documentclass{article} \usepackage{amsthm} ...
1
vote
2answers
84 views

A framed theorem without numbering?

Is it possible to draw a frame around a theorem-like environment ? If possible, I would like to use mdframed. In the documentation, the general form of the command is given by ...
6
votes
1answer
65 views

Failure of \text within theorem environment

I have an equation within the statement of one of my theorems. Within this equation, I have some text to name a function. However, when this equation appears within the theorem environment, the ...
3
votes
2answers
67 views

How to inspect current values of parameters of theorem style?

I'd like to alter the plain theorem style so it uses \slshape instead of \itshape. I know I can define my own style via \newtheoremstyle but I don't know how to inspect (possibly in runtime) the ...
0
votes
2answers
55 views

Is there a way to know what is the vertical space that LaTeX is leaving before and after a theorem?

I would like to know if there's some code I can enter in order to find what is the vertical space (in cm or pt) that LaTeX is leaving before and after a theorem. I'm using ...
4
votes
1answer
136 views

No indentation after theorem environment with amsthm

I use the amsthm package and dont want lines which start right after the theorem environment to be indented. I consulted the manual of the package and it said to define a new theorem style. I expected ...
6
votes
1answer
125 views

Theorem and lemma sharing counter with mdframed and cleveref

Problem Essentially I've got the same problem described in Cleveref with counters with same name: I've got theorems, lemmata and corollaries all sharing the same counter, and when referencing them ...
6
votes
1answer
72 views

Want theorem and equation numbering linked under section

Similar questions have been answered but the solutions didn't seem to give what I need. I would like theorems and equations both to proceed as follows within each section. Say we've begun Section ...
1
vote
1answer
49 views

Using enumerate environment within a theorem environment [duplicate]

I am writing a math article, and when I am in a theorem environment and I try to use the enumerate environment, everything is italicized where, out of the theorem environment, it wouldn't be. Is ...