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
Questions tagged [thmtools]
285 questions
4
votes
2 answers
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 bold and another space
the exercise body
The trouble…
Matthew Leingang
- 44,937
- 14
- 131
- 195
3
votes
2 answers
thmtools: Parentheses behaving weirdly in note
I used thmtools package to define theorem style because I wanted just the note to have a different colour:
\documentclass{article}
\usepackage{xcolor}
\usepackage{amsthm}
\usepackage{thmtools}
\declaretheoremstyle[
spaceabove =…
Muddana
- 132
3
votes
1 answer
Styling amsthm theorem using thmtools
I'm trying to stylize my definitions/examples etc. a bit to have a more simple overview once finished. Im specifically trying to achieve this: But don't really know how to achieve it. I can only think of a thin vertically stretched box aligned to…
Blightbuster
- 133
2
votes
1 answer
thmtools note spacing fix
I've run into some spacing problems when attempting to create my own theorem styles using thmtools. What I want can be condensed into the following points:
Theorem name should be in the margin and spaced relative to the text body by a \marginparsep…
IllAtTheseNumbers
- 23
- 3
2
votes
2 answers
Using "shaded" in thmtools and add space below and above
In the following example
\documentclass{scrartcl}
\usepackage{blindtext}
%
\usepackage{amsthm}
\usepackage{thmtools}
%
\declaretheoremstyle[%
spaceabove=60pt, spacebelow=60pt, % just for testing
…
Ulrich
- 917
2
votes
1 answer
Restating a Theorem Without the Optional Argument
I am currently stating theorems in the body of my document and then proving them in the appendix (using thmtools). I will currently write something like
\begin{restatable}[Proof in \Cref{whatever}]{lemma}{whatever}
Lemma…
brett1479
- 21
1
vote
0 answers
how to make box with theorem style
how to make theorem box using by declaretheoremstyle same below.
1
vote
1 answer
Customize 'continues' or \thmcontinues from the thmtools package
The package thmtools offers the parameter 'continues' for theorems as shown in the example.
\documentclass{article}
\usepackage{amsthm}
\usepackage{thmtools}
\usepackage{hyperref}
\declaretheoremstyle[
headfont=\bfseries\itshape,
…
1
vote
1 answer
How to prevent Latex to go to line inside a theorem environement
I made a new theorem environement for a document but when the theorem is at the end of a page Latex cut the title and the core of the theorem in two pages. How can I prevent that (I can't put \ \ * instead of \newline as an argument for puncthead,…
WrabbitW
- 251
1
vote
1 answer
Numbering a claim within a theorem but not in order
I would like to number a claim within the proof of a theorem, but the proof does not appear right after the statement of the theorem. That is, I would like to generate:
Theorem 1. XXXX
Theorem 2. YYYY
Proof of Theorem 1:
....
Claim 1.1 xxxx
....
I…
Noam
- 105
1
vote
1 answer
Restating a theorem after the introduction without the optional argument
How do I state a theorem in the first section of my paper with the optional argument, and then restate the theorem in subsequent sections without the optional argument? (The optional argument will contain the number of the section where the proof of…
David Wood
- 121
1
vote
1 answer
Conflict on numbering equation and thm?
I'm trying to number equations following theorem-like environments. So I write
\declaretheorem[name=Theorem,sibling=equation]{thm}
But then there are errors:
Command \@thm already defined.
No counter 'thm' defined.
\thm undefined.
However, even…
Gau-Syu
- 473
1
vote
1 answer
\listoftheorems Not actually displaying
I am working on my notes for my classes, and decided that it would be useful to have a list of theorems and definitions for my algebra section. The theorem environments themselves are working fine, but when I use the \listoftheorems command from the…
Brandon Myers
- 109
1
vote
1 answer
Have upper and lower bars in theorems identical to lstlisting
I would like to have a style for theorems identical to lstlisting with frame=lines but I could not find a option for
declaretheorem to do so. Going away from thmtools is not easy as I have already plenty of other theorems (in different…
markus23
- 345
1
vote
2 answers
thmtools -> cite paper in head of theorem
I'ld like to do get an alternative of the following code, working with thmtools:
\begin{theorem}[Theorem X.X of \cite{foo}] bar \end{theorem}
When I do the following:
\begin{theorem}[name={Theorem X.X of \cite{foo}}] bar \end{theorem}
if theorem…
BartBog
- 151