Online repository/encyclopedia of latex snippet for mathematical equations

So that I don't have to retype them every single damn time. e.g. I'll only need to type "fourier transform" to get the template.

Sure, I could look up the latex code from the page source in wikipedia, but it would be nicer if I could search the code directly.

-
This is not what you are looking for, but maybe it's notable that on the arxiv you can also access the latex source code that was submitted. –  Rasmus Apr 1 '11 at 6:47

1 Answer

You can easily use $\backslash$newcommand to create your own package with commands you often use. Another nice website to find symbols, whose name you always forget, is http://detexify.kirelabs.org/classify.html

-
sorry for not being specific. What I meant is formula template, like $e^{i\pi} + 1 = 0$. sorry for being lazy, but your link is pretty cool too. –  pcr Apr 1 '11 at 20:39
If I couldn't find any repository like I mentioned before, then I'll go create one. maybe it'll be more useful in science/engineering, since they have more named' equations. –  pcr Apr 1 '11 at 20:43
The first idea I mentioned was defining something like \newcommand{euler}{$e^{i\pi}+1=0$}. Then you can use the command \euler to print this formula. You can create your own collection of handy commands this way. –  Thomas Rot Apr 2 '11 at 20:59