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

3
votes
2answers
158 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
488 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
84 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
530 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
626 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
99 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
112 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
346 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
350 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
88 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
87 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
133 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
237 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
2answers
134 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
251 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
67 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
74 views

Break theorem style in amsart [duplicate]

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 ...
3
votes
1answer
103 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
3k 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
168 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
316 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 ...
3
votes
1answer
148 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
209 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
110 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 ...
6
votes
1answer
88 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
132 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
156 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
565 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
82 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
77 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
136 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
849 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
218 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
107 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 ...
2
votes
1answer
368 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
184 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
201 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
146 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
99 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 ...
5
votes
1answer
2k 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
204 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
176 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} ...
3
votes
1answer
148 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} ...
4
votes
1answer
2k 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
168 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? ...
7
votes
1answer
185 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 ...
6
votes
1answer
174 views

List of equations in separate pdf [closed]

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
102 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): ...
14
votes
3answers
713 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 ...