How to use psfrag and psfragx 1. psfrag can be used with any eps file created by, say, xfig, gnuplot, maple, or matlab provided you have placed "markers" in the file which you will later replace with latex symbols using psfrag. For example, if you have put A,B and C in your eps file, you may use the commands \psfrag{A}{$\alpha$} \psfrag{B}{$\beta$} \psfrag{C}{$\gamma$} \includegraphics{myfile.eps} to replace the with their greek equivalents. Of course we assume you are using the graphics or graphicx package as well as the psfrag package. 2. psfragx goes one step beyond psfrag. Suppose that you did not have the foresight to put those markers in or someone gave you an eps file without labels, but you want to insert some symbols in it. You can use psfragx to arbitrarily place symbols or math phrases in your file. The format of a psfragx file is this: \begin{filecontents}{example.tex} \documentclass{article} \usepackage[sub,ovp]{psfragx} \usepackage{overpic,color} \pagestyle{empty} \begin{document} \begin{overpic}[height=.25\textheight,width=.75\textwidth]{example.eps} %% Test Coordinates \put(0,0){\large\bf (0,0)} \put(0,100){\large\bf (0,100)} \put(100,0){\large\bf (100,0)} \put(100,100){\large\bf (100,100)} %% Our additions \put(0,-3){$-\pi$} \put(25,-3){$-\pi/2$} \put(50,-3){$0$} \put(75,-3){$\pi/2$} \put(100,-3){$\pi$} \put(0,2){\vector(1,0){100}} % Y-axis \put(50,1){\vector(0,1){55}} % X-axis \end{overpic} \end{document} \end{filecontents} \begin{filecontents*}{example.eps} [insert your ps file here] \end{filecontents*} \input{example.tex} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% Generic psfragx file to check the %% coordinates of the bounding box %% to use it, put an .eps file where %% you see %% [insert your ps file here] %% Running latex on this file will %% generate example.tex and example.eps %% so rm these before using. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%