# Where can I get a list of macros beginning with \var

I use macros like \varphi or \vartheta quite often, and I've recently discovered, there is also a \varnothing which is a bit like the \emptyset.

My question is: How or where can I get a list of symbols beginning with \var*

And in general, is there a way, I can get XeLaTeX print out commands that are defined?

-
Why not grep the sources? The problem then (more or less) reduces to knowing which are primitives and which are defined - but this is easily solvable with The TeXbook. (Of course, some formats might redefine things - both primitives and macros, e.g. \input - but then, source2e.pdf to the rescue!) –  mbork May 10 '14 at 16:50
It's not possible to dump the commands that are defined, at least from within TeX; the only way is do a memory dump and look at it (I wouldn't try myself). –  egreg May 10 '14 at 17:16

It depends on used classes and packages. If you are interested on possibilities, The Comprehensive LaTeX Symbol List http://www.ctan.org/tex-archive/info/symbols/comprehensive/ should be a good starter. In the index you have about one hundred names starting with \var.
Searching for var on all files used by TeXstudio for autocompletion I found this list (note that not all of them begins with var):