[OS X TeX] Find in texshop

Maarten Sneep maarten.sneep at xs4all.nl
Sun Dec 18 09:53:12 EST 2005


On 18 Dec 2005, at 15:45, Christopher Allen wrote:

>> When I search for `figure' in texshop, it finds among other things  
>> \figurename, \includefigure etc. How can I search for the _word_  
>> "figure"?
>
> If you want the word itself, without being part of a command, you  
> could use " figure" (notice the space) instead of "figure" for the  
> search. That should do what you've asked, though it may miss  
> something if, for example, there are quotation marks preceding the  
> word.

Common usage for a word like figure is "see figure~\ref{fig:blah}",  
so just adding the spaces probably won't be enough. You can try to  
use regular expressions:

\sfigure[\s~]

(search for whitespace (space, tab, return), figure (not case- 
sensitive, if you want) followed by whitespace or a tilde).

Maarten

------------------------- Info --------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
          & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/




More information about the MacOSX-TeX mailing list