Skip to main content

Questions tagged [thmtools]

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

Filter by
Sorted by
Tagged with
22 votes
4 answers
2k 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} \declaretheorem[name=...
Karol Szumiło's user avatar
19 votes
1 answer
11k views

using a restatable before it is stated

This question is related to the question at Recalling a theorem, which uses the thmtools and thm-restate packages and the restatable environment to define a theorem that can be re-stated later on. Is ...
conorsomahony's user avatar
13 votes
3 answers
4k 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 ...
Matthew Leingang's user avatar
12 votes
1 answer
1k 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} \newtheorem{thm}{...
Nikita's user avatar
  • 153
11 votes
2 answers
1k 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} \usepackage{...
Stefe Klauou's user avatar
11 votes
1 answer
1k 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 \end{...
Mariano Suárez-Álvarez's user avatar
10 votes
1 answer
488 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} \newtheorem{defin}...
BAD_SEED's user avatar
  • 1,085
10 votes
1 answer
6k 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 ...
conorsomahony's user avatar
9 votes
1 answer
3k 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 ...
TSGM's user avatar
  • 2,362
9 votes
2 answers
4k 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 ...
kjo's user avatar
  • 861
9 votes
1 answer
6k 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} \...
IARI's user avatar
  • 1,455
9 votes
1 answer
943 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{}% {\...
MickG's user avatar
  • 5,436
9 votes
1 answer
2k views

Restate theorem in separate file

I state a theorem in the main body of a document and prove it in the appendix. I use thmtools's restatable environment to restate the theorem there. However, I now need to have my appendix in a ...
Rui's user avatar
  • 115
8 votes
2 answers
444 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} \begin{...
user4811's user avatar
  • 4,185
8 votes
2 answers
692 views

Latest update of Oberdiek package: \declaretheoremstyle not working anymore

Just updated to the 20 December build of the Oberdiek package, on my TeXLive installation. Files that compiled without problems are now throwing the following error: ./Preamble.tex:78: Undefined ...
brunoh's user avatar
  • 723
8 votes
1 answer
975 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: \...
Rod's user avatar
  • 183
8 votes
1 answer
768 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...
user44413's user avatar
  • 601
8 votes
1 answer
3k 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. \...
user19906's user avatar
  • 1,415
7 votes
2 answers
298 views

thmtools - Theorem does not change the title when I change the command that defines it

Here is the example of a code: \documentclass[11pt, a4paper]{article} \usepackage[utf8]{inputenc} \usepackage{amsthm} \usepackage{thmtools} \newcommand\testTitle{Theorem} \declaretheorem[title = \...
Zeus DM's user avatar
  • 95
7 votes
1 answer
682 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 ...
BAD_SEED's user avatar
  • 1,085
7 votes
1 answer
604 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 ...
user4811's user avatar
  • 4,185
7 votes
2 answers
2k 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 ...
user29372's user avatar
  • 115
7 votes
1 answer
314 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> ...
FLW's user avatar
  • 940
6 votes
1 answer
331 views

"Extra \else" error when combining breqn, thm-restate, and cleveref

I have a document that uses breqn, thm-restate (thmtools), and cleveref. I can't get it to compile. Here is a minimal example: \documentclass{article} \usepackage{thm-restate} \usepackage{breqn} \...
real-or-random's user avatar
6 votes
2 answers
2k 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 ...
jmc's user avatar
  • 1,660
6 votes
1 answer
2k views

thmtools: Footnotes in theorem names and notes

I am using the thmtools package as a frontend to amsthm to typeset various types of theorems. Sometimes I feel the need to put a footnote either directly at the theorem name or inside the theorem note....
Christoph's user avatar
  • 678
6 votes
1 answer
623 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 \newtheoremstyle{...
k.stm's user avatar
  • 635
6 votes
1 answer
623 views

Variable headpunct for theorem styles (using thmtools)

I am using the thmtools package to create my theorem environments and I would like to have a headpunct that depends on the start of a theorem: if it starts with an enumeration (that is, if it starts ...
AYK's user avatar
  • 285
6 votes
1 answer
4k 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 ...
user52567's user avatar
  • 163
6 votes
2 answers
923 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 ...
KBS's user avatar
  • 161
6 votes
2 answers
934 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 ...
conorsomahony's user avatar
6 votes
1 answer
2k 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). ...
Snicksie's user avatar
  • 440
6 votes
1 answer
642 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 ...
kjo's user avatar
  • 861
6 votes
1 answer
1k 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, headfont=\...
Steve D's user avatar
  • 712
5 votes
2 answers
326 views

Total count of Theorem like environments - In all chapters

I am using the following structure to define my custom theorem-like Prob environment using the thmtools package. I want to include the total number of problems in the introduction. For this I am ...
Rama Krishna Majety's user avatar
5 votes
1 answer
1k 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 ...
Stefe Klauou's user avatar
5 votes
2 answers
219 views

Avoid a theorem environment's head to be the last line in a page

To put it simply, I want to avoid the following case: That is, Text text text Theorem 1 <page break> Body of Theorem 1 text text text My style for theorems has a heading, a line break (...
tush's user avatar
  • 1,145
5 votes
1 answer
191 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} \begin{...
Dominique's user avatar
  • 1,369
5 votes
2 answers
111 views

New environment with a glyph before its head

I want to create the following exercise environment, for exercises: That is, insert a black triangle right symbol, ▸, before the header of the exercise. To accomplish this, I would prefer to use the ...
tush's user avatar
  • 1,145
5 votes
2 answers
984 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} \usepackage{amsthm}...
rubik's user avatar
  • 781
5 votes
1 answer
3k 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 ...
ASdeL's user avatar
  • 4,945
5 votes
1 answer
6k views

Strange errors and error changes

Typesetting: \documentclass[a4paper]{report} \usepackage{thmtools,amsthm,hyperref} \newtheorem{defi}{Definizione} \begin{document} \renewcommand\listtheoremname{Definizioni, Teoremi, Proposizioni, ...
MickG's user avatar
  • 5,436
5 votes
1 answer
739 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 ...
derabbink's user avatar
  • 1,650
5 votes
1 answer
759 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 ...
Stirling's user avatar
  • 1,439
5 votes
1 answer
172 views

List restated theorems only once

I like to take my notes in LaTeX, and to help my speed, I use restatable theorems so that I can quickly recall the text and re-insert it into my notes when the professor mentions it. However, the ...
Brandon Myers's user avatar
5 votes
1 answer
749 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 ...
user avatar
5 votes
1 answer
960 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? ...
varun's user avatar
  • 55
5 votes
1 answer
128 views

What is the most elegant way to reference a named proposition using cross-references with cleveref and amsthm?

I have a document in which I have a named proposition, which I wish to reference by its acronym. Since it is named, it ought not be numbered. Still, I'd like to reference it using a cross-reference, ...
cfr's user avatar
  • 204k
5 votes
1 answer
325 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 ...
Douglas's user avatar
  • 53
4 votes
4 answers
386 views

Restate theorem without final sentence

I am short on space for my paper, so I want to put some theorem proof in appendix, but I also want to put the sentence saying "Proof in appendix" on the same line as the theorem statement. \...
JacopoStanchi's user avatar

1
2 3 4 5 6