I'm trying to put together a library of common exam and homework problems that I use throughout the year. I've gathered quite a collect over the years and was thinking it would be nice to have something like:
I thought I would look at how
\usetikzlibrary works. For the most part, I believe I understand the code. What I don't understand, though, is why the catcodes for
$, are changed. Is this really something special to TikZ or is it something I should aware of in building a robust interface.