Skip to main content

New answers tagged

1 vote

Avoid orphaned mdframed box after section heading at end of page

As Ulrike mentions in the comments, tcolorbox is much better at preventing the behavior in your post. Here is an implementation of your boxed theorem using keytheorems' tcolorbox-no-titlebar key. Note ...
mbert's user avatar
  • 8,809
2 votes

Duplicate hyperref links after update to latest version

It seems to be a known bug of thmtools. A workaround was provided here: https://github.com/latex3/hyperref/issues/359 It amounts to adding the line \renewcommand\theHThm{\thesection .\arabic {Thm}} ...
Brauer Suzuki's user avatar
1 vote

decrease height of separator in custom theorem style

You seem to have answered your question in the comments, so here I'll recommend considering tcolorbox over mdframed. It has far fewer bugs and is actively maintained. Here is a possible implementation ...
mbert's user avatar
  • 8,809
0 votes

List of definitions: how to remove the prefix "Definition"?

With keytheorems, you can do this with a combination of note-code and format-code. \documentclass{article} \usepackage{keytheorems} \newkeytheorem{defin}[name=Definition] \ExplSyntaxOn \newcommand{\...
mbert's user avatar
  • 8,809
0 votes

Mdframed infinite loop within declare theorem style

Here is something cobbled together from the thmbox compatibility code in keytheorems. It is not well-written; many lengths that depend on each other are hard-coded instead of given as variables with ...
mbert's user avatar
  • 8,809
0 votes

How to port this ntheorem solution to amsthm + thmtools?

You can use tcolorbox and the tikz fadings library. Here is a version implemented with keytheorems (which, disclaimer, I wrote) but it could just as easily be done with tcolorbox's theorems library. \...
mbert's user avatar
  • 8,809
1 vote

Drop-cap (lettrine) with thmtools

Here is an option using using keytheorems and wrapstuff (English doc here), adapted from my answer to this question. You can tune the parameters in \fontsize, rightsep, and \hspace to your liking. I ...
mbert's user avatar
  • 8,809
0 votes

Changing content of \listoftheorems and hyperlinking to text

Here's a version using keytheorems' list keys format-code and note-code. If the theorem does not have a note, it prints the usual thing. \documentclass{report} \usepackage{libertine} \usepackage{...
mbert's user avatar
  • 8,809

Top 50 recent answers are included