• About
    • Cookie Policy
  • Code Snippets
    • Beamer (presentation)
    • Figures
    • Lists
    • Standard classes
    • Tables
  • Consulting
  • LaTeX Installation
  • Posting Questions
  • TeX/LaTeX Resources

texblog

because LaTeX matters

fancy box

Fancy boxes for theorem, lemma, and proof with mdframed

30. September 2015 by tom 56 Comments

The mdframed package implements a box environment that automatically breaks boxes across multiple pages. Moreover, it allows flexible box designs. An example from the documentation that I particularly like is titled: “Theorem with separate header and the help of TikZ (complex)”. In this article, I use the example to create environments for theorems, lemmas, and … [Read more…]

Share this:

  • Click to share on X (Opens in new window) X
  • Click to share on Facebook (Opens in new window) Facebook
  • Click to share on Reddit (Opens in new window) Reddit
  • Click to share on LinkedIn (Opens in new window) LinkedIn
  • Click to email a link to a friend (Opens in new window) Email
Posted in: Introduction, LaTeX, math, Package, Tips & tricks Tagged: box, color, design, fancy box, frame, LaTeX, lemma, mdframed, page break, proof, theorem




Consulting

Need help with your thesis or book project? Let’s discuss.

Join 6,570 other subscribers
doi2bib




Top Posts & Pages

  • Multi-column and multi-row cells in LaTeX tables
  • Big O and related notations in LaTeX
  • Control the width of table columns (tabular) in LaTeX
  • LaTeX documentclass options illustrated
  • Changing the font size in LaTeX

Tags

addcontentsline array article bibliography Bibtex & biblatex book caption chapter citation cite code color definecolor description documentclass draft enumerate equation fancyhdr figure graphicx hyperref includegraphics item itemize label landscape LaTeX letter listoffigures listoftables math minipage reference renewcommand report section subfigure table tableofcontent tabular text TikZ usepackage xcolor

Copyright © 2025 texblog.

Omega Child WordPress Theme by ThemeHall