a collection of packages that is designed to provide an easier interface to theorems (and theorem-like environments), and to facilitate some more advanced tasks

learn more… | top users | synonyms

0
votes
0answers
8 views

Spacing between Chapters and Appendix in \listoftheorems

I'm using the document class 'scrbook' and generate a list of theorems with the command \listoftheorems from the package 'thmtools'. Unfortunately, the vertical space between the last chapter and the ...
3
votes
2answers
24 views

Padding in theorem environment with thmtools

I'm using thmtools to make shaded theorems, but there is no padding around the theorem body and that makes it ugly. MWE: \documentclass{article} \usepackage{amsmath} \usepackage{amssymb} ...
3
votes
2answers
36 views

Proof environment produces “Proof Proof: …” only when thmbox is used

I'm using thmtools. When I use the thmbox keyword in a theorem environment definition, all the proofs start with "Proof Proof: ". MWE: \documentclass{article} \usepackage{amsmath} ...
0
votes
1answer
16 views

Per-environment heading in thmtools theorems

I have a custom style for definitions, but I'd like to customize the heading every time: \usepackage{amsmath} \usepackage{amsthm} \usepackage{thmtools} \declaretheoremstyle[ spaceabove=\topsep, ...
2
votes
1answer
19 views

autoref inside a section name, using amsthm and thmtools

The following example works well: \documentclass{article} \usepackage{amsthm} \usepackage{thmtools} \declaretheorem[parent=section]{theorem} \usepackage{hyperref} \begin{document} \section{Section} ...
3
votes
1answer
76 views

Adding an “mdtheorem” (i.e. with frametitle) to a List of Theorems

I'm having trouble with either formatting newmdtheoremenv environments, or adding mdtheorem environments to a table of theorems, depending on how you look at it. My MWE: \documentclass{article} ...
4
votes
1answer
73 views

How to use cleveref names as theorem names with thmtools

I'm trying to setup a few theorem-like environments with thmtools, making it work with cleverer while trying to stay compatible with different languages. If I load cleveref after thmtools it seems ...
5
votes
1answer
43 views

Itemize inside environment gives double space after

Some definitions and theorems end with an itemize. When I use pure amsthm this looks good, but when I use thmtools+amsthm it looks ugly with too much space below the theorem. I do not see what I have ...
2
votes
1answer
18 views

Issue Passing an Optional Argument through Theorem Name with thmtools [duplicate]

I am using thmtools to create theorems, and I sometimes want the theorem name to include math symbols. In this particular project, I have used xargs to create a command that uses an optional argument, ...
1
vote
1answer
40 views

Custom QED Alignment with thmtools

I am trying to create a custom theorem format using the thmtools package. However, I am running into problems with the alignment of the QED symbol. When I end the theorem with normal text, it placed ...
1
vote
1answer
43 views

LaTeX Error using thmtools: Missing \begin{document}

Starting to use the thmtools package, I encountered a LaTeX Error: Missing \begin{document}. in the following minimal example. \documentclass{article} \usepackage{amsthm} \usepackage{thmtools} ...
2
votes
1answer
30 views

Removing the extra information at a definition? (thmtools&amsthm)

I noticed that the list of theorems doesn't make much sense for definitions because what I get basically is just 1.5 Def etc. which doesn't convey any information. Hence I added the extra information ...
3
votes
1answer
54 views

Theorem name not making it to the aux

I posted a question. egreg answered. I applied his solution to my presentation. It worked. Then I tried it in my thesis, where I use references, and I realized the theorem names weren't making it to ...
2
votes
1answer
34 views

Using thmtools to add an asterisk to a theorem number: how to not add the link when hyperref is used

This answer gives a nice way to add an asterisk (or any other symbol really) to an equation number. The method works very well. Unfortunately, if the hyperref package is used, the new number with the ...
3
votes
1answer
75 views

Extra brackets appearing in styled theorem in beamer

