{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

0
votes
0answers
29 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 that I want to appear side by side. The material inside the definition is not too big, so I expect the final height ...
6
votes
1answer
34 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: ...
1
vote
0answers
27 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 ...
0
votes
1answer
43 views

A Theorem solution that works with Nath

I'd like to use some theorem environment. But I'm using the nath package, which is unfortunately incompatible with every solution I've found. I don't need anything very fancy, just the following ...
2
votes
1answer
34 views

Using chapter instead of section number with amsthm

I'm trying to number my examples, definitions, theorems, etc. in the form Chapter#.example#. However, the amsthm package only seems to provide sectional numbering, which I don't like. Does anyone ...
3
votes
1answer
23 views

Using Grouping to Limit the Scope of a \newtheorem in the Combine Document Class

I am combining a set of articles using the combine document class. However, use of the \newtheorem command in the individual articles causes an error, when these environments have already been defined ...
4
votes
0answers
46 views

Break theorem style in amsart

I want to make a theorem's header stands in a separated line like (as style break in ntheorem) Examples 1 (1) GL(n) (2) SL(n) I copied the solution from Theorem formatting, but it doesn't work ...
0
votes
0answers
26 views

Line spacing INSIDE a theorem environment [closed]

I use setspace to get 1.25 spacing in my document. \usepackage{setspace} \setstretch{1.25} I have a remark (rem) environment that I use: \theoremstyle{definition} \newtheorem{rem}[thm]{Remark} ...
1
vote
1answer
37 views

thmbox color bar

I would like to ask if anyone knows if it is possible to change the bar color in the thmbox package. One can change the thickness of the bar but not the color. \usepackage{thmbox} ...
1
vote
1answer
78 views

Beamer: how to make theorem-like block (with free title)

I often use CambridgeUS, the only negative part about is that when I put theorems in blocks, it's not see clear where that theorem ends. So I would like the body of the theorem to be in italic. ...
4
votes
2answers
26 views

How change type of remark title in amsthm?

How can I easily change the typeface of remark titles in amsthm without having to define a completely new style using \newtheoremstyle. More precisely, I have the following code: \usepackage{amsthm} ...
6
votes
1answer
83 views

Automatic upright math when text is in italic

This is in a way a follow-up to this question about upright math. I would like to have upright math (essentially variable names) when I use a theorem-like environment with statement in italic. This ...
2
votes
1answer
37 views

Line break in list in indented theorem

I'm trying to make an indented theorem environment as in A theoremstyle with complete indentation using amsthm. Here's a minimal (non-)working example: \documentclass{article} \usepackage{amsthm} ...
1
vote
1answer
62 views

Custom Numbering in Derivation / Proof Environment

Just a quick background, I am writing a thesis, which has theorems (proofs and derivations) and possibly a few other 'theorem' type environments. The code in this question actually works fine, it is ...
2
votes
1answer
54 views

getting numbers for theorems, propositions,

I want to number theorems (or propositions,...) as Theorem 1.1 and Theorem 1.A simultaneously in a text? In fact, I don't know how to mark some theorems (or propositions,...) as Theorem 1.A, Theorem ...
5
votes
1answer
37 views

How to refer to the number of an item in an enumerate environment inside a theorem

I have something that looks like this: \usepackage{amsmath} \begin{document} \begin{thm} The following are true: \begin{enumerate} \item \label{foo} Foo \item \label{bar} Bar \item \label{baz} Baz ...
7
votes
2answers
63 views

Wrong vertical space in theorem environment closed by an equation

It happens that LaTeX, to fill a page vertically, adds extra spaces around equation environments (and other vertical spaces). Now suppose I have a theorem environment (using amsthm) which ends with an ...
1
vote
0answers
33 views

restatables and \listoftheorem

I am using the restatable environment from the thm-restate package ofthmtools. I am also using \listoftheorems command to give me a list of the theorems. However, my restatable theorem is appearing ...
14
votes
3answers
406 views

What style/font is this?

Does anyone know how to create numbering for Theorem/lemma/… like this one in the image below, also any idea about the font name?
2
votes
1answer
41 views

How to adust margin in listoftheorem

I have some definitions and theorems inside subsubsubsection. When latex generates the listoftheorems, the last digit of the subsubsubsection overlaps the first letter of the name of the theorem, ...
1
vote
1answer
58 views

How to ignore proofs? [duplicate]

I'd like to print a shorter version of my paper without all the proofs, I'm thinking about something like \renewenvironment{proof}{\begin{comment}}{\end{comment}} but that activates the comment ...
5
votes
2answers
64 views

Theorem/remark/proposition/etc tagging/labelling

I have been wondering this for years, and never really had so much trouble that I couldn't bear not to know, but now I think I'll just ask and see if anyone knows. It is common practice to label ...
4
votes
1answer
68 views

How do I reference in appendix a theorem given in the body?

I have a theorem given in the body text of a paper, say Theorem 2 with label {theorem-abc}. I would like to provide the proof of this theorem in the appendix. 1) How do I cross-reference this theorem ...
6
votes
2answers
51 views

\newtheorem other language

I've worked in my article with the next code in my preambule: \usepackage[dutch]{babel} \usepackage[amsthm,thmmarks]{ntheorem} \newtheorem{diver}{Theorem} \newtheorem{ex}{Example} ...
3
votes
2answers
74 views

amsthm in clean

I am looking for a good latex template for my phd. I did not like the classicthesis because of the huge margin and the collapsed table of contents. I found the cleanthesis to be just what I was ...
1
vote
1answer
87 views

Include theorem name from thmtools into mdframed title box

