Is there a way I can "find and replace" text inside equations?
e.g.: I need to replace all $\hat v$ by $v$.
Since MathJax doesn't work here: Replace a "v with a ^ on top" by a "v".
Is there a way I can "find and replace" text inside equations?
e.g.: I need to replace all $\hat v$ by $v$.
Since MathJax doesn't work here: Replace a "v with a ^ on top" by a "v".
There is, but with limitations, and it's clumsy.
v^ for $\hat v$ in linear mode).Type/paste in this line and hit Enter:
Selection.Find.Text=Selection.Text
This copies the exact text you have selected in the equation into the "Find what" field of the Find dialog. A normal copy/paste won't work because you will get the normal text equivalents of the equation characters. Selecting text outside of an equation also won't work, for the same reason.
v^. As long as you don't change that text, you can hit Find Next to go to the next equation that (1) contains exactly that text and (2) is in Linear mode. It doesn't work for me if the equations are built up ("Professional") mode.A reason Find doesn't work in equations like it does in body text is that the symbols in new-style equations are not the same as the corresponding symbols outside of equations. See Unicode Tech Note (UTN) #28 for the exact symbols and Unicode codepoints used for operators, and Charbase's list for the codepoints used for script characters.
I found out that, inside the equation, you can change some pieces of it to "Regular text" (I don't know if this is the translation used by Microsoft, I'm a Spanish user and for us it's "Texto normal"). This way you can use find and replace directly.