# [OS X TeX] Smart search

Vamos, Peter P.Vamos at exeter.ac.uk
Fri Dec 18 19:14:51 EST 2015

George,

> On 18 Dec 2015, at 22:05, George Gratzer <gratzer at me.com> wrote:
>
> My lattice book is almost ready. For maps I use functional notation:
>
> \alpha(x)
>
> etc. I’m thinking of changing it to a simple prefix:
>
> \alpha x
>
> This is easy to do, except that there are a few thousand instances of
>
> \alpha'(x)
>
> \alpha(x_2)
>
> and so on.
>
> How could I get the job done the best way?

I would use grep. It is getting late here (UK) and my grep is rusty but I am sure there are plenty of people on this list who could cook up the code for you.

Peter