A package that facilitates the kind of theorem setup typically needed in American Mathematical Society publications. The package offers the theorem setup of the AMS document classes (amsart, amsbook, etc.) encapsulated in LaTeX package form so that it can be used with other document classes.

learn more… | top users | synonyms

4
votes
1answer
134 views

Only show \NAME in \listoftheorems

I am using the thmtools package, and I want to modify \listoftheorems to only print the name of the theorem. For example, my document might look something like the one shown below. When I compile this ...
4
votes
2answers
914 views

Maths, functions in latex, really basic

I am trying to code the following; f:X->Y   x|->f(x) where -> is \longrightarrow and |-> is \longmapsto. However, my problem is that I am unable to get the x directly underneath the X. ...
2
votes
2answers
372 views

File ended while scanning use of \\definition

LaTeX noob here. Basically I get the following message in sharetex: main.tex: File ended while scanning use of \\definition. <inserted text> \par <*> main.tex I suspect you have ...
4
votes
1answer
750 views

siamltx + amsthm: “LaTeX Error: No counter 'Theorem' defined.”

When using the LaTeX class siamltx (from the SIAM page) together with amsthm (which I need for its theoremstyle command), I'm getting the error message ! LaTeX Error: No counter 'Theorem' defined. ...
7
votes
1answer
168 views

Creating an example environment structured exactly like amsthm's proof environment

I want to create an environment for examples that is structured exactly like the \begin{proof}...\end{proof} environment, i.e. starting with an italic "Example.", continuing in the same line and ...
2
votes
1answer
140 views

Theoremstyle with line break but non italic text

I use the theorems (from the amsthm-package) to specify definitions, examples and so on.. I want them to do two things: 1) line break after the label 2) non italic text within the theorem! I ...
3
votes
1answer
169 views

Indicator at end of theorem

I'm writing a text with some very long theorem-environments in it and I find the italicised theorems visually not pleasing when they are rather longish. So I'm using the definition theorem style most ...
4
votes
2answers
283 views

Italicizing of amsthm package

I'm using the amsthm package, and I noticed that a remark is automatically italicized, while a theorem and a proposition are not. What other keywords have their content automatically italicized by ...
1
vote
0answers
58 views

Theorem Style (like 1.1 Theorem) [duplicate]

By default, theorems (using amsthm) are printed like Theorem 1.1. Is it possible to print them as 1.1. Theorem? I have the following: \documentclass{article} \usepackage{amsmath, dsfont, amsthm , ...
4
votes
1answer
282 views

Titlesec, runin shape and amsthm

I'm trying to have an old fashioned style of (sub)section numbering as in EGA (Eléments de Géométrie Algébrique, by A.Grothendieck and J.Dieudonné). For a LaTeX written example, see here. I did it ...
0
votes
0answers
26 views

Is it possible to use \autoref without thmtools? [duplicate]

I have the following tex file; \documentclass[a4paper]{article} \usepackage{amsthm} \usepackage{thmtools} \usepackage[hidelinks]{hyperref} \newtheorem{thm}{Theorem} \begin{document} ...
3
votes
0answers
31 views

Deleting new line when beginning new theorem in a list [duplicate]

I am using the package amsthm to type my assignments and I have encountered the following problem. Here's the code I use: \newtheorem{claim}{Claim} : : \begin{enumerate} \item \begin{claim} ...
1
vote
1answer
1k 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: ...
3
votes
1answer
1k views

How to get started to typeset mathematical proofs with LaTeX? [duplicate]

I want to start using LaTeX to organize my proofs into a readable fashion. This motif is due to my professors preferring e-mail communication instead of reading a chicken-scratch proof. I know enough ...
3
votes
1answer
128 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 ...
1
vote
1answer
208 views

Clash amsthm and hyperref [closed]

The program below shows a problem with hyperref and amsthm. Not really a problem for me, since I don't use amsthm anyway so I just threw it out, but still it took me quite some time to figure it out. ...
3
votes
2answers
509 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: ...
3
votes
2answers
115 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 ...
9
votes
1answer
1k 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 ...
2
votes
2answers
655 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 ...
4
votes
2answers
563 views

Starting a proof with \paragraph

I would like to break a proof into paragraphs, but I don't seem to be able to start a proof with a paragraph. \documentclass{article} \usepackage{amsthm} \begin{document} \begin{proof} ...
3
votes
1answer
730 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} ...
7
votes
0answers
449 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 ...
3
votes
1answer
141 views

problem with Greek in beamer [Lyx]

I am trying to write my thesis presentation in Lyx with Beamer but i have an issue with Greek language .. when i want to add a definition from drop down menu , the letters dont appear right in the ...
4
votes
1answer
306 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 ...
2
votes
1answer
332 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
2answers
529 views

How to make a box bold at the end of proof? [duplicate]

