{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
1answer
131 views

Creating a Postulate Environment

I understand how to use the theorem environment in LaTex and would like to know if there is a similar environment for postulates or how I can make an environment for postulates on my own.
4
votes
1answer
68 views

Prevent a new line before a theorem

Is there any way not to start a new line for a theorem? For example, in the following example, I would like the word Theorem to be on the same line as the number 1. ...
1
vote
1answer
45 views

How to specify theorem styles (amsthm) should use bold equations (bm)?

From other questions on this site, I've come to the conclusion that bm is the easiest (best?) way to get bold equations. I'm using amsthm to define a problem style, but the \bfseries doesn't make the ...
2
votes
1answer
35 views

How to create two environments that refer to each other in the page margin?

I would like to create two environments: one for exercises and one for their solutions. Each exercise should refer to the page of its corresponding solution and vice versa. The problem is not quite ...
1
vote
0answers
42 views

Citation with MakeTextLowercase

Consider the following MWE: \documentclass{scrartcl} \usepackage{textcase} \usepackage{natbib} \begin{document} Some reference: \citet{ABC} Some other reference: ...
2
votes
1answer
95 views

Declaretheoremstyle headpostspace = \newline + indent?

I am having problems trying in declaring a theorem style. I would like the first row of the definition to be on a new line with the normal indent. If I try to add \par instead of \newline for ...
1
vote
1answer
120 views

Can I eliminate the dot after Theorem in amsthm?

Instead of 1 Theorem. I want to write 1 Theorem in front of the first theorem and analogously in front of succeeding theorems. How can I get rid of the dot? Here is a MWE: \documentclass{article} ...
1
vote
0answers
24 views

Why do I get an “extra }” error when using a default argument in a theorem name? [duplicate]

