{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

4
votes
1answer
71 views

achieve a theorem like construct without newtheorem

I am trying to achieve a theorem like representation in my beamer presentation as shown. Currently I am defining a newtheorem env for each such construct in preamble, and then using that, as: %in ...
2
votes
1answer
107 views

Theoremstyle with line break but non italic text

I use the theorems (from the amsthm-package) to specify definitions, examples and so on.. I want them to do two things: 1) line break after the label 2) non italic text within the theorem! I ...
2
votes
1answer
72 views

Number of newtheorem overlaps with newtheorem in the Appendix

I have the following code: \documentclass[a4paper,12pt]{article} \renewcommand{\proofname}{\textbf{Beweis}} \newtheorem{Satz}{Satz}[section] \newtheorem{code}[Satz]{MATLAB-Code} \begin{document} ...
5
votes
1answer
184 views

Can we remove the ( ) bracket from Theorem 1.2.1 ( [7])

Can we remove the ( ) bracket from the environment like Theorem 1.2.1 ( [7]).
2
votes
0answers
97 views

Why is newtcbtheorem not working while tcbmaketheorem does? [closed]

EDIT: It was simply a matter of outdated package versions. On a mac there are those useful commands sudo tlmgr update –self and after that sudo tlmgr update –all. The following throws the error ...
3
votes
1answer
133 views

Indicator at end of theorem

I'm writing a text with some very long theorem-environments in it and I find the italicised theorems visually not pleasing when they are rather longish. So I'm using the definition theorem style most ...
2
votes
2answers
293 views

\begin{problem} analogue to \begin{proof}

I recently learned about \begin{proof} ... \end{proof}, which is a good environment to work in. My question is whether there exists a similar environment to state a problem, or whether I can write ...
4
votes
2answers
101 views

Italicizing of amsthm package

I'm using the amsthm package, and I noticed that a remark is automatically italicized, while a theorem and a proposition are not. What other keywords have their content automatically italicized by ...
3
votes
2answers
87 views

How to have indented text in ntheorem environment without a newline at the beginning?

I would like to have an indented paragraph inside a ntheorem environment where the first line is not indented. Using the quote-environment inside ntheorem lets the paragraph start with an ugly ...
1
vote
1answer
318 views

Consecutive number of theorems, propositions, etc

I'm using \usepackage{amsthm} \newtheorem{theorem}{Theorem} \newtheorem{proposition}{Proposition} The numberings of Theorem and Proposition are not consecutive (I get Theorem 1 followed by ...
2
votes
1answer
73 views

How can I change the typeface used in my theorem environments

I know I can change the properties of theorem environments (using \newtheoremstyle, as shown below), but how can I change the font type from Computer Modern to Times New Roman? That change should be ...
2
votes
0answers
128 views

How to set the bold font of the keyword Definition using IEEEtran without introducing package ntheorem?

I am writing a paper with the recommended template IEEEtran.sty. IEEEtran has its own theorem environment such as definitions, theorems, axioms, corollaries, lemmas, and so on. I want to set the bold ...
6
votes
1answer
130 views

Theorem-like definition, without using upshape each time

How can I have theorems and lemmas stated in the default italic font, but definitions and examples in upright font, without having to type the \upshape command within each definition and example? I ...
2
votes
2answers
128 views

Difficulty modifying an array environment

I have an array that I had past help on and now I am attempting to modify that array. However, when doing so, parts of my "theorem" keep getting shifted to the next line. Here is a MWE: ...
4
votes
1answer
55 views

reset theorem counter after every subsection and print just #subsection

I have declared \newtheorem{thm}{Theorem} \numberwithin{thm}{subsection}. This numbers every theorem in this format [chapter].[section].[subsection].[numberofthm]. Is it possible to have the counter ...
0
votes
0answers
473 views

loading mps to pdf converter latex

\documentclass[a4paper,11pt,english,openright]{book} \usepackage[ansinew]{inputenc} \usepackage[english]{babel} \usepackage{babel} \usepackage[T1]{fontenc} \usepackage[centertags]{amsmath} ...
7
votes
2answers
90 views

Adding text to a different part of the document

I'm writing a LaTeX document at the moment which has problems (which are created in a {theorem} environment) for the reader in it. I'd like to put solutions to those problems in the end of the ...
3
votes
2answers
91 views

