Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
0answers
16 views

No vertical spacing between Theorems in Beamer

How to set no vertical spacing between Theorems in Beamer? Since the following code produce some vertical spacing above and below each theorem. \documentclass{beamer} \usetheme{Berlin} \begin{...
1
vote
3answers
30 views

How can I reference item (i) in Theorem 1.1 such that it displays “Theorem 1.1-(i)”?

Consider the following example: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{amsmath, amsthm, amssymb, mathtools, thmtools} \usepackage{hyperref, cleveref} \usepackage[shortlabels]...
2
votes
2answers
29 views

Typesetting lemmas in latex with shadethm package

I am trying to get the shadethm package to typeset lemmas in shaded boxes, but am failing so far. The following document produces \documentclass[11pt]{article} \usepackage[utf8]{inputenc} \...
1
vote
1answer
48 views

Using restatable with a custom environment

I want to use the restatable package with a custom environment. It almost works except when I restate with \name* it does not use the original label. Before you ask, I'm not using newtheorem because ...
0
votes
1answer
14 views

Hanging indent in an amsthm theoremstyle [duplicate]

I'm aiming to have a theoremstyle which has hanging indentation, where all lines after the first line are indented by some amount of space. I've searched for previous answers to similar questions, but ...
3
votes
1answer
35 views

Extend theorem header with title by citation

How can I redefine the theorem style, so that I can provide two "optional" arguments (I'm fine with using \begin{Definition}[title]{} if no citation is wanted.) I guess I'm quite flexible with the ...
1
vote
1answer
27 views

How to automatically label using theorem counter?

Someone please help me! I have some custom environments and I want to label them according to theorem counter. Means, that I get a numbering like Def. 1.1, Thm. 1.2 and so on. Right now, I have to ...
1
vote
1answer
29 views

Problem with expand, all restatable theorems points to the same theorem

I'm trying to manually do a small script that let me put proofs at the end, restate theorem... But I'm having some troubles with the restate, because all the theorems have the same name, so when I ...
0
votes
1answer
23 views

Ultimate proof at the end/in appendix: different sections, with references to proof/theorem, restate, and synctex

I saw lot's of different posts/answers to put the proof at the end, but none of them fully convince me. Indeed, I'd like to have the following: a way to put the proofs in different sections: some ...
1
vote
1answer
43 views

How to cite a theorem when its order (and thus number) keeps changing

The \begin{theorem} command will automatically order theorems as they appear in the file. I am currently writing a paper and as I edit the paper the order of the theorems keep changing. However, I ...
2
votes
1answer
34 views

How to remove the unexpected vertical space in the theorem environment?

When I use \pause in \[ \] formula in the theorem environment, I get an unexpected extra space below the formula; see Theorem: Pause (formula). Now I remove it using \vspace{-0.60}cm, as in Theorem: ...
0
votes
0answers
15 views

Create a claim environment for nested claims inside theorem proofs using thmtools

Consider the following declarations: \usepackage{amsmath, amsthm, amssymb, thmtools} \declaretheorem[numberwithin = section]{theorem} \declaretheorem[sibling = theorem, style = definition]{...
1
vote
1answer
50 views

Underline Theorem's 'Theorem' part, not the title

I would like to have two different styles of theorems in my LaTeX document to differentiate between original and unoriginal work. For one I would like the 'Theorem' underlined and the other I would ...
2
votes
1answer
42 views

How to insert theorems to tcolorbox?

I trying to insert a theorem to tcolorbox without title. Here is MWE (with LyX): % Preview source code %% LyX 2.3.2-2 created this file. For more info, see http://www.lyx.org/. %% Do not edit ...
4
votes
1answer
35 views

Correctly order float counter (perpage.sty) while sharing eqn/thm counter

Sharing float (fig) and thm counter can be done with \newtheorem{theorem}[figure]{Theorem}. Correctly ordering float (fig) counter based on actual location in the PDF (as opposed to location in ...
2
votes
1answer
35 views

Reference Subpoints of Lemma

I have Lemmata consisting of several subpoints (basically a collection of similar formulas) and I want to reference these subpoints in text by "Lemma 1 (1)". So far my code looks like this: \...
1
vote
1answer
48 views

How to redefine proof?

I want to define a new proof environment. I have defined it as below. \documentclass{article} \usepackage[section]{placeins} \usepackage[utf8]{inputenc} \usepackage[english]{babel} \usepackage{...
5
votes
2answers
82 views

problem with theorem, tikzpicture and center environment

I use a dialog-bubble style for some theorems, by using the code below, that works fine. \documentclass[a4paper,11pt,twoside]{book} \usepackage[a4paper,left=2.5cm,right=2.5cm,top=2.5cm,bottom=2.5cm]{...
0
votes
0answers
6 views

Change reference behaviour of newlist depending on theorem environment

I am using ntheorem and cleveref, and I want to reference enumerate environments inside theorems, like the following: \documentclass{article} \usepackage{ntheorem, cleveref, enumitem} % Define ...
2
votes
1answer
23 views

How to choose if theorem numerote

I'm currently working on a layout that is divided in article and alinea. Basically I've two functions. In each functions there is an environment dedicated to show the texts in a certain layout. ...
5
votes
1answer
81 views

Print all theorems

\documentclass[french]{book} \usepackage[french]{babel} \usepackage{amsmath} \usepackage{amssymb} \usepackage{amsthm} \begin{document} { \newtheorem{theorem}{Théorème} \newtheorem*{theorem*}{...
3
votes
2answers
47 views

How can I insert picture into environment Problem and align it?

I am trying insert a picture into environment Problem and align it like this I tried \documentclass{article} \usepackage{amsmath} \usepackage{enumerate} \usepackage{amsthm} \theoremstyle{definition}...
1
vote
1answer
82 views

How to define new environment, using proof-environment

I'm using the package amsthm and I like to define my own proof environment, where the title proof is replaced by Beweis. So far, I tried \newenvironment{bew}{\begin{proof}[\textsc{\textbf{Beweis:}}]}...
2
votes
1answer
23 views

How to get Proof of Theorem with package phfthm

I am trying to use the package phfthm to have a proof with the indication Proof of Theorem 1, and the like. I am almost exactly using the example provided in the package documentation, at page 15, ...
0
votes
1answer
39 views

\listoftheorems and its alternative with tcbtheorems not displaying,

i tried to to get a list of definitions (theorems) at the end of my document in the appednix. Unfortunality, the list is empty. I tried to use the description here but it does not work (for me). The "...
1
vote
1answer
17 views

How to renumber a property in a chapter, using lowercase letters instead of Numbers

I want to insert several new propositions in my second section,and name it 'Prop s','Prop t'...,I hope that anyone can help me :) Here is my code. \documentclass{article} \usepackage{amsthm} \...
0
votes
1answer
36 views

How to add vertical spacing between definitions

I'm trying to add vertical space between definitions, theorems, etc. For example, if set up something like: \begin{definition} blah blah blah \end{definition} %%%should be space here but there's ...
1
vote
1answer
54 views

Problem solutions at end of chapter

I'm writing a document with multiple chapters. Each chapter has problems and each problem has a solution. I want some of the solutions to be right after the problem and the others to appear at the end ...
3
votes
1answer
31 views

How can I have a \newtheorem… environment refer to its thmnote?

I'm currently using \newtheoremstyle to produce the following output: Question: How can I easily modify my MWE (see below) so that the a's in my QED boxes say "Name of Thing", "A Different Thing", ...
2
votes
1answer
67 views

Creating a specific theorem style

I was wondering how to create a theorem environment similar to the following example: Specifically, the environment should resemble the box that contains "Claim -- The function g is linear". This ...
0
votes
0answers
8 views

Re-calling/re-printing a theorem from an external document [duplicate]

For a manuscript I need to include theorem proofs as supplementary material. So I mention the theorem in the main file and I need to re-print the theorem in the supplementary material with the same ...
0
votes
1answer
26 views

Restate Theorem with given theorem setup

I am given the follwoing theorem setup, which I have to use. \numberwithin{equation}{chapter} \newtheorem{theorem}{Theorem}[chapter] \newtheorem{definition}[theorem]{Definition} \newtheorem{...
4
votes
1answer
41 views

Displaymode-like theorem environment

I am having trouble recreating this theorem environment. I want to create an environment that is essentially on its own line, much like a block quote. The only code I have so far just makes the this ...
0
votes
1answer
26 views

Missing endmarks with ntheorem when ending with a formula

MWE \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{amsmath} \usepackage[thmmarks]{ntheorem} % proof \theoremstyle{plain} \theoremheaderfont{\normalfont\bfseries} \theoremprework{\...
2
votes
1answer
23 views

reference in theorem environment

I am using theorem environment and want to put reference near the lemma, however, instead of [18] I am getting (18), how I can fix it? \documentclass{article} \usepackage{amsthm}% http://ctan.org/pkg/...
4
votes
1answer
56 views

Automatic \newpage before every theorem

Using amsthm package, is there an elegant way to automatically get a \newpage before every theorem? Edit: MWE featuring Christian Hupfer's suggestion \documentclass{article} \usepackage{amsthm} \...
3
votes
1answer
127 views

Automatic theorem list

In the accepted answer to Code between \begin{environment} and \end{environment} stored in an array it's shown how to create an automatic list of theorems using expl3 syntax. However the \...
0
votes
2answers
45 views

Using different fonts for theorem label in header

In the accepted answer to Put current theorem-like item's name/number in header it's shown how to put the label of the current theorem in the header. Is there a way to use two different fonts for the '...
1
vote
0answers
50 views

How to get rid of widow in List of theorems

In my PhD thesis I have 31 definitions in my List of Definitions. The last definition does not fit on the page, and becomes a widow on the next page. How can I get one or more definitions to be moved ...
0
votes
2answers
45 views

TeXstudio generates “plain text” when using Build&View (Debian+XFCE)

I saw this closed question and I'm experienceing something similar: for .tex documents, when I press the f5 key, which triggers the macro "Build and view", I get an output .pdf file that is treated by ...
2
votes
1answer
47 views

Line breaks in theorem heads are removed by showkeys package

There are a couple of other questions [1|2] about theorem heads not wrapping properly. I've run across another situation where this happens: \documentclass{article} \usepackage{amsthm} \usepackage{...
2
votes
1answer
64 views

Advanced Theorems List from ntheorem Documentation throws errors

I have defined my theorems as follows \documentclass[a4paper,twoside]{article} \usepackage{amsmath,amsfonts,mathtools,framed} \usepackage{enumitem} % einfacher Nummerierung verändern \usepackage{...
1
vote
1answer
51 views

Problem with list theorems and ntheorem. Clash with hyperref?

I have defined my theorems as follows \documentclass[a4paper,twoside]{article} \usepackage{amsmath,amsfonts,mathtools,framed} \usepackage{enumitem} % einfacher Nummerierung verändern \usepackage{...
1
vote
1answer
50 views

Remove section number in references to theorems

How can I remove section number and subsections in references to theorems of the same, but not from various, subsection. For example, that would after such a code \documentclass{report} \usepackage{...
1
vote
1answer
40 views

Understanding Warning 'Destination with the same identifier has been already used' caused by Theorems

In the following mwe I get two warnings: LaTeX Warning: Citation 'foo' on page 2 undefined on input line 29. and pdfTeX warning (ext4): destination with the same identifier (name{definition.1}) has ...
6
votes
1answer
108 views

Variable headpunct for theorem styles (using thmtools)

I am using the thmtools package to create my theorem environments and I would like to have a headpunct that depends on the start of a theorem: if it starts with an enumeration (that is, if it starts ...
1
vote
1answer
19 views

Change only the colour of the (bracketed part) of the title of a theorem

How may I change only the colour of the title of a theorem, i.e. the part that appears in brackets after say, "Theorem", "Definition" etc. when using the amsthm package? I have tried passing \color{...
0
votes
0answers
25 views

Extra space in Theorems', Lemmas', etc. title [duplicate]

I am using the following command to include a title (e.g. a citation) as the title of my lemma, \begin{lemma}[\cite{Mieghem11}] This is my lemma ... \end{lemma} but I'm getting an extra space ...
1
vote
1answer
13 views

Keep theorem heading up when followed by centered content

(I am sure this question has already been asked. I just couldn't find it.) \documentclass{article} \usepackage{amsmath, amsthm, tikz} \newtheoremstyle{solutionstyle} {12pt}{8ex}{\normalfont}{}...
0
votes
2answers
45 views

Problem with theorems numeration

Good morning members of the community. I am preparing a document and the same problem of enumeration in the theorems always arises. In this case I do not know how to do so that the first proposition ...