"You know how the \hat command in LaTeΧ puts a caret above a letter? ... Well I was thinking it would be funny if someone made a package that made the \hat command put a picture of an actual hat on the symbol instead?"
And then Matthew Scroggs and Adam Townsend went ahead and did it.
Package at https://ctan.org/pkg/realhats, behind-the-scenes commentary at https://aperiodical.com/2019/03/realhats-writing-a-latex-package/
A Mastodon instance for maths people. The kind of people who make \(\pi z^2 \times a\) jokes.
\) for inline LaTeX, and
\] for display mode.