mdframed is nice for controlling the outer layout of theorems. thmtools on the other hand can take care of a number of other things great and small, in particular the detailed formatting of the title ...
2
votes
1answer
31 views

using a restatable before it is stated

This question is related to the question at Recalling a theorem, which uses the thmtools and thm-restate packages and the restatable environment to define a theorem that can be re-stated later on. Is ...
1
vote
1answer
54 views

Alternative numbering for theorem

I am using thmtools as a front end to amsthm and I have a definition environment as follows. \declaretheorem[ style=mydefinitionstyle, name=Definition, numberwithin=chapter ]{definition} ...
2
votes
2answers
75 views

Lemma numbering by first instance of referencing

My document is long with proofs broken into several lemmas and many of them are in the appendix. However, it seems odd when I am using Lemma 25 (which should ideally be Lemma 1) to prove Lemma 2. It ...
7
votes
2answers
65 views

Setting an “attribute” for Theorem to be accessed later

I am writing a math paper with a large number of theorems. I'm looking to have a table summarizing my results, and I'd love it if the table could be generated automatically from my paper. I' looking ...
4
votes
1answer
103 views

Theorem/Definition/Lemma/etc independent numbering in Lyx

I am using the Koma-script book class in Lyx. By default, theorems, definitions, lemmas, and so on, follow the same numbering. So after "Theorem 1" comes "Definition 2", then "Lemma 3", and so on, ...
7
votes
1answer
92 views

Extra spacing around restatable theorems

I'm learning how to use the thmtools package, and I came across a strange quirk. A minimal example is as follows: \documentclass{article} \usepackage{amsthm} \usepackage{thmtools} ...
3
votes
1answer
51 views

Theorem style 'bodyfont' not respected

The two theorem styles below which differ at bodyfont style, give the same font style. Can someone help on this? \documentclass[12pt,a4paper]{report} \usepackage{amsthm} \usepackage{thmtools} ...
2
votes
1answer
67 views

How to change numbering in remark?

I am writing a book on mathematics. I want to get the following text document : I have written the following code : \documentclass{book} \usepackage{amsthm} \theoremstyle{plain} ...
0
votes
1answer
50 views

\newtheorem Causes paragraph ended by thmnumber [closed]

I'm trying to build my dissertation using our university provided latex style file (wsuthesis - available here). All other packages are the default ones provided by using MacPorts. Ok, everything ...
1
vote
1answer
87 views

Command \* already defined … see p.192 of the manual

My code had: \newtheorem*{theI}{Thesis I} And it gives me the error: Command \* already defined. Or name \end... illegal, see p.192 of the manual. 1.16 \newtheorem*{theI}{ ...
3
votes
1answer
67 views

How to Label a Heuristic Proof

I am using \newtheorem{thm}{Theorem}[section] and would like to my article to read Heuristic Proof instead of the standard Proof. I am showing Ito's but not in a rigorous way. Any ideas? ...
6
votes
1answer
85 views

How to remove space surrounding a colored theorem box?

This is a follow-up question of Combining spacebelow with shaded parameter in thmtools package. Bug?. How can I get rid of the space above the theorem box? If I comment out the mdframed=... line it ...
7
votes
1answer
106 views

List of equations in separate pdf

I am communication with my coauthors via email. This time, I am the author, so I send them the PDF file of the document, and they send me corrections. Then I'd like to implement these corrections. ...
4
votes
1answer
63 views

Hyperref warning when using amsthm and enumerate

hyperref gives the warning that something has been referenced but it doesn't exist. When I use the enumerate (or an itemize) list, I get the warning. Here is the minimal working example (MWE): ...
7
votes
2answers
108 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 ...
8
votes
3answers
160 views

How to draw a horizontal line at the end of proofs?

How can I draw a horizontal line at the end of proofs? I use \begin{proof}....\end{proof}. I use amsthm package without any modification.
0
votes
0answers
73 views

Alignment of long algorithms and theorems [closed]

I'm writing a document with relatively many algorithms (using algorithmicx) and theorems. I have noticed that if a theorem starts in the end of a page, which also includes a floating algorithm that is ...
0
votes
0answers
28 views

How do I get rid of the white background underneath my shadow? [duplicate]

I have selected a specific background for my beamer slides and I am using the theorem environment for my theorems. When I turn the shadows on for the blocks however, instead of giving me nice shadows ...
3
votes
1answer
56 views

Horizontal spaces to the left and right of theorems

How do I get horizontal spaces to the left and right of theorems? My initial idea was to do the following bad idea: \documentclass{article} \usepackage{lipsum}% http://ctan.org/pkg/lipsum ...
3
votes
1answer
68 views

Change theorem numbering from Roman to Arabic

I am trying to number my theorems according to section number. I use the following in the preamble, which works: \newtheorem{theorem}{Theorem}[section] However, since my section is numbered as ...
5
votes
1answer
90 views

Add vertical space before and after framed-theorem environments

I want my theorem-like environments to be framed, as it's an effective way of making them stand out from the main text. According to Gonzalo Medina's answer to the question box around theorem ...
6
votes
2answers
171 views

Indent Theorem like \hangindent, but for multiple paragraphs

I would like to create a theorem style which indents the theorem exactly like a \hangindent would do, expect that the indention should continue for all paragraphs of the theorem. For example: ...
2
votes
1answer
118 views

How to port this ntheorem solution to amsthm + thmtools?

Is it possible to reproduce this pleasant theorem environment using amsthm and thmtools?
2
votes
1answer
48 views

\newpage inside of \newtheorem

Ηow to enter \newpage in the environment so that each exercise is contained in its own page. \newtheorem{exercise}{ \color{magenta} \Large \bfseries }[chapter] Something seemingly simple but ...

1 2 3 4 5 9