Let us consider the following example : \documentclass[12pt,twoside,a4paper]{book} \usepackage[left=.45in,right=.45in,top=.6in,bottom=.6in]{geometry} \usepackage[fleqn]{amsmath} ...
4
votes
2answers
224 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} ...
2
votes
1answer
281 views

Wrong names for theorems/lemma/etc. in LyX

I am using LyX 2.0.3, and I usually type my documents (my lecture notes, mainly) in french. Now, I have to write a paper in english, I can't get the label names of the AMS Theorems package to be in ...
3
votes
1answer
156 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} ...
4
votes
1answer
101 views

Making a theorem into a link

A link to another file can be created using the code \href{run:/path/to/my/file.ext}{text displayed} Now I'm use the amsthm package. What I'd like is for the phrase 'Theorem X' to be a link to ...
5
votes
2answers
78 views

Is there a way to use #.# style for theorems and definitions, but #.#.# for associated examples?

EDIT: Question solved. Answer below. I would like to be able to do this sort of thing with my examples: 1 Mathematical Logic Theorem 1.1 blahblah Definition 1.2 blahblah Theorem 1.3 blahblah ...
1
vote
1answer
220 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} ...
4
votes
1answer
6k views

Installing amsthm.sty under MiKTeX

On the LaTeX wikibooks I saw that there is an easy way to make theorems: http://en.wikibooks.org/wiki/LaTeX/Theorems The problem is that \usepackage{amsthm} doesn't work - asmthm.sty is not found. ...
4
votes
1answer
239 views

Highlight theorem environment using todonotes

I'm trying to highlight theorem-like environment (defined using amsthm) utilizing todonotes. In the preamble I have: \newtheorem{que}{Question} \newcommand*{\question}[1]{% ...
3
votes
1answer
161 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} ...
14
votes
3answers
941 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
368 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.
2
votes
1answer
324 views

How to port this ntheorem solution to amsthm + thmtools?

Is it possible to reproduce this pleasant theorem environment using amsthm and thmtools?
0
votes
0answers
43 views

ntheorem vs. amsthm [duplicate]

As far as i know, these are alternative packages for playing with theorem-like environments. What do you choose and why? What should be the de facto standard? Regarding the same topic, are you ...
9
votes
1answer
1k views

Is there a \renewtheorem equivalent of \renewcommand, using amsthm and not ntheorem?

Suppose I have a theorem that is defined a certain way, as follows. \newtheorem*{mytheorem}{Foo} And I want to redefine it another way further down in my document, as below. ...
4
votes
1answer
168 views

How can I define a new environment which limits the scope of \newtheorem commands?

I am attempting to make an environment out of the command given in one of the answers to this question: Customizing theorem name. \documentclass{article} \usepackage{amsmath} \usepackage{amsthm} ...
2
votes
1answer
213 views

Is there a theorem style with slanted headfont?

I would like to create a theorem style with slanted text in heads. What's the way? I tried with the thmtools package by \declaretheoremstyle[headfont=\textsl]{slantedhead} ...
8
votes
1answer
343 views

Tombstone misplaced with `multline*` and `\qedhere`

It looks like the end-of-proof symbol is misaligned if multline* and \qedhere are used. Or am I just using them wrong? \documentclass{article} \usepackage{amsthm,amsmath} \begin{document} ...
10
votes
4answers
3k views

\qed or \qedhere at the end of split environment

While I was trying to improve my latest document with respect to its \qed symbols at the end of amsthm's proof environment i came across an interesting point. Assume the proof ends with some formula, ...
6
votes
1answer
625 views

Parts numbering in Proofs

I am using proof environment from amsthm to type proofs. Some proofs are long, so it would be nice to split them into numbered parts. I have defined new theorem environment called proofpart for that ...
5
votes
1answer
188 views

Using amsthm to number examples - how do I account for altered examples (i.e. 1', 1'', etc.)

I have sought long and hard for a solution to this and experimented with a combination of http://tex.stackexchange.com/a/43351 and http://tex.stackexchange.com/a/443, but could not get it to work. I ...
3
votes
1answer
218 views

The statement of a theorem appearing on a new line

I'm using the amsthm package. The statement of the theorem currently appears immediately after the words "Theorem X." I'd like the statement of the theorem to appear on a new line. Is this possible?
5
votes
0answers
123 views

amsthm and amssymb disappeared after updating? [duplicate]

I had recently updated my MikTeX 2.9, but after I did that, two packages - amsthm and amssymb - disappeared. My editor outputs an error whenever I call them, and I can't find them in the package ...
6
votes
1answer
292 views

Weird behavior of \theoremstyle

I just noticed something weird of the \theoremstyle command. Here is the code of a sample document: \documentclass{article} \usepackage{amsthm} \theoremstyle{plain} \newtheorem{thm}{Theorem}[section] ...