I want to practice psfrag
but it does not work! I don't know what to do.
Here is my LaTeX
document,
\documentclass[12pt]{amsart}
\usepackage[foot]{amsaddr}
\usepackage{mathrsfs}
\usepackage{graphics}
\usepackage{latexsym}
\usepackage{cite}
\usepackage{graphicx,psfrag}
\usepackage{amsmath,amssymb,amsthm,mathtools}
\begin{document}
\begin{figure}
\psfrag{a}{$x_{n-2}$}\psfrag{b}{$x_{n-1}$}
\includegraphics[width=5cm]{edge.eps}
\end{figure}
\end{document}
and here is my edge.eps file
ps. I installed TeX Live last week on tug.org and I use WinEdt 10.1.
ps 2. I'm not familiar to TeX, so I didn't touch any setting in WinEdt. I would appreciate if you would explain what to do.(sorry for bad English)
latex
? It should work, if you usepdflatex
, there's more to do.latex
. Output image -- in fact, I think this could be easier withtikz
and directly drawing the graphicspdflatex
because my friend taught me pdflatex. However, in my image, it remains just as 'a' and 'b'pdflatex