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

4
votes
0answers
59 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
28 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
39 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
32 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
35 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
6 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
41 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
29 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
44 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
106 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
148 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
131 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
55 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
106 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 ...
2
votes
1answer
83 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
0answers
36 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
112 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
119 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
174 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
44 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
83 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
37 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
50 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
79 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
100 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
237 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
48 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
117 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
116 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
95 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
96 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
304 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
71 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
152 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
213 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
443 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
126 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
183 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} ...
1
vote
1answer
317 views

Customizing list of theorems

Is it possible to avoid brackets surrounding the name of a theorem in the \listoftheorems from package thmtools? And if so, how do I do that?
3
votes
1answer
98 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
156 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
530 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
191 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
371 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). ...
5
votes
1answer
150 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
51 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
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} ...
1
vote
1answer
149 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
125 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
169 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} ...