Consider the following latex code: \documentclass{article} \usepackage{amssymb} \usepackage{amsthm} \newtheorem{thm}{Theorem} \newcommand{\Zn}[1][n]{\mathbb{Z}_{#1}} \begin{document} $\Zn[p]$ ...
0
votes
0answers
16 views

Each environment has its own numeration. How can I change this? [duplicate]

In my thesis each theorem, definition, corollary, etc. has its own numeration. For example: Chapter 2 Theorem 2.1 Theorem 2.2 Definition 2.1 Corollary 2.1 How can I change ...
7
votes
1answer
68 views

Remark number in italics

When compiling \documentclass{article} \usepackage{amsthm} \theoremstyle{definition} \newtheorem{definition}{Definition}[section] \theoremstyle{remark} \newtheorem{remark}{Remark} ...
1
vote
1answer
21 views

Problem with theorem numbering

I want to write my homework in Tex How can I write "Theorem 18." using command: \newtheorem{thm}{Theorem} . It starts numbering my theorem automatically as Theorem 1. Thanks
4
votes
1answer
487 views

Numbering assumptions in amsthm by hand and referencing them

I have a situation where there are two alternative assumptions that can hold in order for some estimate to be correct. I would like to number them 2.a and 2.b and refer to them in the text (an ...
2
votes
1answer
56 views

Use the same counter for definitions and theorems [duplicate]

\newtheorem{thm}{Theorem}[section] \newtheorem{defn}{Definition}[section] \begin{defn} --some text \end{defn} \begin{thm} --some text \end{thm} when using the above commands i get as output the ...
3
votes
1answer
52 views

Issue with cref and color names, generally and in theorem environments

I am trying to use \cref from the cleveref package with in a theorem environment. I also want my theorem names colored, say red. Now if one tries to use \cref within a colored environment, e.g. ...
1
vote
1answer
70 views

Linebreak in definition heading (theorem package) [duplicate]

I have a problem with a too long line in the theorem environment. The following example shows the problem, I need a line break in the heading, but there is none. Any suggestions? ...
3
votes
2answers
81 views

Formatting theorems with drop-cap'd theorem numbers

I want to mark theorems with a big (drop cap) theorem number in the margin. I couldn't get LaTeX to raise the dropcap without using a smash, but then this causes numbers to overlap if theorems are ...
4
votes
0answers
116 views

Creating a List of Theorems divided into Subsections with amsthm

I want to modify the listoftheorems command so that at the end of each chapter, I can give a list of the theorems or definitions within the last chapter, and I want these divided by section (it should ...
6
votes
1answer
109 views

How can I use more than one color in shadethm package?

I know that we can change the default color given in shadethm package using, for example, \definecolor{shadethmcolor}{HTML}{F7F8E0}. But if I want to use different colors for different environments in ...
7
votes
3answers
166 views

How to make the enumeration of theorem-like environments indipendent from cross-referencing in a particular way

I'm writing a mathematical paper, and right now I'm using \newtheorem{theorem}{Theorem}[section] to enumerate theorems, propositions, etc. In this way, every statement shows the number of the ...
0
votes
1answer
59 views

Figures (floats) break my theorems, definitions and remarks apart!

When I insert figures with graphics in a text it frequently happens that in the compiled document they split definitions and theorems (and maybe remarks) apart. This, of course, happens because LaTeX ...
1
vote
1answer
123 views

Theorem style with margin on both sides

I'm strugeling with the theorem package thmtools and its features. I've declared several theorem styles with \declaretheoremstyle and \declaretheorem. How can I add a hanging paragraph margin on the ...
4
votes
2answers
46 views

thmtools notebraces bug?

\documentclass{article} \usepackage{amsmath} \usepackage{amsthm} \usepackage{thmtools} \declaretheoremstyle[notebraces={[}{]}]{style} \declaretheorem[style=style]{theorem} \begin{document} ...
1
vote
1answer
77 views

non-italic numbering and text in theorem [duplicate]

\documentclass{aip-cp} \usepackage[numbers]{natbib} \usepackage{rotating} \usepackage{graphicx} \newtheorem{theorem}{Theorem} \newtheorem{conjecture}{Conjecture} \newtheorem{define}{Definition} ...
2
votes
1answer
120 views

Theorem numbering

I am trying to number my theorems, corollaries, Lemmas, Propositions, Definitions, Remarks etc. I put the following code: \theoremstyle{theorem} \newtheorem{theorem}{Theorem}[section] ...
3
votes
1answer
218 views

Shaded theoremstyle

I'm trying to create a theoremstyle whith a shaded background. As I already have a working preamble I'd like to change as less as possible. Previously I defined an own theoremstyle 'selfdefined' which ...
2
votes
1answer
73 views

Theorem style with line break and different brackets for title

I want to define a theorem style with a line break and different symbols for the theorem title (no brackets () ). As shown in this example: \documentclass[10pt,a4paper]{article} ...
1
vote
1answer
89 views

How can I add this code in local layout in lyx

I want to add this code in local layout in lyx: \usepackage{multicol} \usepackage{etoolbox}%إطار النظريات \usepackage{blindtext}% \usepackage[theorems,skins,breakable]{tcolorbox}% %% ...
1
vote
1answer
44 views

numbering theorem in sections of an article [closed]

I am writing an article in WinEdt (Windows 7), but it's creating problem in numbering the theorems in subsections. My article consists of different sections. In section 3 it starts with a Lemma and by ...
7
votes
2answers
156 views

How to label items

Is it possible to label items in latex in the following manner: We have the following theorem: Theorem 3.2 (I) bla bla bla (II) ble ble ble (III) bli bli bli So I would like ...
0
votes
0answers
17 views

Theorem and lemma and proposition numberings with the numbers first [duplicate]

If one considers the following MWE one sees that theorems and lemmas have their number as a suffix: \documentclass[fleqn]{scrartcl} \setkomafont{disposition}{\normalfont\bfseries} ...
5
votes
2answers
129 views

In theorem style, how to make the dot font depend on the name font ?

I have to use the thmtools package to style my theorems, lemmas, remarks etc. Unfortunately, I noticed that when I give an optional name to a remark for instance this name is in normal font, but the ...
2
votes
1answer
102 views

Colored text for a theorem statement in beamer poster

I'm using a modified version of the template found here and I followed the advice given here to have theorems typeset in "inline" mode, instead of "block" mode. What I need now is to modify the font ...
2
votes
1answer
115 views

Combining enumerate and align works in theorem environment, but not outside the theorem environment

I was using MWE 1 (which worked fine), but now I want to get rid of the theorem environment (MWE 2). However, that does not work and I get the following error. Any idea how I can make MWE 2 work? ...
5
votes
3answers
133 views

Tweaking theorem style last parameter traps?

When I modified the \newtheoremstyle last parameter to get a list for a listoftheorems new command I want to define later, I got some unpleasant side effects I want to get rid of. First unwanted side ...
0
votes
3answers
82 views

creating theorem-like environments within 'notes' (see example)

I would like to create the following style to write mathematics: In fact the above I created myself but some numbers and spacing I had to set manually (and I would like this to be automatic of ...
3
votes
2answers
145 views

Transform output \theoremstyle{remark} from italics to bold

I'm using \theoremstyle{remark} To make my cheatsheet. The output of the \theoremstyle{remark} is the one I need, because it doesn't create any space between the defintion. The problem is that the ...
0
votes
1answer
86 views

Table/Summary of Theorems and Definitions

I was wondering if there are any packages out there that will automatically print out a table or summary of the theorems and definitions in my document. I do NOT want a list of the theorems and ...
5
votes
1answer
254 views

How to define a new counter independent of section

I am trying to create exercises within a paper, by which the numbering will be as one would expect (1, 2, 3, ...). However, when defining a new counter and theoremstyle: \documentclass{article} ...
2
votes
1answer
100 views

Remove italic within align inside a theorem-like environment [duplicate]

Is there any way to remove the italic from the words bits in the code below? That is, change the \text output to represent the normal font when an align is used inside a theorem-like environment. ...
1
vote
0answers
8 views

Namespace for theorems [duplicate]

I want to make a theorem \newtheorem*{def}{Definition}. This doesn't compile because \def is already defined. How do I make amsthm use a different namespace for theorems? It doesn't make sense for a ...
2
votes
1answer
527 views

ntheorem: numbering of claim and its proof

I am trying to create a claim environment in ntheorem to use within the proof environment. I tried around with the following code \documentclass{article} \usepackage{ntheorem} ...
2
votes
2answers
281 views

How to add space around tcolorbox theorem

In amsthm you can easily change the space before and after a theorem. Can this be done with tcolorbox theorem? If so, how? I haven't been able to find anything in the documentation. Minimal ...
1
vote
1answer
57 views

How can I change the numbering of sections?

My code below compiles a document and so far it prints, e.g.: Definition 1.1 Example 1.1 Example 1.2 Corollary 1.1 But how can I change this to the following: Definition 1.1 Example 1.2 ...
1
vote
1answer
169 views

Theorem without number using mdframed

I am working on a text that involves some theorems and I am using mdframed I want a theorem whit just the optional title \begin{teorema}[title desired] Some text \end{teorema} so far I've seen ...
2
votes
1answer
93 views

Lyx: how to get theorem numbers to have three parts?

Using the document class amsart, how can I get theorem numbers to also contain the number of the subsection and not just that of the section? Here is a minimal working example of what I mean, in ...
2
votes
0answers
31 views

How to put an ending sign within equation for theorem-alike environments? [duplicate]

Thanks to an answer to my question asked here, I used the following codes to generate for each theorem-alike environment exactly one square symbol as the ending sign: \documentclass[12pt]{amsart} ...
4
votes
2answers
151 views

tcolorbox theorem which isn't framed on the sides

Minimal example: \documentclass[]{report} \usepackage{tcolorbox} \tcbuselibrary{theorems} \tcbuselibrary{skins} \newtcbtheorem[number within=chapter]{thm}{Theorem} {theorem style=change ...
2
votes
0answers
68 views

How to bring theorem's and lemmas numbers from a thesis document class and put it in the beamer presentation

How to bring theorem's and lemma's numbers from a thesis document class and put them in the beamer presentation, because I want to reffer the audience who have the printed thesis to the number and ...
4
votes
1answer
64 views

How can arguments be used inside headstyle with thmtools?

I'm trying to define something like the named theorems in Customizing theorem name except using thmtools. As far as I understand, the headspec is to be provided in the key headstyle to ...
2
votes
2answers
147 views

How to manipulate theorem body text indentation (using amsthm package)?

I would like to create the following formatting for summing up hypotheses (I am using the report documentclass): Body text. Body text. Body text. Body text. Body text. Body text. Body text. Body ...