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
1answer
38 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
29 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
0answers
42 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
57 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
62 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
133 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
0answers
62 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 ...
3
votes
1answer
82 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
60 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
34 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} ...
0
votes
0answers
76 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
67 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
62 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
65 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
113 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
115 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
117 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
0answers
110 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
233 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
140 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
152 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
460 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
535 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
212 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
93 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
158 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
141 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
157 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
265 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
196 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 ...
2
votes
2answers
283 views

misplaced qed symbol after displaymath inside item of inline list

My problem involes a qed symbol which appears too early. My observations are that it happens after a displaymath inside an item of an unboxed inline list. All of this seems to be necessary to produce ...
2
votes
1answer
976 views

redefine theorem environment with beamer

beamer seems to define theorem-environments such as definition, but i want to be able to define them myself. In particular I want to use thmtools. \documentclass{beamer} \usetheme{Singapore} ...
3
votes
1answer
380 views

Environments with thmtools => too much space if using itemize at the end (also problem with q.e.d. symbol)

I want to use the thmtools package, because it provides some awesome features for declaring environments (proofs, theorems, examples etc.) And I especially like the "qed" feature which places some ...
6
votes
1answer
317 views

Invisible math characters with unicode-math and ntheorem

When compiling this code with lualaTeX (from TeXLive 2011), \documentclass{minimal} \usepackage{unicode-math} \usepackage{ntheorem,thmtools} \setmathfont{xits-math} \makeatletter ...
10
votes
1answer
394 views

A problem with thmtools

I updated my TeXLive yesterday and thmtools is being problematic... Running pdflatex on the following minimal example \documentclass{article} \usepackage{thmtools} \begin{document} Hello ...
4
votes
1answer
437 views

Horizontal spacing issue in \listoftheorems using amsthm + thmtools

I am using the command \listoftheorems with packages amsthm and thmtools. The problem is that the theorem's head and its optional title overlap. How can I make this space bigger to avoid overlapping? ...
8
votes
1answer
215 views

List of definitions: how to remove the prefix “Definition”?

I have write definitions in this way (this is a MWE class unatesi is available here): \documentclass[laurea,oneside,12pt,italian]{unatesi} \usepackage{amsthm} \usepackage{thmtools} ...
5
votes
1answer
461 views

'List of theorems', translated into my language

I'm using \listoftheorems (part of the thmtools package) to show a list of all my theorems. It works really well, but it prints "List of theorems" in English; I would obviously prefer it to be in my ...
17
votes
4answers
622 views

A problem with thmtools and cleveref

I am trying to use thmtools and cleveref and I am getting a quite peculiar error. Here's a minimal example. \documentclass{article} \usepackage{thmtools} \usepackage{cleveref} ...
4
votes
2answers
924 views

`ntheorem` and `thmtools` seem incompatible

I am preparing the setup of the theorem environments for my thesis. I want to do this right before I have say 200 of those environments in my document, since changing them will likely break things at ...
3
votes
1answer
375 views

Extra space before labeled theorem body with thmbox or thmtools+thmbox

Package thmbox seems to add an extra space at the beginning of the body of the labeled theorems. See example below. Package thmtools with the thmbox option does the same. Latex original, package ...
2
votes
1answer
716 views

Unnumbered theorem-like environments using thmtools

This produces an error (\* already defined): \documentclass{report} \usepackage{thmtools} \declaretheorem[numbered=no]{theorem} \begin{document} Nothing. \end{document} Adding package amsthm ...
6
votes
1answer
809 views

Shaded theorems (thmtools) spanning pages

When the thmtools package is used to create theorem environments with a shaded background, it does not allow separate theorems to span more than one page. This is a rather severe problem if the ...
4
votes
3answers
426 views

thmtools: how to put xrefs in argument to thm environment?

I'm using thmtools for defining several environments for theorems, lemmas, etc. Among these is an environment for corollaries. (I give the full definition of this environment at the end of this ...
5
votes
1answer
313 views

thmtools: theorem VI.2.1* = dual of theorem VI.2.1

I'm writing out a collection of theorems and their proofs corresponding to several theorems that appear without proof (or with only minimal proof sketches) in a published book. I am using thmtools to ...
5
votes
2answers
785 views

thmtools: How to prevent pagebreak between theorem and proof?

I am using thmtools to format a collection of theorems and their proofs. Is there any way to prevent a pagebreak from happening between the last line of a theorem statement and the first line of the ...
0
votes
1answer
368 views

How to get this theorem numbering to work?

I'm using the thmtools package to format my theorems. I want theorems to be labeled like: I.1.0, which refers to the first theorem of the first section of the first chapter. (Also, the section ...
11
votes
3answers
2k views

Theorem name and number in margin, note in text

I'm using thmtools to make ultra-fancy theorems. I would like the Theorem name and number (e.g., "Theorem 1") to jut out into the left margin of the text, and the note (e.g., "The Fundamental Theorem ...
5
votes
1answer
986 views

Problem with hyperref / cleveref / thmtools

The following is a (fairly) minimal example: \documentclass{book} \usepackage{amsmath} \usepackage{amsthm} \usepackage{thmtools} \declaretheoremstyle[ spaceabove=6pt, spacebelow=6pt, ...