Questions tagged [theorems]

{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.

Filter by
Sorted by
Tagged with
3
votes
1answer
27 views

How can I get a line break in a theorem headline using the ieeeconf class?

This is a follow-up question to this question, as suggested by Ioannis Filippides. The question is about the fact that a long theorem title may be longer than the column width, and it is not ...
1
vote
1answer
25 views

bold slanted numbers in custom theorem environment

Using the amsthm package, I have customized a theorem environment for my notes. The theorem head is bold and slanted. But I also want the number slanted. (It is already bold, but it's upright.) In ...
1
vote
1answer
55 views

Best practices for typesetting a math document and its building blocks (definitions, theorems, lemmata)?

This is admittedly a soft question and, to make things worse, the goal of my question might even be controversial. Please bear with me, though. I'm writing a long math paper with hundreds of math ...
2
votes
2answers
55 views

Two solutions to one problem

I have defined the solution environment as below: \newtheorem{solution}{Solution}[subsection] I have two solutions to problem 1.3.3 as shown in the attached screenshot. However, by using \begin{...
2
votes
2answers
53 views

Attach boxed title to a theorem tcolorenvironment

Context : I wanted to create a colored box to make nice looking theorems. Using the tcolorbox package, I managed to do so, using the following code : \documentclass[12pt]{report} \usepackage[utf8]{...
0
votes
1answer
43 views

How to number lemmas according to theorem counter

I am using a llncs.csl template to write a paper. And I want to do the following numbering for lemma: Theorem 1, Lemma 1.1, Lemma 1.2, Theorem 2, Lemma 2.1, Lemma 2.2 The template use \spn@wtheorem{...
0
votes
2answers
27 views

Numbering theorems [duplicate]

I am looking for a way for counting theorems and propositions by using letters instead of numbers. Looking for on this site, I have found this code: \newtheorem{thma}{Theorem} \newtheorem{...
5
votes
1answer
82 views

List restated theorems only once

I like to take my notes in LaTeX, and to help my speed, I use restatable theorems so that I can quickly recall the text and re-insert it into my notes when the professor mentions it. However, the ...
0
votes
1answer
42 views

Theorem/Definition/… with individual numbering

I would like to give the theorem/lemma/definition/... environment an individual number. For example: 1 Section Theorem 20.1. (XXX) ... Definiton 21.2.1.: ... Here is the "20.1." and "21.2....
0
votes
0answers
16 views

Line break in \newtheoremstyle with itemize

I am using \newtheoremstyle to define a theorem style that has a line break after the header. Following the template here, I have the following MWE: \documentclass{article} \usepackage{amsthm} \...
0
votes
1answer
61 views

Restatable environment: theorem works, lemma doesn't

I have two versions of a manuscript: the first uses restatable, and this works as expected for both theorems and lemmas; the second uses the jmlr style files provided by a conference (COLT 2020), and ...
0
votes
1answer
27 views

Changing theorem naming while preserving numbering in Beamer [duplicate]

I want to change the name of theorems in beamer, from the preset "Theorem" into "Teorema", while preserving its numbering order alongside with definitions and lemmas. At present I use the code \...
0
votes
1answer
36 views

End of proof box is not shown

When I use the proof environment, the output does not show the tombstone informs3 class. The class can be download here by selecting INFORMS Journal on Computing Style Files. I tired the ...
0
votes
1answer
53 views

How can I get the Definition and Theorem environment like these in LaTeX package SVMono?

How can I get the Definition and Theorem environment like these in LaTeX package SVMono ?
0
votes
1answer
33 views

Indent theorem body (excluding the title)

I'd like to define custom environments in which the body is indented in contrast to the body/the first line of the environment. An example could look like this In particular not every environment ...
0
votes
1answer
50 views

Number Theorems

I have a very simple question, but wasn't able to find the answer on Internet. In my paper, I have two theorems: Theorem 1 and Theorem 2. However, the second theorem's number I can't put equal to 2. ...
1
vote
1answer
46 views

Making a restatable boxed theorem

This is probably very simple to do, but I am trying to write restatable theorems with boxes around them. Looking at this answer, box around theorem statement, I get a way to put boxes around a theorem,...
0
votes
1answer
77 views

Footnote outside theorem environment

I tried to add a footnote in a tcolorbox based theorem environment, which is showing right inside the theorem box. How to position footnote at the bottom of the page? \documentclass[a4paper]{article} ...
1
vote
1answer
23 views

Restate theorems in LyX

I would like to have theorems in my main text with the proof being in the appendix. My idea is to repeat the theorem in the appendix including the proof. However, for that it would be necessary to ...
2
votes
1answer
74 views

Realistically highlight theorem title and numbering

Recently I came along this awesome post about cool text highlighting in LaTeX and the corresponding answer from @Antal Spector-Zabusky. I do want to implement this highlighting into my lecture notes. ...
0
votes
0answers
29 views

Modercv theorem environment error

I am using the following research statement template. In my statement, I have to use the environment of the theorem , lemma, definition. It is giving me error when I am compiling my latex file. I ...
1
vote
0answers
31 views

Upright brackets in theorem body with bodyfont=\mdseries\itshape?

Is it possible to make square brackets in the body of a theorem appear upright — when using the declaration bodyfont=\mdseries\itshape in the definition of a theoremstyle with thmtools? The ...
2
votes
2answers
82 views

Theorem and definition name in margin

I want to have the theorem names appear in the margin. I've tried using the margin notes to do this but I was unable to do so. Here is a picture of what I am trying to do. The top line is how the ...
0
votes
0answers
32 views

I have an extra page in the begins of my article

I have these in the start of my article % This is samplepaper.tex, a sample chapter demonstrating the % LLNCS macro package for Springer Computer Science proceedings; % Version 2.20 of 2017/10/04 % \...
8
votes
2answers
290 views

Nested theorem label

How can I define the theorem environments such that I get the following behaviour: The code generating the example: \documentclass[10pt,a4paper]{article} \usepackage{amsthm} \theoremstyle{definition}...
0
votes
2answers
46 views

Theorem definition with [section] shows subsection instead

i've used \theoremstyle{definition} \newtheorem{definition}{Definition}[section] \theoremstyle{definition} \begin{definition}(Definition.){ Eine Definition ist die Bestimmung eines Begriffs} \end{...
0
votes
0answers
47 views

Why is restatable giving a new number to restated theorems?

I used restatable in a submission to we'll say "Conference A" with their style formatting, and it worked fine. I'll use a specific lemma as an example. In the Conference A paper, it is labeled Lemma ...
2
votes
1answer
25 views

Numbering of figures within theorems

I have a lot of Theorems and within them some Figures, which I have to number according to the respective Theorem number. In principle, this works fine with \numberwithin{figure}{Theorem}. However, if ...
0
votes
0answers
63 views

Customizing the theorem environment

I need to use a customized for of theorem environment in Latex. I put the code here. However, I am not sure what is the standard way to also change the numbering to the font as the title of the ...
0
votes
0answers
116 views

\theoremstyle causing error “undefined control sequence” and “missing \begin{document}”}

my name document looks like \documentclass{article} \input{preamble} \begin{document} .... and then in the preamble document I have \usepackage{amsmath} \theoremstyle{plain} \newtheorem{thm}{...
0
votes
1answer
31 views

Enumerate using numbers and letters, starting at E1.1

\theoremstyle{definition} \newtheorem{task}{}[section] \renewcommand*{\thetask}{E\thesubsection} I defined a new theorem style but want it to enumerate like E1.1, E1.2, E1.3, etc. But my attempt ...
0
votes
0answers
26 views

Is it possible to resize the theorem title parenthesis?

I currently am declaring theorems as follows: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[english]{babel} \newtheorem{theorem}{Theorem}[section] \begin{document} \begin{theorem}...
1
vote
1answer
103 views

What is this fancy theorem environment? [duplicate]

I'm trying to remake this fancy theorem/definition/lemma environnment, but I've got no any where to begin. Is it a known package or rather a homemade redesign?
0
votes
0answers
24 views

Most Elegant Way to Share Theorem/Lemma/Exercise Numbering Across Multiple Articles

I am currently editing a series of notes for a course. Each part of notes is a separate Latex article. But I want the theorem, lemma, and exercise numbering to be consistent between articles. For ...
0
votes
1answer
89 views

How to write to the right of “Definition” and also enumerate within the definition?

The answer here shows how to enumerate within a definition. But what if I want to also write something to the right of Definition? For example, Definition. Let G be a group. (i) .... (ii) .... ...
2
votes
1answer
48 views

Make most letters of named theorem name lowecase when referenced

In the source below I have a namedtheorem environment which, when used, displays, instead of the usual "Theorem", the value of the key name in its optional argument. That name has initial letters ...
1
vote
1answer
66 views

List of theorems: only the optional argument, if nonempty, for all theorem-like environments?

\listoftheorems gives the desired results in the entries for ordinary theorem environments, whether they have an optional argument or not, and also for namedtheorem environments. Question: What ...
1
vote
1answer
50 views

How do I get a counter that shows only a single number?

I am using article, in case that matters. By default, a theorem is numbered in this format: Theorem 1.2 But I would like to change it to Theorem 2 i.e. without the "x." part but just a single ...
0
votes
0answers
47 views

Write 'Remark' in bold

I want to put in bold, 'Remark' using the following: \newtheorem{remark}{Remark} I am referring this but, it doesn't give me bold Remark: Not numbering Remark
0
votes
1answer
36 views

Don't manually type cross-reference name

\documentclass{article} \newtheorem{theorem}{Theorem}[section] \begin{document} \begin{theorem} \label{thm} blahblah \end{theorem} Theorem~\ref{thm} states blahblah. \end{document} The ...
2
votes
1answer
47 views

How make first letter upper-case in list of theorems?

The first entry in the output from \listoftheorems in the following MWE begins with a lower-case letter, just as in the optional argument in the corresponding theorem environment. How can that letter ...
0
votes
0answers
33 views

How remove parentheses and extra indent for named theorems in list of theorems?

The output from \listoftheorems in the following MWE has unwanted parentheses around the names of namedtheorem theorem-like environments and extra indentation there, too. How can the parentheses and ...
0
votes
0answers
21 views

Fix capitalization in reference to named theorem

Common practice in mathematical writing is that names of theorems (e.g., "fundamental theorem of calculus") are not capitalized when referred to in the body of the text. However, if such a name is ...
0
votes
1answer
55 views

How to add theorem numbers to footers using fancyhdr?

I have to add the theorem numbers to the footer using the fancyhdr package. It works fine, if I only add the last theorem number that is mentioned on that page (see example below). However, I would ...
1
vote
1answer
25 views

How to reference a tcbh theorem

I created a customised theorem environment via "\newtcbtheorem", however the referencing does not work properly. For example: \documentclass[a4paper, 11pt]{article} \usepackage[a4paper,left=3cm,right=...
1
vote
0answers
71 views

Problem with beamer and pgf for shading, related to theorem environment

I'm having problems when using beamer document class with certain themes. For example, with Warsaw theme, I get these errors: ! Undefined control sequence. \pgfsys@vertshading ...rSpace \pgf@shading@...
3
votes
1answer
84 views

hyperref warns when using cleveref in \section

I encounter a small but annoying problem with the following MWE \documentclass{article} \usepackage{hyperref,cleveref} \newtheorem{thm}{Theorem} \begin{document} \begin{thm}\label{good} ...
1
vote
1answer
79 views

How to indent the text within a theorem?

I would like the text of a long theorem to be indented, so that the text of the second line starts exactly below the text of the first line (and not below the word "Theorem") like this: Theorem 1: ...
2
votes
2answers
33 views

How to duplicate the section based autonumbered theorems in section 2, 3, 4 in section 1?

I currently have section based auto-numbering setup for theorems in section 2,3,4 etc via the following environment variables: \numberwithin{equation}{section} \newtheorem{definition}{Definition}[...
3
votes
1answer
56 views

Replace page numbers in index by theorem numbers

I would like to create an index that refers to theorem numbers instead of the page numbers. The following example creates the usual index with page numbers: \documentclass[ngerman, 12pt]{article} \...

1 2 3 4 5 27