CTAN Comprehensive TeX Archive Network

Directory macros/latex/contrib/realhats


realhats package

realhats is a package for that makes \hat put real hats on symbols. A reasonably up-to-date version of realhats is available from the CTAN archive.

Regretfully brought into the world by Matthew Scroggs and Adam Townsend.

Thanks to

  • Smitha Maretvadakethope
  • Pedro Horse


Letters with hats on


Version 7.1 (2023-04-05)

  • Reflected dark blue tile hat

### Version 7.0 (2023-04-04)

  • Added aperiodic tile hat
### Version 6.0 (2022-06-13)
  • Added Scottish hat
  • Added police hat
  • Added birthday hat
  • Added mortarboard
### Version 5.0 (2019-11-19)
  • Added Ash's hat
### Version 4.0 (2019-11-02)
  • Vectorised the hats
  • Added dunce cap
### Version 3.0 (2019-04-14)
  • Added optional parameters for \hat and \usepackage to control which hats are used.
  • Added crown
### Version 2.0 (2019-02-25)
  • Replaced tikz with stackengine
  • Added top hat, fez, cowboy hat
### Version 1.0 (2019-02-05)
  • First working version of package
  • Added five hats
  • Added documentation


This work may be distributed and/or modified under the conditions of the MIT license.

Download the contents of this package in one zip archive (3.8M).

realhats – Put real hats on symbols instead of ^

This package makes \hat put real hats on symbols.

The package depends on amsmath, calc, graphicx, ifthen, lcg, and stackengine.

Home pagehttp://www.realhats.xyz
Bug trackerhttps://github.com/mscroggs/realhats/issues
Version7.1 2023-04-05
LicensesMIT License
Copyright2019 Matthew Scroggs, Adam Townsend
MaintainerMatthew Scroggs
Adam Townsend
Contained inTeX Live as realhats
MiKTeX as realhats
TopicsGraphics include
Guest Book Sitemap Contact Contact Author