Tagged Questions

{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
37 views

Wrong numeration using \newtheorem

by using the \newtheorem, the latex does not number the theorems in the right order. used code is \newtheorem{theo.a}{Proposition} \begin{theo.a} this is the proposition. \end{theo.a} changing ...
4
votes
1answer
68 views

How do I reset my theorem count (using mdtheorem)?

% define environments with counters \mdtheorem[style=mpdframe, style=wide ,% style=greyfr ,% style=wideln ] {discuss}{Discuss Topic} ...
3
votes
2answers
147 views

Definitions, theorems, … with description inside a box and the title above the box

I am searching for a definition (or similar) environment with the following features: Numbering Listing Definition title with number above the description Definition text inside a box with black ...
0
votes
1answer
115 views

Customizing list of theorems (LaTeX)

Is it possible to avoid brackets surrounding the name of a theorem in the \listoftheorems from thmtools? And if so, how do I do that?
0
votes
1answer
45 views

Is it possible to attach a label to a theorem so it can be cited later?

I want to know if it's possible to add some sort of label to a theorem such that I can cite it in the future. I know I can do this by writing explicitly the theorem's number every time I need it, but ...
9
votes
1answer
268 views

Change “Theorem” to “Věta” in beamer

I tried to use \uselanguage{Czech}\languagepath{Czech} as suggested in Babel (French) does not translate the theorem environment in Beamer class, but I still get "Theorem" instead of "Věta" for my ...
3
votes
2answers
62 views

How to italicize the heading and optional title of a theorem?

Consider the following code: \documentclass{amsart} \begin{document} \makeatletter \def\th@plain{ \thm@notefont{} \itshape} \makeatother \theoremstyle{definition} ...
1
vote
1answer
224 views

Special theorem command

My aim in the last few questions was to define a very flexible command allowing the definition of theorems of various kinds. The reason for that was to have a single command basically for all kinds of ...
2
votes
1answer
91 views

How to separate definitions from the following text?

Using the definition theorem style from amsthm does not enable the reader to separate between text that belongs to the definition and the text following it. Example: \documentclass{scrbook} ...
6
votes
2answers
131 views

Theorem without counter (any TeX)

I often use theorems on LaTeX and have defined various kinds of them. At times, however, it is best not to define a specific theorem which would otherwise be a once-in-a-long-time usage, as for ...
3
votes
1answer
1k views

Numbering of assumptions

Suppose I would like to have a title of assumption being Assumption 1-$\mathcal F$., Assumption 2-$\mathcal F$. and so on to be further called in the text with symbols different from $\mathcal F$. Let ...
8
votes
1answer
197 views

Space generated by theorem labels (XeTeX)

With the thmtools package, combining \begin{foo}[name=bar,label=x] with the line \newtheorem{foo}{Foo} in the preamble typesets to Foo xxx (bar), where xxx is a number. After the (bar) there is an ...
9
votes
3answers
246 views

Enumerating inside a proposition and inside a proof

I have one problem with enumerating. The symbols for items look differently when the enumerating is done ''inside'' propositions from the enumerating done ''inside'' a proof. The code ...
6
votes
1answer
104 views

How to change QED sign for theorem classes

I'm writing an article which contains some quite long proofs, some of which include claims with proofs of their own. I dealt with that by adding a claim environment using \newtheorem, but there's a ...
1
vote
0answers
57 views

How should one format a proof inside a proof, or 'inner proof' [closed]

I've come across this a few times and have yet to find a general consensus on how to format a proof inside of a proof. Should there be a proof environment within the proof environment that is ...
3
votes
2answers
159 views

Theorem Inside Tabular Environment

I'm putting together a Beamer presentation and want a theorem to appear on the left side of the slide and a picture on the right side. I tried to accomplish this with: \begin{frame} ...
0
votes
0answers
100 views

Spacing around thm environments when parskip is changed

I am a beginner with LaTeX and have this probably tyro problem - when I use asmthmpackage environments in combination with \parskip, the (vertical) spacing above and below theorems, definitions, etc ...
7
votes
3answers
196 views

Numbering Theorems/Definitions together, by section and without section symbol

I am fairly new to LaTeX and I am looking for a particular style: I want to number my theorems/propositions/corollaries/definitions together and by section. For example, Definition 1.1, Theorem 1.2, ...
0
votes
4answers
162 views

RTL theorem numbering problem - mdframed and xelatex

I have a problem with wrong numbering order when using mdframed theorem style. As in the MWE, the second theorem number should 2.1.1 (reading from right to left, 1.1 for the section and 2 for the ...
7
votes
1answer
318 views

Incorrect hypothesis counter

The hypotheses counter seems to work incorrectly. All hypotheses are numbered with a 1. What exactly am I doing wrong? I have the following code: \documentclass[12pt]{article} \usepackage{amsthm} ...
5
votes
1answer
86 views

How to enable line breaking in the standard proof environment with amsmath?

I want to redefine the proof so it accepts linebreaks in the name \renewenvironment{proof}[1][\proofname]{\par \pushQED{\qed}% \normalfont \topsep6\p@\@plus6\p@\relax \trivlist ...
7
votes
3answers
182 views

Reference to List Items in Theorem Environment with Label Type “Theorem”

I'm trying to set up references to list items in theorem environments. Using the thmtools and the cref-package I am able to reference theorem environments, such that the theorem type, e.g. theorem, ...
3
votes
2answers
80 views

Global emphsize the theorem name

I would like to global define the theorem environment such that the name of the thereom (like ABC in the following example) is emphasized (either \textit or \textbf), how can I do that? I know I can ...
9
votes
2answers
302 views

How do I get non-italic words in a theorem environment?

I want some words in my theorem environment to not be italic. I know there are simple ways to get the entire theorem in roman, but I'm looking for an italic theorem with specified words in roman. I ...
6
votes
2answers
102 views

Getting the number of a chapter-numbered theorem but without the chapter number

Suppose in Chapter 3 I have Theorem 3.17. I need to get the "17", NOT the "3.17" which would readily be obtained using \label then \ref. How do i do that? Edit: (Probably a more relaxing condition): ...
3
votes
1answer
101 views

How can I number subtheorems hierachically?

I want to create two hierarchy levels of theorems. The goal is to have something like this: Research Question 1: bla bla Research Question 2: bla bla And then in another section of the article, I ...
5
votes
1answer
219 views

controlling theorem numbers using llncs style

Is there a way to control the numbering of different types of theorems, when using the llncs style? With the envcountsame parameter, all theorems/definitions/claims use the same counter and get ...
7
votes
2answers
212 views

Change definition number in beamer

In a beamer presentation, I need to redefine one definition (the definition numbers have to be same). How can I do that? Here is my code. \documentclass{beamer} \setbeamertemplate{theorems}[ams ...
1
vote
2answers
80 views

Making an indented, bold definition/theorem/proof

I would like a result such as this: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur aliquam tincidunt mi id elementum. Fusce nec mauris sodales, cursus massa id, feugiat mi: (My ...
7
votes
1answer
150 views

How to copy a lemma to appendix without changing its number?

I have a document with a lemma (using amsthm), like so: \begin{lem} \label{mylemma} % ... \end{lem} The proof of this lemma can be found in the appendix (see section \ref{sec:proof_of_mylemma}). ...
3
votes
2answers
45 views

Blocks at the End of a Solution Structure [duplicate]

so a couple of months ago I created my own package. Everything in it works great, and so far it does everything I need it to do, the way I need it to. But I want to change one thing. When I made the ...
1
vote
1answer
80 views

Using parskip with ntheorem in a book

I am writing a mathematical book and would like to use ntheorem for theorems. Also, I would like to use parskip, because I like these styles of paragraphs more. My problem is that as soon as I include ...
3
votes
1answer
116 views

Wrapping image with multiple theorem-like environments and displayed math

I'm struggling to put an image into a page with multiple theorem-like environments, some of which include displayed math, but I can't get the text to wrap correctly around the image and caption: ...
2
votes
0answers
22 views

Error using hyperref, cleveref and \newtheorem: no counter defined [duplicate]

Here's my problem: I'm writing some mathematics lecture notes. I needed some different theorem types, such as propositions, lemmas, plus observations, examples and definitions whose numbering depends ...
2
votes
2answers
147 views

How to Number Theorems within a Chapter? [duplicate]

There are lots of theorems and lemmas in my thesis which are being numbered continuously from start to end. I want the numbering to be like Theorem <>.<>. Same for lemmas and ...
3
votes
1answer
59 views

continuous numbering of theorems for the whole article

In the code \newtheorem{thm}{Theorem}[section] what should stand in place of section to get continuous numbering (simply Theorem 1, Theorem 2, etc.) for the whole text?
7
votes
2answers
76 views

Problems with theoremref

I'm having some problems with the theoremref package. Basically, instead of giving me as output something like "Lemma 1.1.1", where "Lemma" is the name of the theorem, it gives me something like "lem ...
5
votes
1answer
150 views

How to change theorem numbering style in one chapter only?

I want to change numbering theormn and lemma in one chapter in thesis without change other chapters. Namely numbering (theormn and lemma) in one chapter is different from another chapter. How to ...
10
votes
1answer
144 views

Numbering theorems in the left margin

My question is similar to this and this. I would like to have the theorem number in the left margin (0.6em spacing to the main text) and the Name 'Theorem' should be justified to the main text. The ...
6
votes
1answer
146 views

Understanding differences between newtheorem and newenvironment

The difficulty that I am having is that I make a newtheorem: \newtheorem{definition}[theorem]{Definition} It however seems to act nearly the same as with newenvironment: ...
3
votes
1answer
294 views

Changing the color of theorem headings

I have a theorem environment, and I would like: The text color of Problems and their contents to be a custom color (defined as `db' below) The text color of Solutions to be a custom color (defined ...
1
vote
0answers
63 views

Starting a theorem or a proof with an equation and vertical spacing

Is it bad practice to begin the statement of a theorem or of a proof with an equation? If it is acceptable, what is your opinion on the resulting spacing in the three cases, in the code below? In the ...
1
vote
0answers
41 views

numbering of theorems in chapters [closed]

I want to write some papers in Math but I have some problems. when I wrote the first chapter it appears Theorem 1, Lemma 1, when I wrote the second chapter it appeared Theorem 3, Lemma 2. How can ...
3
votes
1answer
121 views

Vertical spacing around theorem environment

Consider this answer from karlkoeller: \documentclass[danish]{article} \usepackage{babel} \usepackage{color} \usepackage{amsthm,thmtools} % Colors. \definecolor{section_color}{rgb}{0.35,0.0,0} ...
6
votes
1answer
104 views

Using thmtools: numbering with asterisk

I would like to repeat a theorem number with an added asterisk. That is, the original theorem is: Theorem 1. Lorem ipsum... And I would like the analogue theorem to be: Theorem 1*. Lorem ipsum...
7
votes
1answer
306 views

Define proof environment in thmtools

I'm using thmtools for fancy-looking math environments. But I don't know how to redefine proof environment. I cannot find such topics in its documentation. This is my LaTeX code snippet. ...
6
votes
1answer
185 views

Theorem starting with a list

I want a robust way to handle theorems which starts by a list environment, with the first item being on a new line. I don't want to distinguish between theorems with lists and those without by using ...
9
votes
1answer
166 views

Remove numbering of unreferenced theorems

Can theorems, lemmas, etc., be automatically displayed without numbers if not referenced (like \mathtoolsset{showonlyrefs} for equation tags)?
0
votes
1answer
174 views

Natural deduction like proof

I'm not sure what the right word is for this kind of proof (in the picture): It is some kind of combination of natural deduction and normal math proofs. I'm wondering how I could do this in LaTeX. ...
7
votes
2answers
79 views

Reference-able custom section numbering

I am writing some lecture notes from a class that I have on Monday, Wednesday, and Friday. What I would like to do is organize them by sections defined by the week and the day, e.g. 1M, 1W, 1F, 2M, ...