How to have spotlight index .tex files?
TexShop should ship with a Spotlight importer that does the job.

If not, you can try this homemade solution:

https://email.esm.psu.edu/pipermail/macosx-tex/2013-May/051009.html