{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

1
vote
1answer
46 views

Spacing problem after a list at the beginning of a theorem

In the following example, how (if possible) can one make the line after the fruits be formatted in the same way as the line after the vegetables in a "clean" way without moving the apple to ...
3
votes
1answer
69 views

Extra brackets appearing in styled theorem in beamer

Here is my code: \documentclass[slidescentered]{beamer} \usepackage{amsthm,thmtools,xparse} \makeatletter \newif\if@namespace\@namespacefalse \newcommand{\contrel}[2]{ \if@namespace Continua da ...
4
votes
1answer
37 views

Indentation in newtheorem environment

I already have a personalization of the "newtheorem" environment, as follows: \documentclass[a4paper,10pt]{article} \usepackage[latin1]{inputenc} \usepackage[T1]{fontenc} ...
4
votes
2answers
68 views

Cleveref messes up theoremstyles

I use different theorem enviroments that should in theory all have the same style due to my code. They do as long as I don't load the cleveref package. If I load it, only corollary stays the same. How ...
1
vote
2answers
62 views

Indent many lines in Theorem environment

If I want to indent the first line in the theorem environment I just write \indent. How may I indent several lines - a paragraph - in this environment? Here is a MWE: \documentclass[fleqn]{scrartcl} ...
3
votes
2answers
78 views

Remove Numbering from Notes & Definitions

What would be the best way to remove the numbering in the following document ("Note 1.1", "Definition 1.2"), but keep the same formatting? I've read that it has something to do with using the ...
1
vote
0answers
40 views

Clash between \newtheorem and \documentclass{svjour3}

When I write a \documentclass{article}, if I want to define an environment called Theorem, I use \newtheorem{theo}{Theorem}, then when I write a theorem I use \begin{theo} and \end{theo}. I get used ...
2
votes
1answer
60 views

theorem numbering : section counter but remove the section number

I'm searching how to remove the chapter+section number on the theorem numbering with a section counter. With no section counter it's like: \newtheorem{thm}{Title} Chapter1 ----Section 1 --------thm ...
2
votes
1answer
30 views

Theoremstyle not applied

I'm writing some exercises, and wanted to add some style to my theorems for fun, it was working well until I opened it today: it doesn't work anymore I don't know why I spend an hour to search why the ...
4
votes
1answer
33 views

How to nest comment and theorem in one environment?

I'm using comment and amsthm packages for comments and theorems. I'd like to skip some theorems. I've tried to create a new environment with theorem nested in a comment: \documentclass{book} ...
3
votes
1answer
79 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
53 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
33 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
32 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
33 views

Citation with MakeTextLowercase

Consider the following MWE: \documentclass{scrartcl} \usepackage{textcase} \usepackage{natbib} \begin{document} Some reference: \citet{ABC} Some other reference: ...
1
vote
1answer
58 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
69 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
15 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
51 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
16 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
140 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
39 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
42 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
46 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
73 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
78 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
73 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
157 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
44 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
79 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
37 views

thmtools notebraces bug?

\documentclass{article} \usepackage{amsmath} \usepackage{amsthm} \usepackage{thmtools} \declaretheoremstyle[notebraces={[}{]}]{style} \declaretheorem[style=style]{theorem} \begin{document} ...
1
vote
1answer
66 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
98 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] ...
2
votes
1answer
137 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
66 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
63 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
36 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
150 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
116 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
74 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
75 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
128 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
74 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
95 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
53 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
199 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
84 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 ...