thmtools
thmtools copied to clipboard
New home for LaTeX package bundle thmtools
consider the following example ``` \documentclass{article} %\DeclareHookRule{begindocument}{thm-listof}{after}{bidi} \usepackage{thmtools} \declaretheorem{theorem} \usepackage{hyperref} \usepackage[RTLdocument]{bidi} \ShowHook{begindocument} \begin{document} \begin{theorem}[name=Zorn's Lemma] Test \end{theorem} \listoftheorems \makeatletter \ShowCommand\thmt@contentsline \ShowCommand\contentsline \end{document} ``` Notice how the words are written from...
see the discussion in #65
Hi, Thanks for maintaining this nice package. I was wondering if there's a way to use `thm-restate` so that the restatement is in a separate file? In particular, is there...
from https://github.com/muzimuzhi/thmtools/issues/34#issuecomment-1435914915 (Off the top of my head hence might be inaccurate and even totally wrong.) - Drop patches for very old version of `kvsetkeys`. - Disable remaining patches to...
In order to be able to put ```\todo``` (from ```todonotes```) at the same level as the head of a theorem, it seems to me that ```preheadhook``` cannot be used. So...
The `restate` key fails if used with beamer. The `restatable` environment works fine. Something to do with the way beamer grabs the contents of a frame, I assume. ```tex \documentclass{beamer}...
The beamer syntax `\begin{theorem}[heading]` is not supported by thmtools while the alternative syntax `\begin{theorem}[heading]` is. ```tex \documentclass{beamer} \setbeamertemplate{theorems}[numbered] \usepackage{thmtools} \declaretheorem{MyTheorem} \begin{document} \begin{frame} \begin{MyTheorem}[name=bla] first text \end{MyTheorem} \begin{MyTheorem}[name=bla] second text \end{MyTheorem}...
When a theorem is called with the `restate` key, the prefoot and postfoot hooks are called twice. It only occurs with the key version, not the `restatable` environment. ```tex \documentclass{article}...
Some filtering requirements cannot be accomplished by single call of `\listoftheorems`. For example, list of axioms followed by list of named theorems. But multiple `\listoftheorems` will produce multiple titles.
This is just a shorthand of using `\tcolorboxenvironment`. Since ```tex \newcommand{\tcolorboxenvironment}[2]{% \BeforeBeginEnvironment{#1}{\begin{tcolorbox}[savedelimiter={#1},#2]}% \AfterEndEnvironment{#1}{\end{tcolorbox}}% } ``` the code can be as simple as ```tex \define@key{thmdef}{tcolorbox}[{}]{% \thmt@trytwice{}{% \RequirePackage{tcolorbox}% \RequirePackage{thm-patch}% \edef\thmt@tmp{% % to...