| 1 |
\documentclass{article} |
| 2 |
\usepackage{psfrag} |
| 3 |
\usepackage[ |
| 4 |
latex={-interaction=nonstopmode}, |
| 5 |
crop=off,runs=2 |
| 6 |
]{auto-pst-pdf} |
| 7 |
\begin{document} |
| 8 |
|
| 9 |
\section{External file} |
| 10 |
psfrag example with replacements defined in example-psfrag.tex:\par |
| 11 |
\fbox{\psfragfig{example}} |
| 12 |
|
| 13 |
\section{Override} |
| 14 |
the same example with a psfrag override (bottom left):\par |
| 15 |
\fbox{\psfragfig{example}[\psfrag{[Mp]}{$N_Q*$}]} |
| 16 |
|
| 17 |
\section{Cross reference}\label{sec:cross} |
| 18 |
the same example with a cross-reference in the label:\par |
| 19 |
\fbox{\psfragfig{example}[\psfrag{[Mp]}{\S\ref{sec:cross}}]} |
| 20 |
|
| 21 |
\end{document} |