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
0 votes
1 answer
41 views

How to adjust the italic font of numbers in the theorem environment?

In the theorem environment, the font style of text is in italics, which includes numbers. However, the default italic syle of numbers appears to be ornamental penmanship. I'd like to adjust to ...
user avatar
  • 299
1 vote
1 answer
20 views

Make textsc insensitive to environment

I'm using textsc inside an equation that then appears in a Theorem environment. I want the text in textsc inside the equation to appear in regular font, not italics (which is enforced by the Theorem ...
user avatar
0 votes
0 answers
16 views

How to fix the order of my theorems?

I'd like to state some theorems in my paper, but give the proofs later in the appendix. Combining answers from https://tex.stackexchange.com/a/588253/147720 and https://tex.stackexchange.com/a/539518/...
user avatar
0 votes
0 answers
33 views

Lemma environment not working

I am following the documentation on the overleaf website, however there seems to be an issue with using \newtheorem{lemma}[theorem]{Lemma}. When I try to use this, and I write \begin{lemma} My lemma \...
user avatar
  • 199
4 votes
4 answers
244 views

Restate theorem without final sentence

I am short on space for my paper, so I want to put some theorem proof in appendix, but I also want to put the sentence saying "Proof in appendix" on the same line as the theorem statement. \...
user avatar
0 votes
0 answers
14 views

Printing Only Theorem Environments, each on a new page

I am currently revising for my exams, and I need to remember the proofs of a lot of theorems. One of my ideas was to have each theorem on a new page so that I can try to replicate the proof below it. ...
user avatar
0 votes
0 answers
32 views

How do I remove the number in front of the Theorem

