{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

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 ...
3
votes
1answer
140 views

List of theorems with thmtools not working - Missing \endcsname inserted

I am trying to generate a list of all equations in a document. I have searched and it seemed a good solution would be to use the thmtools, which can generate a list of all theorems(if im correct). ...
3
votes
1answer
74 views

Description definitions and ntheorem

I want to have inline listings in description items, so I used this very nice answer. Unfortunately this hackery destroys my theorem environments with error something's wrong--perhaps a missing \item ...
4
votes
1answer
45 views

Strange error related to theorem name (XeTeX)

Trying to have a theorem with [name=Dominio e codominio dell'operatore $D^{\vct{q}}$,label=thm:oss:DomCodomDq] gives the following error: The error is given by the following MWE: ...
11
votes
4answers
4k views

Theorem environment with hanging indentation

I would like to define a theorem environment with custom layout. In particular, I want the body of the theorem to be indented, like this Text body. Text body. Text body. Theorem 1 (Pythagoras). ...
2
votes
1answer
99 views

Lists of Theorems (XeLaTeX)

I've found out how to use the thmtools package to make lists of theorems. My questions on this are: Adding [name=xxx,label=thm:...] after \begin{yyy} (xxx is a title for the theorem, ... a label ...
7
votes
1answer
154 views

Multiple lists of theorems with different titles (any TeX, in my case XeLaTeX)

I've found out how to use the thmtools package to make lists of theorems. My questions on this are: How do I change the title, given that \renewcommand{\listoftheoremname}{...} gives a LaTeX ...
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: ...
1
vote
1answer
123 views

How to define numbered theorem, definition at ConTeXt ?(ConTeXt)

I have problem about define numbered like theorem, definition, corrollary etc at ConTeXt ? You can see like this my screenshot and my code (sorry, i copy and paste from other document) : and my ...
3
votes
1answer
55 views

Bold claim environment through local layout in LyX

I would like to create a new bold "Afirmação" ("Claim" in portuguese) environment through "Local Layout" in LyX (I don't want to create a new layout file). So I went to Document -> Settings -> Local ...
2
votes
1answer
93 views

How can I automatically typeset a list of (theorem-like) definitions?

I've defined two custom types of theorem-like environments: definition and example. I now want to automatically typeset a list of such environments present in my document. The output I'd like to get ...
4
votes
1answer
2k views

Using amsthm but still getting “Environment theorem undefined”

I'm trying to write up all my university theorems and I cant get the theorem environment to work. Here is a mini example of what I'm trying to do. \documentclass[a4paper,12pt]{article} ...
4
votes
1answer
96 views

Only show \NAME in \listoftheorems

I am using the thmtools package, and I want to modify \listoftheorems to only print the name of the theorem. For example, my document might look something like the one shown below. When I compile this ...
3
votes
1answer
53 views

Name referencing for arbitrary text?

In my TeX file I have a something like this: \newcommand{\head}[2]{ \textbf{#1 \imp:} \textit{#2}\\ } \newcommand{\definition}[1]{ \head{Definition}{#1} } \newcommand{\lemma}[1]{ \head{Lemma}{#1} } ...
5
votes
1answer
622 views

Controlling numbering of theorems in Beamer

I have a theorem that is too long for one frame. As \allowframebreaks does not work within the \theorem environment, I am trying to find a workaround. I can simply end the theorem environment on one ...
4
votes
1answer
71 views

Listings environment within another environment

\newtheorem{alg}{Algorithm}[subsection] \begin{alg}\label{alg:1} \begin{lstlisting}[frame = single, breaklines = true, numbers = left] test code \end{lstlisting} \end{alg} How can I prevent the ...
5
votes
0answers
46 views

Repeat a Theorem [duplicate]

For my thesis I have to repeat my theorems, not just the number but the exact wording of the Theorems. I found the question How to repeat the content of a quote (e.g. introduction+conclusion) without ...
5
votes
3answers
631 views

Two math sections of the same type in a row?

Whenever I try to create two sections of the same type in a row LyX unites them as if they were one. I write a definition, press ENTER for a new line, and then want to write another definition on that ...
2
votes
1answer
64 views

How to combine thmmarks with addtag for \[\]?

I have the problem, that I have quite a few equations in my text. As I am oftenly unsure if I will need them later as a reference, I searched for a way to avoid exchanging \[...\] with and equation ...
3
votes
3answers
119 views

Changing theorem number systems mid document

I have a numbering system setup for most of my document using: \newtheorem{theorem}{Theorem}[section] \newtheorem{lemma}[theorem]{Lemma} \newtheorem{corollary}[theorem]{Corollary} Which produces ...
6
votes
2answers
219 views

How to change the font size of all theorem environments?

I have several theorem environments: \newtheorem{theorem}{Theorem} \newtheorem{definition}{Definition} \newtheorem{proposition}{Proposition} etc. and I want to change them so that they all use ...
4
votes
1answer
92 views

How to create an unnumbered theorem?

I'm looking for a way to create a new theorem without numbering. I found Theorem without numbering and tried the accepted answer, but I get the error "Command * already defined". This is the code I'm ...
13
votes
1answer
1k views

How to cross-reference theorems with “Theorem”?

I use \begin{lemma} \label{aaa} ... \end{lemma} \begin{theorem} \label{bbb} ... \end{theorem} and many other similar kinds in the same document. When I cross-reference those lemmas and theorems ...
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
108 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]).
14
votes
3answers
625 views

Cleveref and named theorems

Is it possible with Cleverref to reference not only the number of an environment but the "name" (the thing that is passed to it in square brackets? In the following example I want to replace the line ...
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 ...
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
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
307 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 ...
13
votes
6answers
3k views

Pushing \qed to the right within a displayed formula

In my own custom theorem environment, I'm using the \qed command to create a white box. This works wonderfully when the theorem ends with a regular paragraph -- the box is pushed to the right where it ...
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 ...
4
votes
2answers
103 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 ...
12
votes
2answers
5k views

End of theorem marker placement

I have a question about marker placement after theorems. I am using a style file provided by Oxford University Press, which I am not used to. It is available here: ...
1
vote
1answer
321 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
74 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 ...
6
votes
1answer
6k views

Can I disable italics in the body text of a theorem without amsthm/ntheorem?

I'm submitting a paper and am required to use a provided document class which defines its own theorem environments, so I can't use packages like amsthm or ntheorem. The class doesn't define a ...
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 ...
5
votes
3answers
2k views

Footnote doesn't appear when put into a “definition” environment

When I try to put a footnote into a definition environment (or theorem, etc.) it fails, whereas it works well in plain text... How can I fix it? (N.B. I use thmbox, I don't know if this have an ...
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 ...
7
votes
3answers
2k views

A theoremstyle with complete indentation using amsthm

I want to define a theoremstyle using amsthm, such that the complete environments content produced by \newtheorem with this style are indented. The following standalone example uses an adapted ...
0
votes
0answers
477 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 ...
25
votes
2answers
2k views

Recalling a theorem

Suppose I have some theorem in the paper Section 1 Theorem 1.1. Let ... And then later in the paper I want to recall the theorem by reprinting it Section 4 We recall Theorem 1.1: ...
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 ...
3
votes
1answer
246 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 ...