{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
881 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
433 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
807 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
116 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
191 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
98 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
103 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
92 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
182 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
379 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
329 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
108 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
74 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
144 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
140 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
120 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
330 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
100 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
277 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
210 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. ...
2
votes
1answer
110 views

Is it possible to make the body text in a proof environment a bold red instead of black?

Is it possible (using ntheorem) to change the default text colour of the proof environment (of course black) to a boldface red? I am typesetting an Analysis book, and a friend and I are looking [for ...
6
votes
3answers
154 views

Lemmas and sub sections

I want to write a LaTeX code to show, Lemma 1 : x+y=z Lemma 1.1: z-r+t=3 Lemma 1.2: q=r How do I do that?
3
votes
2answers
265 views

cleveref doesn't use correct capitalized name if used with amsthm?

It seems that the cleveref package does not capitalize properly when referring to a newtheorem if both \crefname and \Crefname have been defined. Or is it just me? Here is my MWE: ...
2
votes
1answer
368 views

Proposition command doesnt work

Please refer to the below code: \documentclass[a4paper,11pt]{report} \usepackage{a4wide} \usepackage{amsmath} \usepackage{amssymb} \usepackage{graphicx} \usepackage{url} \usepackage{fixltx2e} ...
1
vote
1answer
194 views

Back to the line after Remark and theorem

I write the following code: \newtheoremstyle{examplestyle}{10mm}{10mm}{\slshape}{2pt}{\bfseries}{\newline}{10mm}{} \theoremstyle{examplestyle} to be able to get theorems look like this ...
3
votes
1answer
162 views

Need help with modifying ntheorem environments

I am trying to modify some of the theorem environments defined in ntheorem. I wanted the definitions in my document to be boxed the way in which ntheorem does for the framed theorem classes which they ...
2
votes
1answer
53 views

Combining tagging with ntheorem

I would like to combine the tagging package with ntheorem to obtain ntheorem-environments that are tagged. A minimal example would be: \documentclass{scrartcl} \usepackage{tagging} ...
2
votes
1answer
91 views

Need help with a cases structure inside an enumerated list

I need to type an enumerated list (for a math document) that contains several lines for which I need to have said lines have a curly brace at the end with a text description for them. The best I can ...
3
votes
1answer
238 views

Multiline Inferences / Rules / Axioms in Bussproofs

I have a proof that I need to set in LaTeX, and to do so I am using the bussproofs package. However my proof has large amounts of free text in it, which makes the proof overly wide. Is there a way to ...
3
votes
2answers
104 views

Reference entire title of a Theorem, not just its number

Say I have \begin{theorem}\label{thm:Fermat} This is a theorem about Fermat. \end{theorem} and the output is Theorem 5.2. This is a theorem about Fermat. Now I want to reference it by ...
2
votes
1answer
108 views

Referencing enumerated observations in proof

I am writing a rather complicated proof (graph theory/algorithmics), which contains a number of listed observations that are going to be referenced later in the course of the proof. The observations ...
1
vote
0answers
37 views

Creating arabic and alpha theorem numbering [duplicate]

For my Thesis I am stating a number of Theorems (Working Propositions actually). Using the theorem environment I do get some thing like: WP1 My first WP I create this by using \begin{WP} my ...
4
votes
1answer
220 views

Problem with environments, arabic and tikz

Here a question also about my last topic. I want to create an environment that put a pretty box around my theorem and its title. Here is a code with the desired output : \documentclass{report} ...
4
votes
1answer
162 views

problems with tikz and arabi package

I have some problems and I hope you can help me. When I put a tikzpicture and use the arabi package, the picture is not displayed in the dvi or pdf file, and this without a single error. I have a ...
2
votes
1answer
630 views

Beamer: Grouping environment counters

In beamer, when I use \setbeamertemplate{theorems}[numbered] but this groups them all as the following. What I want is theorems, lemmas and other environments to have different counters such as the ...
8
votes
1answer
671 views

Duplicating the amsthm proof environment

I am currently writing up some lecture notes and would like to have therefore a "\solution" environment which should work basically as the amsthm \proof environment, just writing "Solution." instead ...
3
votes
2answers
154 views

PDF bookmarks for thmtools' theorems

I would like to add PDF bookmarks for some classes of theorems declared using thmtools and I couldn't find a beautiful way to do it so far. The best idea I have been able to come up with was to add ...
2
votes
2answers
457 views

Using amsthm: changing Theorem options and break line

Using amsthm, is it possible to change the settings as follows ? Theorem/number/Name/cite : body I tried to write: \documentclass{article} \usepackage{amsthm} \newtheoremstyle{mystyle}% name ...
5
votes
1answer
95 views

How to put reflectbox in newtheorem correctly?

Firstly: sorry for my English, I hope, that you'll understand me. Secondly: I have to use \reflectbox in my newtheorem environment. Problem is, that when I put for example \reflectbox{D}, letter D is ...
1
vote
1answer
82 views

How can I change the spacing around definitions with amsthm?

I am wondering how I may change spacing around definition environments. I have seen the answer posted for the same question about theorems, \makeatletter \def\thm@space@setup{% ...
2
votes
1answer
494 views

Defining cross-reference names for custom theorem environments in cleveref

I am concerned with the difference between this working example \documentclass{article} \usepackage{amsthm} \usepackage[capitalise]{cleveref} \newtheorem{thm}{Theorem} \begin{document} ...
1
vote
1answer
584 views

Why am i getting a counter error while defining a Theorem environment?

I have this in a latex file: \documentclass[conference]{IEEEtran} \newtheorem{theorem}{Theorem} and at some point i have this: \begin{theorem} foo \end{theorem} but i am getting this ...
3
votes
1answer
95 views

How to redefine definition theoremstyle to use a letter instead of a number

I need to redefine the theorem style. Is it possible to change the numbers to letters? \theoremstyle{definition} \newtheorem{problem}{Problem} \begin{problem} fff \end{problem} \begin{problem} ccc ...
0
votes
0answers
106 views

nopagebreak between rule and custom theorem env

I'm making a custom theorem environment. Here's a minimal example of my problem, with some filler text borrowed from the GPL: \documentclass{scrbook} \usepackage[dvipsnames]{xcolor} ...
6
votes
0answers
326 views

How to create a framed proof attached to a theorem?

I am trying to create a customized "proof" environment attached to a theorem. It looks like this: So there is first the theorem, and then a gray bar starts on the inner margin. It ends, when the ...
14
votes
1answer
333 views

Theorem with separate tikz environments for header and body

My initial question: I'm writing my lecture notes in LaTeX and used some customized theorem environments with amsthm so far. Now I wanted to redesign those theorems with help of tikzpicture. That's ...
2
votes
0answers
86 views

Custom environment splitting between pages [closed]

I created a custom environment for theorems using mdframed package: \newtheorem{theorem}{Theorem} \newtheorem{twierdz}[theorem]{Twierdzenie} \newenvironment{twierdzenie} ...
1
vote
0answers
86 views

What's the correct way to place theorems and pictures side by side?

Okay so I have a definition using the amsthm theorem environments, and a tikzpicture which I want to see side by side. The material inside the definition is not too big, so I expect the final height ...
6
votes
1answer
126 views

Using ntheorem's counter inside theorem statement

I'm using ntheorem package and I would like to use the theorem's counter within the theorem's statement. This is useful when you're defining a special object you wish to reference elsewhere, like: ...
4
votes
1answer
226 views

how can I get a period right after a theorem number when using \swapnumbers?

I am trying to mimic lecture notes formatted like this: http://ocw.mit.edu/courses/mathematics/18-01-single-variable-calculus-fall-2005/lecture-notes/lecture_25.pdf I would like to format a theorem ...