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
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
22 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
44 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
52 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
22 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
35 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
16 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
33 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
49 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
27 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
57 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
24 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
20 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
43 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
49 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
43 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
50 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
46 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
35 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
101 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
41 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 ...
2
votes
1answer
38 views

Problem with definition/examples and theorem numbering

I have a problem with my theorem and examples/definitions numbering. For my theorem environment I used the mdframed packages but for my definitions/examples I used \newtheorem{}{}. Here you can see ...
2
votes
0answers
54 views

How do I get a definition and theorem environment like these?

I tried using the mdframed package but I failed, how can I get that output?
1
vote
1answer
66 views

Same counter for different tcolorbox theorems

I have two different types of tcbtheorems: theorem and lemma, defined as below. \newtcbtheorem[number within=section]{theorem}{Theorem}{some config options}{thm} \newtcbtheorem[number within=section]{...
2
votes
2answers
83 views

Create a new environment with the same numbering as \newtheorem

The setup \theoremstyle{definition} \newtheorem{definition}{Definition}[section] \theoremstyle{plain} \newtheorem{theorem}[definition]{Theorem} \newcounter{nremarkctr} \newcommand*{\nremarkname}{...
0
votes
1answer
47 views

Change theorem color using theorem notes in the amsthm package

When defining a new theorem style in the amsthm package, you can specify what's called (according to http://web.mat.bham.ac.uk/R.W.Kaye/latex/thm.pdf) a custom head specification. In there, you can ...
2
votes
1answer
55 views

table of contents like theorem list

In my need of writing a list of theorems I wrote the following code: \documentclass[b5paper, twoside, 12pt]{memoir} % packages \usepackage{amsmath, amsthm, fancyhdr, geometry, hyperref, palatino, ...
1
vote
1answer
34 views

Repeat content of environment

Sometimes you want proofs of theorems to appear in an appendix. The appendix must then include the theorem claim exactly as it was stated in the main body of the paper add a proof to it. It would ...
3
votes
2answers
67 views

Customize counter using tcolorbox?

By now I've spend a lot of hours to find a way to customize the "Counter" inside tcolorbox package. I wanted to put a definition in a tcolorbox as below. In order to get this formation for ...
0
votes
1answer
37 views

beamer.sty: modify block template

I would like to redefine a detail of the block templates for Beamer's theorem environment. The title should contain the additional text not in rounded brackets, but in another format. The fine manual ...
4
votes
2answers
64 views

Theorem numbering in starred sections

Let me start with an MWE which illustrates my question. \documentclass{book} \usepackage{amsthm} \newtheorem{theorem}{Theorem}[section] \begin{document} \chapter{Some title} \section{Another title}...
0
votes
1answer
26 views

Organize counter (newtheorem)

I'm writing some notes and I have a problem with the organization. I defined the theorems as follows: \documentclass[12pt,a4paper]{book} \theoremstyle{plain} \newtheorem{teo}{Teorema}[chapter] \...
1
vote
1answer
63 views

Writing a theorem inside a theorem

I want to write couple of theorems inside a main theorem body. In particular I want to write something like the following: I tried using the command \newtheorem to create Main Theorem and then used ...
3
votes
1answer
62 views

Background color of the title of a theorem, including its numbering

I am starting with a classical theorem environment from amsthm, it has the numbering I want. What I would like is to color the background of the name of the theorem. I have tried to do a color box in ...
1
vote
0answers
38 views

different types of exercises, theorems etc [closed]

I need to categorize theorems like School Book Theorem, Important Theorem, Interesting Theorem etc with different numbering. The same at the exercises. How can I do it?
1
vote
0answers
41 views

Tcbtheorem with crosslinking

I had created a document with problems. Some feature I implemented is a click on the problem number, which leads to the answer at the end of the document and vice versa (look MWE). My ...
2
votes
1answer
40 views

Indented theorem and proof environemnts

I would like to be able to recreate the following theorem style, where the main body of a theorem/proof/definition etc. is indented by a variable amount. I would also like to end a theorem proof with ...
5
votes
3answers
100 views

Missing vertical space around a theorem environment when using enumitem

When a theorem environment (defined via amsthm) is used inside of an enumerate environment, then some vertical space around the theorem environment seems to be missing. \documentclass[a4paper,10pt]{...
3
votes
1answer
52 views

Numbering sublemmas

I would like to have sublemmas numbered after the corresponding lemmas, which in turn would be numbered after theorems, like this: Theorem 2.1. 0=0. Lemma 2.2. 0=1. The proof of Lemma ...