I am trying to remove the number in front after the theorem (after Newton, 1687) seen below: This is the code corresponding to the whitebox: Any thoughts? Minimum Working Code: \documentclass[.....]{...
user avatar
  • 1
1 vote
1 answer
38 views

Example with clubsuit (no ntheorem)

I would like an example environment which is numbered according to theorems (e.g. theorem 1, example 2, theorem 3, example 4, ...) and ends with a clubsuit. I've already seen this solution, but I ...
user avatar
  • 113
-1 votes
1 answer
53 views

How to do this theorem environment (this exact style)?

I'm writing a course support on latex and I was looking to my own old notes and came across this template for theorems and would like to implement it in my own course support.
user avatar
0 votes
1 answer
28 views

Style with font for heading being bold italic

I have the following style. Would like to have the font for heading be bold italic. But modification would I need? \newtheoremstyle{mystyle} % name of style {8pt} % measure of space ...
user avatar
  • 103
1 vote
1 answer
26 views

Coloured theorem with bold title and vertical spacing before first paragraph

I have the following code suggested by David Carlisle. I do not see the theorem head with a bold typeface. I would also like to add some vertical spacing after the theorem head, rather than just a ...
user avatar
  • 103
0 votes
1 answer
31 views

Setting \parfillskip for every theorem-like environments

To prevent the last line from being too short, I added \setlength{\parfillskip}{0pt plus\dimexpr\linewidth-2\parindent} to the preamble, and it works fine with normal paragraphs. However, this setting ...
user avatar
  • 4,515
0 votes
1 answer
21 views

Exercise styles in answers.sty

With the answers package I am trying to change the font of the exercise from italic to non-italic. I am looking for a solution that does not require me to add something to each and every exercise. \...
user avatar
0 votes
1 answer
41 views

wrapfig2 and theorem-like environment

When I using wrapfig2 package, I stumble across that if a theorem-like environment is not the first paragraph after wrapfigure environment, the theorem is indented correctly: \documentclass{article} \...
user avatar
  • 103
2 votes
2 answers
61 views

How to define a desired axiom environment?

First a MWE and its output are as follows. \documentclass{article} \usepackage{amsthm} \makeatletter \newtheoremstyle{myaxiom}% {0.3\baselineskip plus 0.2ex minus 0.1ex}% {0.3\baselineskip plus 0.2ex ...
user avatar
  • 2,747
5 votes
3 answers
928 views

Why the Q.E.D. symbol show after the sentence end and can't show right aligned (as picture below)?

\documentclass[twoside,11pt]{book} \usepackage[left=2.5cm,right=2cm,top=2cm,bottom=2cm,papersize={15.5cm,23.5cm}]{geometry} \renewcommand{\thechapter}{\Roman{chapter}} \renewcommand{\thesection}{\...
user avatar
0 votes
2 answers
52 views

There is a double dot between `numbersection` and `numbertheorem`

I want the section numbering to be numberchapter.numbersection. So I type \renewcommand{\thesection}{\arabic{chapter}.\arabic{section}.} But if I want to make a theorem, the theorem numbering is ...
user avatar
0 votes
0 answers
14 views

Basic Numbering Question Using amsthm [duplicate]

I'm trying to learn basic usage of amsthm. Within a book chapter or an article section, I want each use of any theorem-like environment to augment the numbering, like 1.1 Theorem blah blah 1.2 ...
user avatar
  • 205
0 votes
0 answers
27 views

Enumerating theorems and examples

I have an issue when writing an article. The process of enumerating definitions, algorithms, figures and sections are ok, but when I enumerate theorems and examples, they follow in order as if they ...
user avatar
0 votes
2 answers
50 views

How do I create a new environment like proof in amsthm package which reads as 'solution' instead of 'proof'?

Using the \newtheorem command, I know how to create similar type of environments like 'Examples', 'Remarks', 'Lemma' etc. in class notes. For Theorems, we use \begin{proof} ......... \end{proof} to ...
user avatar
0 votes
1 answer
48 views

How to use \qed in a mathematical equation in LaTeX? [closed]

I like to place a \blacksquare or a \Box at the end of a worked example. This does not pose any problem in a text sentence in LaTeX. But when I type \qed in a mathematical equation at the end, LaTeX ...
user avatar
0 votes
0 answers
23 views

How do I put a bracket in the theorem header? [duplicate]

When I write \begin{theorem}[$F\left(T\right)$] ... \end{theorem} I can compile successfully. However, when I write \begin{theorem}[$F\left[T\right]$] ... \end{theorem} I cannot compile successfully....
user avatar
0 votes
0 answers
37 views

How can I increase the theorem number by one?

Is there a piece of code that allows me to increase the value of a theorems numbering without actually adding another theorem? I know it's possible with sections but I'm struggling to find a way to do ...
user avatar
0 votes
1 answer
31 views

Theorem in quote environment [duplicate]

I would like to use a theorem-like environment inside a quote environment (or with the same spacing as a quote environment). In this answer the following solution is presented: \documentclass{article} ...
user avatar
  • 1,110
0 votes
2 answers
48 views

How to make "Theorem 1.1" into "1.1 Theorem"? [duplicate]

Usually when using amsthm, we get something like Theorem 1.1, Corollary 1.2, Definition 1.3, etc. But how can I put the number before the name "Theorem" and "Corollary", that is to ...
user avatar
  • 103
0 votes
1 answer
16 views

Problem with suppressing chapter number in theorem environments

I think I may be having a specific issue due to changing the numbering of chapters with Roman (instead of Arabic) numerals, though I could be wrong on that. I have used \newtheorem{definition}{...
user avatar
7 votes
2 answers
211 views

How can I create this environment

I really want to have my environment to look like this: Also, I saw these environments from the book linear algebra done right, which @Jinwen informed me about. I was wondering how would I create ...
user avatar
1 vote
1 answer
23 views

How to obtain "Proof of theorem [number of the theorem] " using elsarticle

I am using the elsarticle document class. I want to find a way to add the number in the proof environment to obtain something like this: Proof of theorem 2. Thank you.
user avatar
  • 591
0 votes
1 answer
32 views

How to get hyperref to differenciate between similarly numbered theorems?

I am writing a book in which theorems are numbered "Theorem 1", "Theorem 2", etc. in every chapter; the resetting of the Theorem counter is done using an explicit \setcounter ...
user avatar
  • 13
1 vote
1 answer
27 views

Re-defining of environments for theorems, propositions, corollaries,... etc for generating subsequent numbering

I wrote the following piece of code in order to define custom environments for propositions, corollaries, remarks, definitions, examples, lemmas,...etc . \newcounter{mthm} \newtheorem{mthmitalic}[mthm]...
user avatar
0 votes
1 answer
70 views

How to label examples in Latex?

I have used the following code in Latex: \begin{example} Determine the integral \end{example} However the words 'Determine the integral' appear in italics. How do I change this to appear as normal ...
user avatar
  • 101
0 votes
0 answers
11 views

Add theorems to pdf outline

I want to add the list of theorems (and the like) to my pdf outline. Currently I am doing the following (adapted from here) \documentclass{article} \usepackage{hyperref} \usepackage{amsthm} \...
user avatar
  • 1,531
0 votes
0 answers
24 views

How do I select a named theorem name as a label reference using nameref?

I've formulated this question inline inside my SSCCE: \documentclass[12pt,oneside,onecolumn,a4paper]{article} \usepackage{amssymb,amsmath,amsthm} \usepackage{imakeidx} % NOTE: Hyperref should ...
user avatar
  • 121
0 votes
1 answer
54 views

Fix enumerate/itemize environment spacing

I am using a template (https://github.com/glederrey/EPFL_thesis_template/tree/master/head) for a document. It has a series of issues when introducing a variety of environments (Theorem, Lemma, Proof, ...
user avatar
1 vote
1 answer
68 views

Environments with tcolorbox, referencing

I have a large textbook written and I wish to add color boxes around my theorems, lemmas, etc without changing my main text too much. Currently, each theorem environment is defined in the usual way, e....
user avatar
  • 113
0 votes
1 answer
51 views

Tcolorbox for theorems is taking the first of the paragraph as title if title is not given

I am using this code as the preamble setup for my code \usepackage{fullpage} \usepackage{amsmath,amsfonts} \usepackage{enumitem} \usepackage{hyperref} \hypersetup{ colorlinks=true, linkcolor=...
user avatar
1 vote
1 answer
24 views

Name a constant with respect to the current theorem-like environment

I have a lot of lemmas. In each lemma, I have a constant. Is it a possible way to name the constant with respect to the name of the lemma? (automatic way) Example: "Lemma 1.1: there is a constant ...
user avatar
  • 13
0 votes
0 answers
43 views

How to produce the following theorem environment

See here and use the 'look inside feature.' If you scroll to see Theorem 1.1 (Uniformization Theorem), you will see that the theorem appears to be in a \quote environment. I wish to produce the same ...
user avatar
1 vote
0 answers
50 views

Floating Theorem amsthm

I have an environment thm defined with newtheorem of amsthm, and one of my theorems has multiple small codes (lstlisting) and text in between. This theorem takes about 2/3 of a page and I would like ...
user avatar
  • 73
0 votes
0 answers
63 views

Is it possible to use \label with tcbtheorem?

I would like to simply update my preamble to use tcolorbox for theorems without needing to manually remove the \label{} found after every \begin{theorem} or to replace the optional argument ...
user avatar
0 votes
0 answers
46 views

How make newtx option theoremfont work with thmtools?

I want the body of theorems to be in a true slanted font (\slshape) rather than in italic, yet have brackets within a theorem body to be upright. The newtx package (version 1.7) option theoremfont (...
user avatar
  • 6,372
3 votes
1 answer
90 views

tcolorbox Theorem environment doesnt show first character

I was going to use tcolorbox theorem environment using a guide on this stackexchange. In the example there, it is good. However when I tried it myself, it always didnt show the first character (so I ...
user avatar
0 votes
2 answers
83 views

Placing triangle left of proof

So I have an image that I'm trying to put left of my proof but wow. I can't do it, please help me. I'm like the 3rd hour into this. I'm using \documentclass[a4paper,11pt]{article} \usepackage[utf8]{...
user avatar
4 votes
2 answers
115 views

Theorems with Tikz

I am looking for a package for theorems (which can be framed, shaded, …). I use ntheorem but I see that PSTricks is involved when I use shaded theorems, and I want to use Tikz rather than PSTricks. I ...
user avatar
  • 589
1 vote
1 answer
35 views

Insert enumerate items inside a theorem environment, in LyX [duplicate]

I want to create the following code in LyX: \begin{exercise} Prove that blah blah, and show that: \begin{enumerate} \item first item \item some second item \end{enumerate} \end{exercise} I ...
user avatar
  • 298
2 votes
1 answer
45 views

Create a list of exercises or any other theorem environment in LyX

I want to create a list of exercises in my LaTeX document that I am writing in the LyX editor. If one were to write it in plain LaTeX, he would obviously write two exercise environments in a row: \...
user avatar
  • 298
0 votes
1 answer
53 views

Using pgfkeys to create list of theorem environments defined by tcolorbox [duplicate]

I'm having trouble trying to get a list of various theorem environments I've created with \newtcbtheorem. After doing some digging, I found this answer from 2012 by @cmhughes: https://tex....
user avatar
1 vote
0 answers
50 views

Numbering in latex

I am trying to work on the numbering of the theorems/definitions/lemmas etc., and I have some problems with the numbering. I want theorems, definitions, examples, etc. to be enumerated among ...
user avatar
1 vote
0 answers
34 views

Precompiled preamble causing issues with ntheorem [closed]

Whenever I compiled a file, it always took about 30 seconds, so I read up on using mylatexformat to precompile my packages. I have figured out how to do so and have stored my fmt file as /home/...
user avatar
0 votes
3 answers
71 views

Help understanding a list of commands to define a Hebrew environment

I want to define two new theorem-like environments in my LaTeX document, based on the amsthm package, to produce a Hebrew heading for an "example" environment with the word "דוגמה" ...
user avatar
  • 298

1
2 3 4 5
31