There was recently a featured question which about designing a t-shirt using a LaTeX-inspired design. On that question, there was one comment in particular which caught my attention.

Perhaps you could put the source for the t-shirt design on the back.

I initially misinterpreted wizz's comment, thinking that it was referring to a LaTeX formula which would display it's own source code.

Programs that output their own source code, also known as quines, are not uncommon. You can find quite a few examples of these over on Code Golf. However, across all the quine challenges, I've never seen a LaTeX formula output it's own source code before.

Are there any examples of a LaTeX formula which draws its own source code?