3
votes
1answer
39 views

amsthm with shared counters messes up autoref references

When I define amsthm theorem environments with shared counters, autoref messes up the names of the references. For example, in the output below, we should have "Definition 2" instead of "Theorem 2". ...
2
votes
1answer
63 views

Rewriting a template from amsthm to thmtools

I've been using the Legrand Orange Book template on a project of mine with a friend and coworker. This template uses amsthm and mdframed to format a bunch of environments and I'm rewriting them to use ...
5
votes
3answers
94 views

How can I number theorems in introduction without section counter and later with it?

I would like to have my theorems numbered in the following way. Theorem 1. Blah-blah Theorem 2. More blah-blah Section 1. Theorem 1.1. Special blah Theorem 1.2. More special ...
4
votes
1answer
82 views

No indentation after theorem environment with amsthm

I use the amsthm package and dont want lines which start right after the theorem environment to be indented. I consulted the manual of the package and it said to define a new theorem style. I expected ...
5
votes
1answer
84 views

How do I remove parentheses from theorem optional argument?

This is a MWE: \documentclass[12pt]{article} \usepackage{amsfonts, amsthm, amsmath, amssymb} \theoremstyle{definition} \newtheorem{Theorem}{Theorem}[section] \newtheorem*{Pythagorean ...
2
votes
1answer
47 views

qed symbol not correctly aligned when ending a proof with a diagram

I know there is a myriad of questions about the alignment of the tombstone symbol, but I couldn't see any one that addresses this little issue. Say you end your proof with a diagram such as the ...
8
votes
2answers
140 views

Intelligently Numbering “remarks” only when multiple are made

Problem. I am using the amsthm package, and have remarks after theorems. If there is only one remark between two theorems, the remark should not be numbered. If there are multiple remarks between ...
2
votes
1answer
83 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} ...
0
votes
0answers
69 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 ...
5
votes
1answer
73 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
2answers
130 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
32 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 ...
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 ...
10
votes
1answer
116 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 ...
3
votes
1answer
136 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 ...
6
votes
1answer
94 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
2answers
68 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, ...
4
votes
1answer
2k views

Using amsthm but still getting “Environment theorem undefined”

I'm trying to write up all my university theorems and I cant get the theorem environment to work. Here is a mini example of what I'm trying to do. \documentclass[a4paper,12pt]{article} ...
4
votes
1answer
89 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 ...
2
votes
1answer
94 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
132 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
82 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
1answer
711 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
94 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 ...
0
votes
0answers
28 views

How to add an end indicator to remark in amsthm? [duplicate]

We usually use \qed to indicate the end of proof. With amsthm, it is possible to adjust the formatting of proof. But I also have several rather long remarks, which better have a end indicator, ...
3
votes
2answers
189 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
100 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 ...
7
votes
1answer
469 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
391 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 ...
2
votes
1answer
391 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} ...
6
votes
0answers
269 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
189 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
186 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 ...
4
votes
2answers
132 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} ...
3
votes
1answer
137 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
174 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} ...
3
votes
1answer
132 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} ...
13
votes
3answers
542 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
289 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
235 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
39 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 ...
7
votes
1answer
836 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. ...
3
votes
1answer
131 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
161 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} ...
5
votes
1answer
305 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
149 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
192 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?
6
votes
1answer
260 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] ...
3
votes
1answer
799 views

Numbering a “new theorem”

I have a (simple?) question. I use the ams theorem environment for most of my theorems, but I want to box my definitions and find here a nice way to do it, simpler for me than mdframed. My problem is ...
2
votes
1answer
166 views

Line break after header of theorem environment followed by multicols body causes header-body overlap

I use TeXLive 2011. I use ntheorem and multicol. In a theorem environment, I want the theorem header to be separated from the body by a line break such that the multicols-environment get's that and ...