Here is my code: \documentclass[slidescentered]{beamer} \usepackage{amsthm,thmtools,xparse} \makeatletter \newif\if@namespace\@namespacefalse \newcommand{\contrel}[2]{ \if@namespace Continua da ...
1
vote
1answer
32 views

Why \GetTranslation from translations package cannot be used for (thmtools) theorem's name?

The following MWE works as expected: \documentclass[french,english]{article} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{amsthm} \usepackage{thmtools} \usepackage{translations} ...
2
votes
1answer
84 views

Declaretheoremstyle headpostspace = \newline + indent?

I am having problems trying in declaring a theorem style. I would like the first row of the definition to be on a new line with the normal indent. If I try to add \par instead of \newline for ...
1
vote
0answers
25 views

Extra line being inserted after enumerate or math display before qed symbol [duplicate]

I am using thmtools and amsthm to create custom theorem environments with custom qed symbols, like so: \declaretheoremstyle[ spacebelow=2\topsep, spaceabove=2\topsep, headfont=\normalfont\bfseries, ...
1
vote
1answer
108 views

Theorem style with margin on both sides

I'm strugeling with the theorem package thmtools and its features. I've declared several theorem styles with \declaretheoremstyle and \declaretheorem. How can I add a hanging paragraph margin on the ...
4
votes
2answers
45 views

thmtools notebraces bug?

\documentclass{article} \usepackage{amsmath} \usepackage{amsthm} \usepackage{thmtools} \declaretheoremstyle[notebraces={[}{]}]{style} \declaretheorem[style=style]{theorem} \begin{document} ...
5
votes
2answers
126 views

In theorem style, how to make the dot font depend on the name font ?

I have to use the thmtools package to style my theorems, lemmas, remarks etc. Unfortunately, I noticed that when I give an optional name to a remark for instance this name is in normal font, but the ...
5
votes
1answer
117 views

Section Title in thmtools List of Theorems

The thmtools package provides a \listoftheorems command that generates a list of theorems/definitions/etc. Here's a MWE: \documentclass[12pt]{article} \usepackage{amsthm,thmtools} ...
1
vote
1answer
64 views

Number theorems with chapter number

I use declaretheoremstyle to define a theorem environment, and print a list of theorems in the end of my document: \documentclass[12pt]{book} \usepackage[english]{babel} ...
3
votes
2answers
90 views

Theorems spanning pages without losing width

I use declaretheoremstyle to declare a theorem environment. I like the format of shaded, it gives a special background color without shorten the width of a text. But one problem is that a theorem ...
3
votes
1answer
56 views

Remove repeated “Theorem (” in the list of theorems

I use declaretheoremstyle to define a theorem environment, and print a list of theorems in the end of my document: \documentclass{article} \usepackage[english]{babel} ...
3
votes
1answer
64 views

modify thmbox.sty

I want to modify thmbox.sty as it would not underline the optional key : \begin{myenvthmboxname}[text I don't want to underline] But I want to underline the title of the box. ...
0
votes
0answers
40 views

headindent in thmbox environment

I want to define an environment with thmbox style M and custom the headindent. I try .... Here the code : \documentclass{article} \usepackage{amsthm} \usepackage{thmtools} \usepackage{lipsum} ...
4
votes
1answer
63 views

How can arguments be used inside headstyle with thmtools?

I'm trying to define something like the named theorems in Customizing theorem name except using thmtools. As far as I understand, the headspec is to be provided in the key headstyle to ...
2
votes
0answers
43 views

Can I reuse the window/orphan mechanism of section titles to bind something else (like theorems with their proofs)?

LaTeX layout mechanism can somehow try to avoid window/orphan paragraphs and section titles, i.e. it's very rare (or impossible?) for a section title to appear at the end of a page with the first ...
3
votes
1answer
130 views

Allowing pagebreaks for shaded theorems using thmtools

I just searched for a way of allowing pagebreaks when using shaded theorem-environments from thmtools. I found my question was, somewhat, answered here (the second solution) with a comment from the ...
2
votes
1answer
142 views

How to Nest Proofs in a Useful Way

I am using amsthm and amsbook and nesting claims and proofs. I would like to have two things: 1) Proofs that are in a deeper layer should be indented. 2) There should be a semi-box (only left and ...
4
votes
2answers
166 views

List of theorem dots overlapping with theorem name

Here is my MWE: \documentclass[a4paper]{report} \usepackage{amsmath,amsfonts,amssymb,amsthm,thmtools,tikz,xparse,lipsum} \usepackage{newtxtext,newtxmath} \usepackage{hyperref} \makeatletter ...
3
votes
2answers
187 views

List of Theorems and tikz overlay

Suppose you call \listoftherems from the thmtools package, and use titlesec package to modify appearance of chapter headings. Suppose further that in titleformat, you include a simple tikzpicture, ...
2
votes
1answer
116 views

thmtools: Custom Header

I'm using amsthm and thmtools to customize theorem-like environments. I want a theorem enviroment that has a header that looks like the following: . I tried to use something like headformat = ...
2
votes
1answer
254 views

numbering different theorem names with thmtools

I am using the thmtools package to produce a list of theorems at the end of my document. I am also using several different theorem headings (proposition, lemma, definition, etc...), which are not ...
3
votes
1answer
236 views

Problem with thmtools: thmbox and numbered=no

I've got a problem when I try to use the options thmbox=M and numbered=no at the same time in the thmtools package. Here a mwe: \documentclass{minimal} \usepackage{amsthm} \usepackage{thmtools} ...
0
votes
1answer
47 views

Problem understanding how thmtools works

The answer to this question directs me to editing \thmt@mklistcmd to change the appearance of the Theorem List, and it seems to be the solution, since it defines \csname ll@\thmt@envname\endcsname ...
0
votes
1answer
179 views

Customizing theorem list

I use theorems a lot, and make theorem lists. Here is a minimal theorem example with thmtools: \documentclass[a4paper]{report} \usepackage{amsthm,thmtools,amsmath,amssymb,amsfonts} ...
2
votes
2answers
160 views

An error I get trying to number tables consecutively with theorems

egreg kindly answered my (previously-asked) question about giving numbers the same numbering as theorems here: Numbering tables sequentially. Unfortunately, this very good solution seems to be ...
9
votes
1answer
307 views

Theorems and labels

Let me give a bit of background before the actual questions. I took a look at latex.ltx to see how labels are handled. I found that: \def\label#1{\@bsphack \protected@write\@auxout{}% ...
5
votes
1answer
53 views

Conflict between tkz-fct and thmtools?

I'm using TeXLive 2014. Here's a MWE: \documentclass{article} \usepackage{tkz-fct} % Must appear before {thmtools} \usepackage{thmtools} \declaretheorem{theorem} \begin{document} ...
1
vote
1answer
159 views

Changing the format of numbering theorems using thmtools and amsthm

As the the title suggests, I want to have something like Corollary 1.I (first corollary of the first chapter) I want the chapter counter be in Arabic numbers, and the corollary counter be in Roman ...
4
votes
1answer
52 views

Is there a workaround to this cleveref/thmtools bug: they think, multiple references is sequential

I have a latex file that exhibits a cleveref/thmtools bug. In short: I have \cref{problem:5,problem:4,problem:2} in the file, and I expected to have, in the output problems 2.1, 2.2, and 1.3. ...
2
votes
1answer
99 views

thmtools: command to print theorem name

I'm using amsthm and thmtools for my theorem environments. Is there any way to print the name of a theorem? For example, given the following code: \documentclass[paper=a4]{scrreprt} ...
0
votes
1answer
159 views

Hyperlinks in theorem names

With the following code: \documentclass[a4paper]{report} \usepackage{lipsum,amsthm,thmtools,hyperref} \declaretheoremstyle[ spaceabove=\topsep, spacebelow=\topsep, headfont=\normalfont\bfseries, ...
5
votes
1answer
157 views

amsbook+thmtools: `\listoftheorems` points to first page of document, not to list of theorems

I use the thmtools package in an amsbook document and compile with pdflatex. The hyperlink generated in the table of contents that should point to the list of theorems wrongly points to the first page ...
0
votes
1answer
695 views

thmtools declaration for theorem and proof.

I'm using thmtools to specify the theorem and proof environments. The problem that arises is that I want my theorems stated in italics and my proofs in non-italic. The following is my initial setup: ...
0
votes
0answers
73 views

alphabetical order in listoftheorems

I use the package thmtools to generate a List of my Definitions at the end of the Document. This works fine, but the list is orderd by chapter and not orderd by the name of the definition. Here's ...
4
votes
1answer
202 views

skipbelow does not work for combination of mdframed and thmtools

I am trying to alter the space below a theorem box, which is created using thmtools and mdframed. \documentclass{scrartcl} % % \usepackage{amsthm} \usepackage{thmtools} \usepackage{mdframed} % ...
4
votes
2answers
163 views

thmtools - custom head format inserts space

I am using thmtools to create exercise environments. The format I am looking for is: The exercise number, in bold a period and space If the exercise note is set (with the name) key, the note in ...