How to write sub lemmas

I want to code like that, Lemma 1. I will marry if, Case (i) I found a soul mate Case (ii) never married How would I code this in LaTeX, I have used \newtheorem{lemma}{Lemma} but I dont know how ...
2
votes
1answer
70 views

Theorem numbering style: How to make number appear before name?

I am currently writing an essay for a class in Functional analysis I'm taking. Now in one of the theorems I have it appears as : How can I make it so that the number one comes before ...
8
votes
1answer
88 views

Numbering theorems with page numbers

I want to number theorems by (page number).(sequential in the page). So in page 6 I would have Thm 6.1 AAAAAABBBVVV Thm 6.2 BBBGGSDFASFASF Thm 6.3 AXASDFASDF and then in page 7 it ...
0
votes
2answers
124 views

Tables inside of ntheorem environment

Very short question: How to put table inside of the ntheorem environment? Simple first try \documentclass[a4paper,10pt]{article} \usepackage[utf8]{inputenc} \usepackage{ntheorem} ...
9
votes
1answer
690 views

How can I create a “Proof of Theorem x.xx” header for a proof environment?

In many papers in mathematics, the author states a theorem in somewhere and adds some explanations and perhaps some lemmas and later starts the proof with a phrase like "Proof of Theorem x.xx" (x's ...
5
votes
1answer
131 views

How to dynamically number theorems?

I am writing an introduction. I want to reference theorems and so on which come later. I want to do something like the following. \newtheorem*{thmcustom}[1]{Theorem #1} Then \begin{thmcustom}[3.2.1] ...
1
vote
1answer
85 views

Reduce the gap between \begin{theorem} and [name]

How can we reduce the gap between the number of a theorem and the name of it, for example if we use \begin{theorem}[Zorn's Lemma] we have Theorem 0.1 (Zorn's Lemma). But my goal is to reduce the ...
3
votes
1answer
40 views

Use lemmas without numbering, without separate thing in preamble for each lemma

My apologies if this question is answered elsewhere; I searched for it with no success. I want to use lemmas in my paper, but I want to do it the dummy way: instead of inserting a different thing in ...
8
votes
4answers
216 views

Why doesn't this code combining \foreach with \newtheorem work?

Here is an example document. \documentclass[a4paper]{amsart} \usepackage{tikz} \theoremstyle{definition} \newtheorem{baseTheorem}{Base Theorem}[section] \foreach \x in ...
6
votes
2answers
117 views

How to get cleveref to treat separate theorem-types as one?

Introduction I'm using a somewhat complex theorem-environment setup which, perhaps, is finally getting me into trouble. I use memoir, cleveref and ntheorem. There is a global thmcounter that all ...
3
votes
1answer
88 views

Is there a way to translate the names of theorems and definitions in other languages, without defining new ones?

Is there a way to translate the names of theorems and definitions in other languages, without defining new ones? For instance, if I use \usepackage[romanian]{babel} the word Proof is replaced by ...
3
votes
1answer
165 views

How to wrap text around theorem box?

I'm using the thmtools to create theorem boxes. \usepackage{thmtools} \usepackage[unq]{unique} \usepackage[usenames,dvipsnames,svgnames,table]{xcolor} \usepackage{wrapfig} \usepackage{float} ...
3
votes
1answer
174 views

ntheorem Box over multiple pages with continued hint?

When my ntheorem Box spans multiple pages, I want it to have a hint on each page, that it is a continuation. How can this be done? Below is some sample code, spanning a box over two pages, which is ...
1
vote
1answer
779 views

\newtheorem in llncs creates problems

I get this error Command \theorem already defined. when I try to define \newtheorem{theorem}{Theorem} within a document with the llncs documentclass. My minimal example is here: ...
4
votes
1answer
386 views

Undefined control sequence in newtheoremstyle

I have the following piece of LaTeX code: \newtheoremstyle{quest} {20pt} % space above {\topset} % space below {} % body font {} % indentation {\bfseries} % theorem head font ...
7
votes
1answer
764 views

Fancy box around equation

I am trying to get my equations to show up like: This is my attempt thus far: \documentclass[11pt,fleqn]{book} \usepackage[top=3cm,bottom=3cm,left=3.2cm,right=3.2cm,headsep=10pt,a4paper]{geometry} ...
2
votes
1answer
113 views

Change the way theorems are numbered within a document

I'm working a document that has one (very large) chapter, in which theorems, lemmas, etc. are numbered with subsubsection, i.e. the start of the document has the command ...
4
votes
2answers
178 views

Math-mode overrun in newtheorem

I would like to have a long math-mode "title" in a newtheorem environment: \documentclass[twocolumn]{article} \usepackage{amsthm} \newtheorem{definition}{Definition} \begin{document} ...
2
votes
1answer
91 views

unaltered citation in theorem

I would like to keep the way my citations are presented to be uniform. When I enter a citation after I declare my theorem it's in italic just like the text for the theorem. Whereas the citations in ...
0
votes
1answer
94 views

About endmarks in thmtools

If I use the `thmtools´ package I get poorly placed endmarks (it appears on the next line) when ending a proof with a centered mathematical equation. How can I fix this? This is my code: ...
4
votes
1answer
84 views

Can one set global numberlike in thmtools?

I want all of my theorem-like environments to be numbered as if they were all theorems. Using thmtools I can do this with code like this: \usepackage{amsthm} \usepackage{thmtools} ...
7
votes
3answers
177 views

Overruns in newtheorem in latex

I'm defining a newtheorem as follows: \newtheorem{definition}{Definition} the problem is when the definition name is long, it results in overruns. I've tried \\ to split the name in two lines, ...
4
votes
1answer
363 views

How to make “claim” environments look like “theorem” environment?

I am using LyX 2.0.5 with document class article and 'Theorems (AMS)' in the modules. From what I understand, the claim environment copies its style from the remark environment. I'd like it to copy ...
4
votes
3answers
313 views

lemma numbering like 1.2.2 Lemma

definition numbering like the below output, im getting the default numbering only. 1.1 Lemma 1.2. Proposition how to do this using in latex coding: \documentclass[fleqn]{gsm-l} ...
2
votes
0answers
104 views

Section with answers created automatically

My question is quite similar to this one, but I think a slightly different approach is needed. I have a document with a lot of exercices and I'd like to add aswers and hints to them in a certain ...
3
votes
2answers
70 views

Change line thickness in thmtools

I am using the thmbox=M option with thmtools and I would like to change the line thickness of the box. I found how to change the colour in here: thmbox color bar. Is there an easy modification of what ...
5
votes
2answers
138 views

thmbox splits theorems in two pages and the option “nocut” produces many empty spaces in pages.

this is a follow up to the problem described here. I have the same problem and the proposed solution does not completely solve the problem. I mean, it does solve the problem but also creates another ...
0
votes
1answer
135 views

thmtools with thmbox split in two pages

I am trying to use the thmbox=Moption from the thmtools package. But sometimes in the text when there isn't enough space for the theorem to fit in the bottom of the first page, it moves it to the next ...
4
votes
3answers
119 views

Theorem numeration shift

I would like to numerate my theorems not by chapters but by shifted chapters in such a way that the theorems in chapter 2 would read Theorem 1.1, Theorem 1.2 and so on. I need something along the ...
4
votes
1answer
309 views

Remove blank page between Acknowledgements and Table of Contents?

I get a blank page between “Acknowledgement” and “Table of contents”. How can I remove it? I used a template from somewhere. The preamble is as follows: \documentclass[openany,12pt]{ubthesis} ...
3
votes
1answer
95 views

Preventing the “end square” of proof environment to be alone on a newpage after an enumeration

I have something like (with the packages amsthm and document class book): \begin{proof} blabla \begin{itemize} \item blabla \item blabla \end{itemize} \end{proof} The problem is, that ...
3
votes
1answer
245 views

Numeration of equations starting from 1 in each section

I have two issues: I want to change the numeration in section, now I have: but I would like to have: 10 Charakteryzacje zmiennej losowej Definition Theorem It means that the ...
3
votes
1answer
189 views

thmmarks in ntheorem causing trouble with numbers in equations

[Edited according to the comments (thanks!), i.e. inserted a minimal non-working example] I spent the entire day yesterday trying to figure out what is wrong with the following. ...