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

2
votes
2answers
76 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
126 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
33 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
31 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
29 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. ...
0
votes
0answers
28 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
36 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
57 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
64 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
32 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 ...
3
votes
1answer
59 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
73 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 ...
5
votes
2answers
57 views

get rid of whitespace after postheadhook thmtools

I want to get rid of the stupid white space after the postheadhook \newline (see before asdasd) in the following example: %!TEX TS-program = XeLaTeX %!TEX encoding = UTF-8 Unicode % ...
2
votes
1answer
84 views

Why is thmtools and mdframed not working with parskip

I have the following MWE: %!TEX TS-program = XeLaTeX %!TEX encoding = UTF-8 Unicode % DEFINITIONS =================================================== \documentclass[ 12pt, a4paper, ...
3
votes
1answer
166 views

Editing Format of List of Theorems in thmtools

I'm trying to change the formatting of the \listoftheorems command from the thmtools package. It currently prints "Theorem (Name of Theorem).... Page Number", and I would like it to print "Name of ...
1
vote
0answers
59 views

thmtools and mdframed (vertical space)

I dont know why I dont get the two examples closer together. How can I achieve a spacing of 0mm between the two Examples? %!TEX TS-program = XeLaTeX %!TEX encoding = UTF-8 Unicode % DEFINITIONS ...
2
votes
1answer
104 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
2answers
172 views

paragraph indentation inside an indented environment

I have used the thmtools-package to create a new proof environment. With the following code I indented the whole environment: \AtBeginEnvironment{prf}{ ...
4
votes
1answer
198 views

Strange errors and error changes

Typesetting: \documentclass[a4paper]{report} \usepackage{thmtools,amsthm,hyperref} \newtheorem{defi}{Definizione} \begin{document} \renewcommand\listtheoremname{Definizioni, Teoremi, Proposizioni, ...
4
votes
1answer
89 views

Restatable example containing code listing

I am creating a beamer presentation, and I'm using the packages thmtools, thm-restate and listings. Inside one of my \frames, I want to create an example block containing a code listing. Later, I want ...
1
vote
1answer
110 views

Strange error with `thmtools` styling in a package

I'm writing a package. Here is a part of it which should be enough for people to try reproducing my problem: %[…] \ProvidesPackage{mworks} %[…] \RequirePackage{amsmath,amssymb,amsfonts,nicefrac} ...
0
votes
1answer
163 views

Customizing list of theorems (LaTeX)

Is it possible to avoid brackets surrounding the name of a theorem in the \listoftheorems from thmtools? And if so, how do I do that?
3
votes
1answer
81 views

restatable non-nested sub-theorems

I want to create restatable sub-theorems without nesting them. I am using packages thmtools and thm-restate. By non-nested sub-theorems, I mean a similar structure to what we use for sections and ...
6
votes
1answer
110 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
1answer
377 views

Define proof environment in thmtools

I'm using thmtools for fancy-looking math environments. But I don't know how to redefine proof environment. I cannot find such topics in its documentation. This is my LaTeX code snippet. ...
2
votes
1answer
137 views

Problem with thmtools + scrbook + parskip=half

I want to draw a frame around my "thmtools" theorems. Theorems should look like the first example. The problem is that sometimes my theorems are getting quite long and should be spanned over two ...
4
votes
1answer
228 views

List of theorems with thmtools not working - Missing \endcsname inserted

I am trying to generate a list of all equations in a document. I have searched and it seemed a good solution would be to use the thmtools, which can generate a list of all theorems(if im correct). ...
4
votes
1answer
113 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
0answers
45 views

How to bring the footnote back to the footer of the page when using thmtools

I use thmtools for my theorems. But when I use it, my footnotes done with \footnote{foo} don't appear in the footer, they are in the footer of the theorem. I declare my theorem like this ...
0
votes
0answers
25 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} ...
1
vote
1answer
130 views

Problem using thmtools, hyperref and showkeys all together

When I use \eqref (from amsmath) in the optional argument to the proof environment (from amsthm) and the three packages thmtools, hyperref, and showkeys are loaded, TeX runs into an infinite loop. ...
0
votes
1answer
106 views

About endmarks in thmtools

If I use the `thmtools´ package I get poorly placed endmarks (it appears on the next line) when ending a proof with a centered mathematical equation. How can I fix this? This is my code: ...
4
votes
1answer
106 views

Can one set global numberlike in thmtools?

I want all of my theorem-like environments to be numbered as if they were all theorems. Using thmtools I can do this with code like this: \usepackage{amsthm} \usepackage{thmtools} ...
3
votes
2answers
79 views

Change line thickness in thmtools

I am using the thmbox=M option with thmtools and I would like to change the line thickness of the box. I found how to change the colour in here: thmbox color bar. Is there an easy modification of what ...
5
votes
2answers
153 views

thmbox splits theorems in two pages and the option “nocut” produces many empty spaces in pages.

this is a follow up to the problem described here. I have the same problem and the proposed solution does not completely solve the problem. I mean, it does solve the problem but also creates another ...
0
votes
1answer
153 views

thmtools with thmbox split in two pages

I am trying to use the thmbox=Moption from the thmtools package. But sometimes in the text when there isn't enough space for the theorem to fit in the bottom of the first page, it moves it to the next ...
3
votes
2answers
159 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 ...
1
vote
1answer
174 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 ...
2
votes
1answer
390 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 ...
9
votes
1answer
197 views

Framed mdtheorem with qed symbol at the end

I'm trying to include a $\blacktriangle$ at the end of a framed environment using the mdframed package. However, my code is somehow not working properly. Let me explain what I'm doing: ...
7
votes
1answer
193 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
749 views

Using mdframed style within \declaretheoremstyle to change title

I am using thmtools to create an example environment using \declaretheoremstyle and \declaretheorem. I am also modifying the style using the mdframed key, to create a frame, shade the background of ...
7
votes
2answers
873 views

Write “chapter” before list of figures

if I use the \listoffigures command LaTeX creates a new chapter (I'm using the book class), but there is no chapter heading. Is it like it uses \chapter*{List of figures}. Of course this is what we ...
2
votes
1answer
277 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
133 views

Combining spacebelow with shaded parameter in thmtools package. Bug?

In the following example the spacebelow parameter is ignored. If you comment out the shaded parameter, the space is considered. Is it possible to use both parameters spacebelow / shaded? ...
8
votes
2answers
188 views

How remove indention in theorem environment?

How is it possible to remove the indention at the beginning of the theorem text? \documentclass{article} \usepackage{amsthm} \usepackage{thmtools} \declaretheorem[thmbox=L]{boxtheorem L} ...
6
votes
1answer
178 views

Problem regarding Errors after Theoremdefinition using thmtools

I am currently hunting for errors in my template and these two I cannot solve after reading the log and researching: First: ! Argument of \strip@prefix has an extra }. <inserted text> ...
5
votes
1answer
203 views

thmtools - issue with head number style

I'm using thmtools to define a custom example environment. I'm styling the head as italic, but the number is not being styled correctly: it appears in normal mode instead of italic (the dot after the ...
8
votes
2answers
441 views

wrong page with pageref if using thmtools

I don't know if the following issue is related to any other question already asked. My issue and minimal looks very simple. \documentclass{book} \usepackage{hyperref} \usepackage{amsthm} ...
3
votes
1answer
275 views

\listoftheorems not appearing on pdfbookmark

I'm using thmtools \listoftheorems to generate a list of the theorems that I use in my thesis. So far so good, I've been able to put the list in my table of contents. However, there is no entry for ...