2

I'm trying to remake this fancy theorem/definition/lemma environnment, but I've got no any where to begin. Is it a known package or rather a homemade redesign?

Fancy definition environment

CarLaTeX
  • 62,716
Bast
  • 59

1 Answers1

1

Check out the thmbox package, the manual contains several examples, but for completeness I have included a MWE.

\documentclass{article}

\usepackage{thmbox}

\newtheorem[M]{proposition}{Proposition}[section]

\begin{document}
\begin{proposition}
  Let $M$ be a martingale, then $(\phi(M_t))_{t \geq 0}$ is a
  sub-martingale for all convex functions $\phi$ such that $\phi(M_t)$
  is integrable for all $t$.
\end{proposition}

\begin{proof}
  This follows from Jensen's inequality for conditional expectations,
  see any standard text book on this subject.
\end{proof}

\end{document}

enter image description here

Do note that the proof is environment is also redefined. There are two additional styles L and S. The package is rather old and might have problems concerning page breaks. So as the comments suggest, implementing the style in another package might be a better solution—this answer implements the M style in the powerful tcolorbox package.

M0erck
  • 89
  • 1
  • 7